[Bug pch/65550] [5 Regression] ICE (segfault) with pch

2015-04-04 Thread maltsevm at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65550 --- Comment #5 from Mikhail Maltsev --- Or even simpler: #!/bin/bash mkdir -p ./src mkdir -p ./build/src/preproc.h.gch touch ./src/preproc.h cat << EOF >./src/include.h #include "src/preproc.h" /* line 1 */ /* line 2 */ EOF cat << EOF >./src/

[Bug fortran/65089] FAIL: gfortran.dg/io_real_boz(2|_[45]).f90 when tested with -fsanitize=address

2015-04-04 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65089 Dominique d'Humieres changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

[Bug fortran/59016] f951: internal compiler error: Segmentation fault

2015-04-04 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59016 --- Comment #11 from Dominique d'Humieres --- > In a slightly altered patched, I've added a precondition which examines > first the locus of the current symbol and finally the error reported seems > to comply with the testsuites. Indeed, however

[Bug libstdc++/65500] [5 Regression] FAIL: 17_intro/headers/c++2014/all_attributes.cc (test for excess errors)

2015-04-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65500 --- Comment #6 from Jonathan Wakely --- After some discussion with Torvald I'm wondering whether it would be better to never use the PTHREAD_RWLOCK_INITIALIZER macro anyway, so we can initialize the rwlock with (non-standard) attributes such as P

[Bug c++/59499] Probably optimization error

2015-04-04 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59499 Paolo Carlini changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug c++/59716] variadic template multiple parameter pack expansion fails

2015-04-04 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59716 Paolo Carlini changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/59795] Invalid use of "this" in a local class not diagnosed

2015-04-04 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59795 Paolo Carlini changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug fortran/65469] [4.8/4.9/5 Regression] ICE on bad code

2015-04-04 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65469 Dominique d'Humieres changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug fortran/59016] f951: internal compiler error: Segmentation fault

2015-04-04 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59016 Dominique d'Humieres changed: What|Removed |Added CC||daniel.price at monash dot edu --

[Bug fortran/59016] f951: internal compiler error: Segmentation fault

2015-04-04 Thread drikosev at otenet dot gr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59016 --- Comment #13 from drikosev at otenet dot gr --- Hi Dominiq, The new patch (gcc-4.8.4) worked as the older one but since the locus is corrupted I'm not surprised that a test case you tried failed. Could you post it here please? The corrupted l

[Bug c++/32676] [cxx0x branch] incorrect member address when using delegate constructors and virtual inheritance

2015-04-04 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32676 Paolo Carlini changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|gcc-bugs at

[Bug c++/38068] Friend Functions of the Base accessing Derived Class Members

2015-04-04 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38068 Paolo Carlini changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|anubhav.saxe

[Bug fortran/59024] ICE: after printing certain error messages, the compiler seg faults.

2015-04-04 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59024 --- Comment #2 from Dominique d'Humieres --- AFAICT the errors with the trunk (5.0) are now pr59024.f90:6.6: TYPE tc 1 Error: Syntax error in PUBLIC statement at (1) pr59024.f90:7.5: END TYPE tc 1 Error: Expecting END MODULE sta

[Bug c++/39934] Union member incorrectly disallowed

2015-04-04 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39934 Paolo Carlini changed: What|Removed |Added CC|gcc-bugs at gcc dot gnu.org|jason at gcc dot gnu.org,

[Bug fortran/65469] [4.8/4.9/5 Regression] ICE on bad code

2015-04-04 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65469 Dominique d'Humieres changed: What|Removed |Added Status|RESOLVED|NEW Resolution|DUPLICATE

[Bug fortran/65469] [4.8/4.9/5 Regression] ICE on bad code

2015-04-04 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65469 --- Comment #5 from Dominique d'Humieres --- Comment 4 was based on [Book15] f90/bug% gfc pr65469.f90 pr65469.f90:6:14: type(my_type) :: crap 1 Error: Derived type 'my_type' at (1) is being used before it is defined [Book15] f9

[Bug fortran/59016] f951: internal compiler error: Segmentation fault

2015-04-04 Thread drikosev at otenet dot gr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59016 --- Comment #14 from drikosev at otenet dot gr --- Indeed, the new patch in comment 10 does not prevent the ICEs with the the first example bug.f90 (in Description before comment 1).

[Bug target/65660] [5 Regression] 252.eon regression on bdver2 with -Ofast

2015-04-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65660 --- Comment #9 from Richard Biener --- Author: rguenth Date: Sat Apr 4 10:47:08 2015 New Revision: 221866 URL: https://gcc.gnu.org/viewcvs?rev=221866&root=gcc&view=rev Log: 2015-04-04 Richard Biener PR tree-optimization/64909 PR tre

[Bug tree-optimization/64909] [4.8 Regression] Missed vectorization with bdver1

2015-04-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64909 --- Comment #14 from Richard Biener --- Author: rguenth Date: Sat Apr 4 10:47:08 2015 New Revision: 221866 URL: https://gcc.gnu.org/viewcvs?rev=221866&root=gcc&view=rev Log: 2015-04-04 Richard Biener PR tree-optimization/64909 PR tr

[Bug fortran/59024] ICE: after printing certain error messages, the compiler seg faults.

2015-04-04 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59024 --- Comment #3 from Dominique d'Humieres --- > The change of behavior occurred between revisions r214073 (2014-08-17, ICE) > and r214113 (2014-08-18, error). A candidate could be r214076, > but I don't see why. This seems to depend on the mood o

[Bug rtl-optimization/58033] counterproductive bb-reorder

2015-04-04 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58033 --- Comment #6 from Oleg Endo --- Another example on SH: const char* test (const char* s0, int c, int* rout) { int r = 0; for (int i = 0; i < c; ++i) r += s0[i]; *rout = r; return s0; } compiled with -O2: _test: cmp/pl r

[Bug target/65660] [5 Regression] 252.eon regression on bdver2 with -Ofast

2015-04-04 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65660 --- Comment #10 from rguenther at suse dot de --- On April 3, 2015 8:35:00 PM GMT+02:00, rguenther at suse dot de wrote: >https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65660 > >--- Comment #8 from rguenther at suse dot de >--- >On April 3, 2015

[Bug rtl-optimization/55190] [SH] ivopts causes loop setup bloat

2015-04-04 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55190 --- Comment #6 from Oleg Endo --- Another example: const char* test (const char* s0, int c, int* rout) { int r = 0; for (int i = 0; i < c; ++i) //r += s0[i]; r += *s0++; *rout = r; return s0; } On SH compiles to: _test:

[Bug middle-end/65665] [5.0 Regression]: g++.dg/torture/pr64378.C -O2 -flto -fno-use-linker-plugin -flto-partition=none

2015-04-04 Thread hp at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65665 --- Comment #8 from Hans-Peter Nilsson --- (In reply to Hans-Peter Nilsson from comment #5) > (In reply to Martin Liška from comment #3) > > Hello. > > > > I've just sent patch to mailing list: > > https://gcc.gnu.org/ml/gcc-patches/2015-04/msg0

[Bug debug/57519] DW_TAG_imported_declaration put in wrong class (base class instead of derived class)

2015-04-04 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57519 --- Comment #9 from Dominique d'Humieres --- The test succeeds on darwin with the following patch --- ../_clean/gcc/testsuite/g++.dg/debug/dwarf2/imported-decl-2.C2014-06-04 00:42:23.0 +0200 +++ gcc/testsuite/g++.dg/debug/dwarf2/impo

[Bug libstdc++/43622] Incomplete C++ library support for __float128

2015-04-04 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43622 Marc Glisse changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug pch/65550] [5 Regression] ICE (segfault) with pch

2015-04-04 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65550 Markus Trippelsdorf changed: What|Removed |Added Status|WAITING |NEW

[Bug target/65648] [5 Regression] Bad code due to IRA fails to recognize the clobber in parallel

2015-04-04 Thread vmakarov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65648 Vladimir Makarov changed: What|Removed |Added CC||vmakarov at gcc dot gnu.org --- Comme

[Bug target/65647] [5 Regression] GCC won't stop when compile for armv6-m

2015-04-04 Thread vmakarov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65647 --- Comment #3 from Vladimir Makarov --- Author: vmakarov Date: Sat Apr 4 14:35:59 2015 New Revision: 221867 URL: https://gcc.gnu.org/viewcvs?rev=221867&root=gcc&view=rev Log: 2015-04-04 Vladimir Makarov PR target/65647 * lra-int.h

[Bug target/56997] Incorrect write to packed field when strict-volatile-bitfields enabled on aarch32

2015-04-04 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56997 --- Comment #18 from Bernd Edlinger --- (In reply to Bernd Edlinger from comment #17) > (In reply to Andrew Pinski from comment #16) > > This testcase fails on aarch64 when SLOW_UNALIGNED_ACCESS is true. > > hmm, yes. > > there are targets that

[Bug c++/59964] gcc segfault on compiling nested parameter pack code

2015-04-04 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59964 Paolo Carlini changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Known to work|

[Bug c/65672] New: type attribute "aligned" can decrease alignment

2015-04-04 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65672 Bug ID: 65672 Summary: type attribute "aligned" can decrease alignment Product: gcc Version: 5.0 Status: UNCONFIRMED Keywords: documentation Severity: normal Pr

[Bug target/65535] powerpc64-freebsd build failure

2015-04-04 Thread andreast at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65535 --- Comment #1 from Andreas Tobler --- Here a native build seems to succeed, right now in stage three with sources from today. [tritium:head/objdir/gcc] andreast% grep -i fbsd_major * Makefile:tm_defines= LIBC_GLIBC=1 LIBC_UCLIBC=2 LIBC_BIONIC=3

[Bug target/65535] powerpc64-freebsd build failure

2015-04-04 Thread andreast at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65535 --- Comment #2 from Andreas Tobler --- Btw, cool bug ID ;) 0x

[Bug target/65535] powerpc64-freebsd build failure

2015-04-04 Thread andreast at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65535 --- Comment #3 from Andreas Tobler --- Unfortunately the build fails with: /usr/local/bin/ld: libbackend.a(tree-diagnostic.o): bad reloc symbol index (0x1 >= 0x39) for offset 0x3ee6 in section `.debug_info' libbackend.a: error adding symbols

[Bug target/65581] [5 Regression] testsuite lto issue: multiple definition of `main', undefined reference to `WinMain'

2015-04-04 Thread rai...@emrich-ebersheim.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65581 --- Comment #15 from Rainer Emrich --- Bug report opened for ld. https://sourceware.org/bugzilla/show_bug.cgi?id=18199

[Bug target/65660] [5 Regression] 252.eon regression on bdver2 with -Ofast

2015-04-04 Thread hubicka at ucw dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65660 --- Comment #11 from Jan Hubicka --- Thanks, 32-bit eon runs improved today, though I am not 100% sure it is ude to vectorization or the unit growth change http://gcc.opensuse.org/SPEC/CINT/sb-frescobaldi.suse.de-head-64-32o-32bit/252_eon_recent_

Re: [Bug target/65660] [5 Regression] 252.eon regression on bdver2 with -Ofast

2015-04-04 Thread Jan Hubicka
Thanks, 32-bit eon runs improved today, though I am not 100% sure it is ude to vectorization or the unit growth change http://gcc.opensuse.org/SPEC/CINT/sb-frescobaldi.suse.de-head-64-32o-32bit/252_eon_recent_big.png Overall we had better scores on 32bit eon in the past however http://gcc.opensuse

[Bug c/65673] New: Compound literal with initializer for zero-sized array drops other initializers

2015-04-04 Thread stilor at att dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65673 Bug ID: 65673 Summary: Compound literal with initializer for zero-sized array drops other initializers Product: gcc Version: 4.9.1 Status: UNCONFIRMED Severity: