[Bug preprocessor/80716] Death by Documentation (SEGFAULT)

2017-05-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80716 --- Comment #3 from Jakub Jelinek --- Of course, if you want to have \s at the end of line in comments, you just should use /* ... */ style comments that can span multiple lines.

[Bug preprocessor/80716] Death by Documentation (SEGFAULT)

2017-05-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80716 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug fortran/79440] internal compiler error: in fold_convert_loc, at fold-const.c:2373

2017-05-11 Thread berke.durak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79440 Berke Durak changed: What|Removed |Added CC||berke.durak at gmail dot com --- Comment

[Bug c++/61543] static_cast(static_cast(enum_value)) doesn't get an error

2017-05-11 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61543 Martin Sebor changed: What|Removed |Added Keywords||accepts-invalid

[Bug target/80718] New: GCC generates slow code for offsettable vec_duplicate

2017-05-11 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80718 Bug ID: 80718 Summary: GCC generates slow code for offsettable vec_duplicate Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug fortran/80333] Namelist dtio write of array of class does not traverse the array

2017-05-11 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80333 Jerry DeLisle changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jvdelisle at gcc dot gnu.org

[Bug lto/80717] New: LTO wrappers segfault if run with absolute path

2017-05-11 Thread theivorytower at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80717 Bug ID: 80717 Summary: LTO wrappers segfault if run with absolute path Product: gcc Version: 7.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug target/80697] On PowerPC, the spec 2006 benchmark milc had a 5.6% regression under GCC 7.1 compared to GCC 6.3.

2017-05-11 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80697 --- Comment #8 from Michael Meissner --- I forgot to mention that I ran the MILC benchmark on a little endian power8 system, using -mcpu=power8 in addition to -O3 and -ffast-math.

[Bug middle-end/80707] [8 Regression] r247844 causes error: extra outgoing edge

2017-05-11 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80707 --- Comment #4 from Peter Bergner --- David and HJ, the following patch fixes the ICE Markus reported, so can you try the following patch to see if it fixes your bootstrap issues? Index: tree-cfg.c

[Bug target/80697] On PowerPC, the spec 2006 benchmark milc had a 5.6% regression under GCC 7.1 compared to GCC 6.3.

2017-05-11 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80697 --- Comment #7 from Michael Meissner --- Author: meissner Date: Fri May 12 00:05:24 2017 New Revision: 247941 URL: https://gcc.gnu.org/viewcvs?rev=247941=gcc=rev Log: Attempt to fix pr 80697 Modified:

[Bug target/80697] On PowerPC, the spec 2006 benchmark milc had a 5.6% regression under GCC 7.1 compared to GCC 6.3.

2017-05-11 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80697 --- Comment #6 from Michael Meissner --- Author: meissner Date: Fri May 12 00:00:50 2017 New Revision: 247940 URL: https://gcc.gnu.org/viewcvs?rev=247940=gcc=rev Log: Attempt to fix pr 80697 Modified:

[Bug go/64238] ICE in get_partitioning_class, at symtab.c:1775

2017-05-11 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64238 Ian Lance Taylor changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug go/64238] ICE in get_partitioning_class, at symtab.c:1775

2017-05-11 Thread ian at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64238 --- Comment #11 from ian at gcc dot gnu.org --- Author: ian Date: Thu May 11 23:53:29 2017 New Revision: 247939 URL: https://gcc.gnu.org/viewcvs?rev=247939=gcc=rev Log: PR go/64238 * go-gcc.cc

[Bug go/64238] ICE in get_partitioning_class, at symtab.c:1775

2017-05-11 Thread ian at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64238 --- Comment #10 from ian at gcc dot gnu.org --- Author: ian Date: Thu May 11 23:53:13 2017 New Revision: 247938 URL: https://gcc.gnu.org/viewcvs?rev=247938=gcc=rev Log: PR go/64238 * go-gcc.cc

[Bug go/64238] ICE in get_partitioning_class, at symtab.c:1775

2017-05-11 Thread ian at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64238 --- Comment #9 from ian at gcc dot gnu.org --- Author: ian Date: Thu May 11 23:52:54 2017 New Revision: 247937 URL: https://gcc.gnu.org/viewcvs?rev=247937=gcc=rev Log: PR go/64238 * go-gcc.cc

[Bug c/7654] warn if an enum is being assigned a non enum value

2017-05-11 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=7654 Martin Sebor changed: What|Removed |Added Status|SUSPENDED |NEW CC|

[Bug c++/52763] Warning if compare between enum and non-enum type

2017-05-11 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52763 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment #8

[Bug bootstrap/80714] [8 Regression] profiledbootstrap failed with LTO

2017-05-11 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80714 Peter Bergner changed: What|Removed |Added Status|RESOLVED|CLOSED --- Comment #2 from Peter

[Bug middle-end/80707] [8 Regression] r247844 causes error: extra outgoing edge

2017-05-11 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80707 Peter Bergner changed: What|Removed |Added CC||hjl.tools at gmail dot com --- Comment

[Bug bootstrap/80714] [8 Regression] profiledbootstrap failed with LTO

2017-05-11 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80714 Peter Bergner changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug target/80697] On PowerPC, the spec 2006 benchmark milc had a 5.6% regression under GCC 7.1 compared to GCC 6.3.

2017-05-11 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80697 --- Comment #5 from Michael Meissner --- Created attachment 41344 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41344=edit Assembler output from gcc 7.1.0

[Bug target/80697] On PowerPC, the spec 2006 benchmark milc had a 5.6% regression under GCC 7.1 compared to GCC 6.3.

2017-05-11 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80697 --- Comment #4 from Michael Meissner --- Created attachment 41343 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41343=edit Assembler output from gcc 6.3.0

[Bug target/80697] On PowerPC, the spec 2006 benchmark milc had a 5.6% regression under GCC 7.1 compared to GCC 6.3.

2017-05-11 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80697 --- Comment #3 from Michael Meissner --- Created attachment 41342 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41342=edit Preprocessed C source for the mult_adj_su3_mat_vec function To reproduce, you need to use the -O3 -ffast-math

[Bug c++/80716] Death by Documentation (SEGFAULT)

2017-05-11 Thread breakpoint at runbox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80716 --- Comment #1 from Matt Heck --- Oh, I almost forgot the important part: Substituting commas for those backslashes DOES resolve the problem, but ALL THREE must be replaced. Substituting \\ for \ DOES NOT resolve the problem. Substituting \t

[Bug target/80697] On PowerPC, the spec 2006 benchmark milc had a 5.6% regression under GCC 7.1 compared to GCC 6.3.

2017-05-11 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80697 Michael Meissner changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/80716] New: Death by Documentation (SEGFAULT)

2017-05-11 Thread breakpoint at runbox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80716 Bug ID: 80716 Summary: Death by Documentation (SEGFAULT) Product: gcc Version: 6.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug fortran/80666] character length parameter fails if declaration order incorrect

2017-05-11 Thread anlauf at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80666 Harald Anlauf changed: What|Removed |Added CC||anlauf at gmx dot de --- Comment #3

[Bug target/79634] ICE in expand_builtin_with_bounds, at builtins.c:7490

2017-05-11 Thread aivchenk at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79634 --- Comment #5 from Alexander Ivchenko --- (In reply to Ilya Enkovich from comment #4) > We hit function pointer propagation issues before and chkp_redirect_edge > with corresponding code in redirect_call_stmt_to_callee appeared to handle >

[Bug middle-end/80715] New: NULL pointer dereferenced in find_costs_and_classes, at ira-costs.c

2017-05-11 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80715 Bug ID: 80715 Summary: NULL pointer dereferenced in find_costs_and_classes, at ira-costs.c Product: gcc Version: 7.1.0 Status: UNCONFIRMED Severity: normal

[Bug bootstrap/80714] New: [8 Regression] profiledbootstrap failed with LTO

2017-05-11 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80714 Bug ID: 80714 Summary: [8 Regression] profiledbootstrap failed with LTO Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug fortran/78659] [F03] Spurious "requires DTIO" reported against namelist statement

2017-05-11 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78659 --- Comment #14 from Jerry DeLisle --- Author: jvdelisle Date: Thu May 11 20:40:49 2017 New Revision: 247930 URL: https://gcc.gnu.org/viewcvs?rev=247930=gcc=rev Log: 2017-05-11 Jerry DeLisle PR fortran/78659

[Bug target/80713] recent crash in update_dep_bb

2017-05-11 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80713 David Binderman changed: What|Removed |Added CC||rguenth at gcc dot gnu.org ---

[Bug target/80713] recent crash in update_dep_bb

2017-05-11 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80713 --- Comment #1 from David Binderman --- Reduced code is this: a, b, d, e, f; *c; g() { for (;;) { if (*c) { int h; *c = } else b = 0; if (f) *c = g; else for (; a; a++) for (;;) {

[Bug target/80695] gratuitous use of stxvx to store multiple pointers

2017-05-11 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80695 Bill Schmidt changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/80695] gratuitous use of stxvx to store multiple pointers

2017-05-11 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80695 --- Comment #4 from Bill Schmidt --- Author: wschmidt Date: Thu May 11 20:16:02 2017 New Revision: 247928 URL: https://gcc.gnu.org/viewcvs?rev=247928=gcc=rev Log: [gcc] 2017-05-11 Bill Schmidt PR

[Bug c/80713] New: recent crash in update_dep_bb

2017-05-11 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80713 Bug ID: 80713 Summary: recent crash in update_dep_bb Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug target/79634] ICE in expand_builtin_with_bounds, at builtins.c:7490

2017-05-11 Thread ienkovich at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79634 --- Comment #4 from Ilya Enkovich --- We hit function pointer propagation issues before and chkp_redirect_edge with corresponding code in redirect_call_stmt_to_callee appeared to handle them. Why doesn't it work in this case?

[Bug ipa/79787] ICE in remove_unreachable_nodes, at ipa.c:469

2017-05-11 Thread ienkovich at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79787 Ilya Enkovich changed: What|Removed |Added CC||ienkovich at gcc dot gnu.org ---

[Bug target/80706] [7/8 Regression] peephole2 uses uninitialized stack variables on i686

2017-05-11 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80706 --- Comment #15 from Uroš Bizjak --- (In reply to Jakub Jelinek from comment #13) > Created attachment 41340 [details] > gcc8-pr80706.patch > > I came up with this (in addition to #c7). This removes one of the two > useless stores in the

[Bug target/80706] [7/8 Regression] peephole2 uses uninitialized stack variables on i686

2017-05-11 Thread uros at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80706 --- Comment #14 from uros at gcc dot gnu.org --- Author: uros Date: Thu May 11 18:12:25 2017 New Revision: 247921 URL: https://gcc.gnu.org/viewcvs?rev=247921=gcc=rev Log: PR target/80706 * config/i386/sync.md (UNSPEC_LDX_ATOMIC):

[Bug c++/80712] mention the name of the attribute being ignored

2017-05-11 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80712 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org See

[Bug c++/80712] mention the name of the attribute being ignored

2017-05-11 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80712 Marc Glisse changed: What|Removed |Added Keywords||diagnostic Status|UNCONFIRMED

[Bug c++/70538] ICE on a deprecated access declaration in instantiate_template_1, at cp/pt.c:17310

2017-05-11 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70538 Paolo Carlini changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/70538] ICE on a deprecated access declaration in instantiate_template_1, at cp/pt.c:17310

2017-05-11 Thread paolo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70538 --- Comment #5 from paolo at gcc dot gnu.org --- Author: paolo Date: Thu May 11 17:13:42 2017 New Revision: 247917 URL: https://gcc.gnu.org/viewcvs?rev=247917=gcc=rev Log: 2017-05-11 Paolo Carlini PR

[Bug middle-end/80707] [8 Regression] r247844 causes error: extra outgoing edge

2017-05-11 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80707 David Binderman changed: What|Removed |Added CC||dcb314 at hotmail dot com --- Comment

[Bug c++/70538] ICE on a deprecated access declaration in instantiate_template_1, at cp/pt.c:17310

2017-05-11 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70538 --- Comment #4 from Paolo Carlini --- This is fixed in 7.1.0: I'm adding a testcase and closing the bug.

[Bug c++/80712] New: mention the name of the attribute being ignored

2017-05-11 Thread tromey at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80712 Bug ID: 80712 Summary: mention the name of the attribute being ignored Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/57952] AVX/AVX2 no ymm registers used in a trivial reduction

2017-05-11 Thread mmokrejs at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57952 --- Comment #3 from mmokrejs at gmail dot com --- Weird, why g++ can do the task although probably less efficiently than icc? $ g++ -O3 -march=core-avx-i -mtune=core-avx-i -mavx2 stream.c ; objdump -d a.out | grep ymm stream.c:106:48: warning:

[Bug target/57952] AVX/AVX2 no ymm registers used in a trivial reduction

2017-05-11 Thread mmokrejs at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57952 mmokrejs at gmail dot com changed: What|Removed |Added CC||mmokrejs at gmail dot com

[Bug c++/80711] warn on non-const accessor member functions

2017-05-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80711 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/80682] __is_trivially_constructible(void, int) returns true.

2017-05-11 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80682 --- Comment #5 from Ville Voutilainen --- This patch doesn't fully provide the means for a library implementation to just call the intrinsic from the library trait. I have a patch that does, which I'm testing.

[Bug target/79634] ICE in expand_builtin_with_bounds, at builtins.c:7490

2017-05-11 Thread aivchenk at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79634 --- Comment #3 from Alexander Ivchenko --- The problem here is that when CHKP is instrumenting call statement "i();" it doesn't know that it's a builtin call. When optimizations come into play, namely ccp pass, it becomes known that the call is

[Bug middle-end/80710] Stack smashing detected in correct code depending on optimization flag

2017-05-11 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80710 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/80711] New: warn on non-const accessor member functions

2017-05-11 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80711 Bug ID: 80711 Summary: warn on non-const accessor member functions Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/80711] warn on non-const accessor member functions

2017-05-11 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80711 Martin Sebor changed: What|Removed |Added Severity|normal |enhancement

[Bug middle-end/80710] Stack smashing detected in correct code depending on optimization flag

2017-05-11 Thread dr.markus.hoffmann at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80710 --- Comment #1 from dr.markus.hoffmann at gmx dot de --- This example wants to show, that the optimizer destroys compatibility to the ABI, either with optimizing something in the calling procedure (likely) or in the called function. The same

[Bug rtl-optimization/80709] [8 Regression] ICE in setup_preferred_alternate_classes_for_new_pseudos, at ira.c:2772

2017-05-11 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80709 ktkachov at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last

[Bug libstdc++/80285] `std::make_shared` performs two separate allocations with `-fno-rtti`

2017-05-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80285 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug sanitizer/80386] UBSAN: false positive - constant folding and reassosiation before instrumentation

2017-05-11 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80386 --- Comment #5 from Marek Polacek --- Patch posted: .

[Bug libstdc++/79433] __has_include() is true but #include gives #error when -std=old

2017-05-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79433 --- Comment #23 from Jonathan Wakely --- No, because after discussion with the feature-test study group I don't want to rely on GCC-specific magic. Instead I think it would be better for headers to do: #if __cplusplus >= 201402L #define

[Bug tree-optimization/80705] Incorrect code generated for profile counter updates due to SLP+LIM

2017-05-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80705 Richard Biener changed: What|Removed |Added Known to work||8.0 --- Comment #5 from Richard Biener

[Bug tree-optimization/80705] Incorrect code generated for profile counter updates due to SLP+LIM

2017-05-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80705 --- Comment #4 from Richard Biener --- Author: rguenth Date: Thu May 11 14:08:07 2017 New Revision: 247906 URL: https://gcc.gnu.org/viewcvs?rev=247906=gcc=rev Log: 2017-05-11 Richard Biener PR

[Bug middle-end/71509] Bitfield causes load hit store with larger store than load

2017-05-11 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71509 --- Comment #6 from Segher Boessenkool --- Doing an 8 byte load of something that was stored as 4 byte immediately before will cause flushes and stalls... Yeah it could use a 4-byte load here afaics.

[Bug target/80556] [8 Regression] bootstrap failure for Ada compiler

2017-05-11 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80556 --- Comment #25 from Iain Sandoe --- (In reply to Dominique d'Humieres from comment #24) > > Le 11 mai 2017 à 09:06, gingold at adacore dot com > > a écrit : > > Note that > >

[Bug target/80556] [8 Regression] bootstrap failure for Ada compiler

2017-05-11 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80556 --- Comment #24 from Dominique d'Humieres --- > Le 11 mai 2017 à 09:06, gingold at adacore dot com > a écrit : > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80556 > > --- Comment #19 from Tristan Gingold --- >

[Bug libstdc++/79433] __has_include() is true but #include gives #error when -std=old

2017-05-11 Thread marc.mutz at kdab dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79433 --- Comment #22 from Marc Mutz --- (In reply to Jonathan Wakely from comment #18) > I've started a discussion about changing the SD-6 recommendations. > > One idea that came out of the discussion so far would be to make a > GCC-specific

[Bug libstdc++/80285] `std::make_shared` performs two separate allocations with `-fno-rtti`

2017-05-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80285 --- Comment #1 from Jonathan Wakely --- Author: redi Date: Thu May 11 13:21:07 2017 New Revision: 247905 URL: https://gcc.gnu.org/viewcvs?rev=247905=gcc=rev Log: PR libstdc++/80285 optimize std::make_shared for -fno-rtti PR

[Bug libstdc++/80658] Memory leak reported in libstdc++ (zerotier)

2017-05-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80658 --- Comment #16 from Jonathan Wakely --- Yes, mt allocator has problems, that's why we stopped using it in 2005, but the zerotier code isn't even using mt allocator. Their problem is probably something different. That's the problem with writing

[Bug libstdc++/80658] Memory leak reported in libstdc++ (zerotier)

2017-05-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80658 Jonathan Wakely changed: What|Removed |Added Version|5.0 |unknown --- Comment #15 from Jonathan

[Bug libstdc++/80658] Memory leak reported in libstdc++ (zerotier)

2017-05-11 Thread bernd at net2o dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80658 Bernd Paysan changed: What|Removed |Added Version|unknown |5.0 --- Comment #14 from Bernd Paysan

[Bug c/80710] New: Stack smashing detected in correct code depending on optimization flag

2017-05-11 Thread dr.markus.hoffmann at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80710 Bug ID: 80710 Summary: Stack smashing detected in correct code depending on optimization flag Product: gcc Version: unknown Status: UNCONFIRMED Severity:

[Bug target/80706] [7/8 Regression] peephole2 uses uninitialized stack variables on i686

2017-05-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80706 --- Comment #13 from Jakub Jelinek --- Created attachment 41340 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41340=edit gcc8-pr80706.patch I came up with this (in addition to #c7). This removes one of the two useless stores in the

[Bug testsuite/80580] GIMPLEFE ICE on invalid code (fuzz testing)

2017-05-11 Thread miyuki at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80580 --- Comment #4 from Mikhail Maltsev --- Author: miyuki Date: Thu May 11 12:27:37 2017 New Revision: 247903 URL: https://gcc.gnu.org/viewcvs?rev=247903=gcc=rev Log: GIMPLEFE: Handle invalid SSA names gcc/testsuite/ PR testsuite/80580

[Bug fortran/80708] [f08] ALLOCATE with MOLD error if source-expr is a derived type with null-init pointer component

2017-05-11 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80708 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/80706] [7/8 Regression] peephole2 uses uninitialized stack variables on i686

2017-05-11 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80706 Uroš Bizjak changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at

[Bug middle-end/80707] [8 Regression] r247844 causes error: extra outgoing edge

2017-05-11 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80707 Peter Bergner changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug rtl-optimization/80709] New: ICE in setup_preferred_alternate_classes_for_new_pseudos, at ira.c:2772

2017-05-11 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80709 Bug ID: 80709 Summary: ICE in setup_preferred_alternate_classes_for_new_pseudos, at ira.c:2772 Product: gcc Version: 7.0 Status: UNCONFIRMED

[Bug go/64238] ICE in get_partitioning_class, at symtab.c:1775

2017-05-11 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64238 --- Comment #8 from Martin Liška --- There's link to docker image that illustrates that for 7.1: https://hub.docker.com/r/marxin/docker-gcc-pr64238/builds/buqt3slnzjlvm858fg6j78t/

[Bug c/69960] "initializer element is not constant"

2017-05-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69960 --- Comment #15 from Jakub Jelinek --- (In reply to Jakub Jelinek from comment #14) > C++ FE's constexpr.c has bool lval argument to many recursive functions, so > it can differentiate between cases where you don't want to fold "str"[0] to > 's'

[Bug c/69960] "initializer element is not constant"

2017-05-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69960 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment

[Bug testsuite/80580] GIMPLEFE ICE on invalid code (fuzz testing)

2017-05-11 Thread miyuki at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80580 --- Comment #3 from Mikhail Maltsev --- Author: miyuki Date: Thu May 11 10:55:52 2017 New Revision: 247900 URL: https://gcc.gnu.org/viewcvs?rev=247900=gcc=rev Log: GIMPLEFE: handle invalid __MEM gcc/c/ PR testsuite/80580 *

[Bug go/64238] ICE in get_partitioning_class, at symtab.c:1775

2017-05-11 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64238 --- Comment #7 from Martin Liška --- (In reply to Ian Lance Taylor from comment #6) > I'm sorry, I still can't recreate it. I'm now at SVN revision 247848. > > Note that I just committed a number of changes to the Go frontend, and I was >

[Bug ipa/79787] ICE in remove_unreachable_nodes, at ipa.c:469

2017-05-11 Thread aivchenk at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79787 Alexander Ivchenko changed: What|Removed |Added CC||aivchenk at gmail dot com ---

[Bug testsuite/80580] GIMPLEFE ICE on invalid code (fuzz testing)

2017-05-11 Thread miyuki at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80580 --- Comment #2 from Mikhail Maltsev --- Author: miyuki Date: Thu May 11 10:48:54 2017 New Revision: 247899 URL: https://gcc.gnu.org/viewcvs?rev=247899=gcc=rev Log: GIMPLEFE: Handle invalid unary "*" operand type gcc/c/ PR

[Bug sanitizer/80536] [6/7/8 Regression] UBSAN: compile time segfault

2017-05-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80536 --- Comment #18 from Jakub Jelinek --- (In reply to Marek Polacek from comment #17) > (In reply to Jakub Jelinek from comment #16) > > (In reply to Marek Polacek from comment #15) > > > In C I don't think so, because we mostly call c_save_expr

[Bug sanitizer/80536] [6/7/8 Regression] UBSAN: compile time segfault

2017-05-11 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80536 --- Comment #17 from Marek Polacek --- (In reply to Jakub Jelinek from comment #16) > (In reply to Marek Polacek from comment #15) > > In C I don't think so, because we mostly call c_save_expr and c_fully_fold > > therein would fold that

[Bug sanitizer/80536] [6/7/8 Regression] UBSAN: compile time segfault

2017-05-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80536 --- Comment #16 from Jakub Jelinek --- (In reply to Marek Polacek from comment #15) > In C I don't think so, because we mostly call c_save_expr and c_fully_fold > therein would fold that expression to 0. And when we call save_expr, it's Yeah,

[Bug rtl-optimization/80693] [6/7/8 Regression] wrong code with -O -fno-tree-coalesce-vars

2017-05-11 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80693 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libstdc++/80658] Memory leak reported in libstdc++ (zerotier)

2017-05-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80658 --- Comment #13 from Jonathan Wakely --- Like most ghost stories, this one is based on superstition and fantasy, not facts or science: https://www.reddit.com/r/programming/comments/69g8il/the_horror_in_the_standard_library/dhb2las/ No

[Bug sanitizer/80536] [6/7/8 Regression] UBSAN: compile time segfault

2017-05-11 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80536 --- Comment #15 from Marek Polacek --- (In reply to Jakub Jelinek from comment #14) > (In reply to Marek Polacek from comment #13) > > This is true, but it happens very rarely. It can happen e.g. when the > > fold() call in save_expr() folds

[Bug target/80706] [7/8 Regression] peephole2 uses uninitialized stack variables on i686

2017-05-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80706 --- Comment #11 from Jakub Jelinek --- (In reply to Jakub Jelinek from comment #10) > Perhaps if we had such a pattern that we'd split into a normal DFmode load > (perhaps with unspec before reload to guarantee it is atomic load), we > wouldn't

[Bug tree-optimization/53090] suboptimal ivopt

2017-05-11 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53090 --- Comment #9 from amker at gcc dot gnu.org --- Author: amker Date: Thu May 11 09:50:15 2017 New Revision: 247893 URL: https://gcc.gnu.org/viewcvs?rev=247893=gcc=rev Log: PR tree-optimization/53090 * tree-ssa-loop-ivopts.c (enum

[Bug fortran/80708] New: [f08] ALLOCATE with MOLD error if source-expr is a derived type with null-init pointer component

2017-05-11 Thread tamas.bela.feher at ipp dot mpg.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80708 Bug ID: 80708 Summary: [f08] ALLOCATE with MOLD error if source-expr is a derived type with null-init pointer component Product: gcc Version: 8.0 Status: UNCONFIRMED

[Bug tree-optimization/80705] Incorrect code generated for profile counter updates due to SLP+LIM

2017-05-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80705 --- Comment #3 from Richard Biener --- Ok, SLP seems fine here, on x86_64 needs -fno-vect-cost-model to vectorize it. LIM also looks fine on x86 (does nothing) so it must be IVOPTs messing up the refs on ppc64le. Ah, on ppc64le:

[Bug target/80706] [7/8 Regression] peephole2 uses uninitialized stack variables on i686

2017-05-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80706 --- Comment #10 from Jakub Jelinek --- (In reply to Uroš Bizjak from comment #9) > (In reply to Jakub Jelinek from comment #8) > > The #c5 patch obviously doesn't help here, because the testcase triggers the > > last of these 4 peephole2s. But

[Bug c++/46476] Missing Warning about unreachable code after return

2017-05-11 Thread jg at jguk dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46476 --- Comment #11 from Jon Grant --- Perhaps some new static analysis tools could be added to GCC. I'd be happy to contribute to costs.

[Bug target/80706] [7/8 Regression] peephole2 uses uninitialized stack variables on i686

2017-05-11 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80706 --- Comment #9 from Uroš Bizjak --- (In reply to Jakub Jelinek from comment #8) > The #c5 patch obviously doesn't help here, because the testcase triggers the > last of these 4 peephole2s. But #c7 works. Thanks! It looks like we'll have to

[Bug c++/80683] Exceptions don't propagate through default member initializer

2017-05-11 Thread ryxi at stu dot xidian.edu.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80683 --- Comment #5 from Xi Ruoyao --- The issue is in cp/method.c: /* If that user-written default constructor would satisfy the requirements of a constexpr constructor (7.1.5), the implicitly-defined default constructor is constexpr.

[Bug tree-optimization/80705] Incorrect code generated for profile counter updates due to SLP+LIM

2017-05-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80705 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug target/80556] [8 Regression] bootstrap failure for Ada compiler

2017-05-11 Thread gingold at adacore dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80556 --- Comment #23 from Tristan Gingold --- On 11/05/2017 10:11, iains at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80556 > > --- Comment #22 from Iain Sandoe --- > (In reply to Tristan Gingold from comment #21) >> On

  1   2   >