[Bug c++/43105] Document restrictions on mixing -fno-rtti and -frtti

2018-08-24 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43105 Eric Gallager changed: What|Removed |Added CC||gerald at pfeifer dot com,

[Bug tree-optimization/81958] spurious -Wmaybe-uninitialized warning in gcc-8, or with -O1

2018-08-24 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81958 --- Comment #2 from Eric Gallager --- (In reply to Jeffrey A. Law from comment #1) > So I see a couple things here. > > In DOM we do catch the fact that eqidx will have the value zero if the loop > does not iterate. But the equivalence we recor

[Bug rtl-optimization/87099] New: internal compiler error: segmentation fault

2018-08-24 Thread moron at waifu dot club
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87099 Bug ID: 87099 Summary: internal compiler error: segmentation fault Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-o

[Bug bootstrap/86872] [9 Regression] LTO bootstrap failed with profiledbootstrap

2018-08-24 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86872 --- Comment #6 from hjl at gcc dot gnu.org --- Author: hjl Date: Fri Aug 24 23:37:53 2018 New Revision: 263845 URL: https://gcc.gnu.org/viewcvs?rev=263845&root=gcc&view=rev Log: Set start_location to 0 if we ran out of line map space With profi

[Bug c/82967] "did you mean" suggestions are way too suggestive

2018-08-24 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82967 Eric Gallager changed: What|Removed |Added Keywords||patch URL|

[Bug web/87050] Bump wwwdocs to html5

2018-08-24 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87050 Eric Gallager changed: What|Removed |Added CC||dmalcolm at gcc dot gnu.org,

[Bug fortran/86837] [8/9 Regression] Optimization breaks an unformatted read with implicit loop

2018-08-24 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86837 Thomas Koenig changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug fortran/86837] [8/9 Regression] Optimization breaks an unformatted read with implicit loop

2018-08-24 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86837 --- Comment #7 from Thomas Koenig --- Author: tkoenig Date: Fri Aug 24 22:08:48 2018 New Revision: 263844 URL: https://gcc.gnu.org/viewcvs?rev=263844&root=gcc&view=rev Log: 2018-08-24 Thomas Koenig Backport from trunk PR fort

[Bug middle-end/87052] STRING_CST printing incomplete in Gimple dumps

2018-08-24 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87052 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/87091] Malformed fix-it hint for missing header

2018-08-24 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87091 --- Comment #3 from David Malcolm --- Author: dmalcolm Date: Fri Aug 24 21:17:48 2018 New Revision: 263843 URL: https://gcc.gnu.org/viewcvs?rev=263843&root=gcc&view=rev Log: diagnostics: tweaks to line-spans vs line numbering (PR 87091) This pa

[Bug c++/87098] compiling program icetime.cc for icestorm fpga toolchain throws internal compiler error

2018-08-24 Thread rly1 at embarqmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87098 Ron Young changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/87098] New: compiling program icetime.cc for icestorm fpga toolchain throws internal compiler error

2018-08-24 Thread rly1 at embarqmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87098 Bug ID: 87098 Summary: compiling program icetime.cc for icestorm fpga toolchain throws internal compiler error Product: gcc Version: 6.3.0 Status: UNCONFIRMED S

[Bug target/87076] -mpcu/-march not propagated through LTO bytecode (ice/segfault if arch flags do not match)

2018-08-24 Thread vlad at ispras dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87076 --- Comment #4 from Vladislav Ivanishin --- "rguenth at gcc dot gnu.org" writes: > On x86_64 the actual -march switch isn't serialized but it is decomposed into > individual -mFEATURE switches by the driver which are serialized. > > > The -marc

[Bug c++/87097] value-initialization of an array of more than 1 element not treated as a constant initializer

2018-08-24 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87097 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/87097] New: value-initialization of an array of more than 1 element not treated as a constant initializer

2018-08-24 Thread richard-gccbugzilla at metafoo dot co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87097 Bug ID: 87097 Summary: value-initialization of an array of more than 1 element not treated as a constant initializer Product: gcc Version: unknown Status: UNCONFIRMED

[Bug web/87050] Bump wwwdocs to html5

2018-08-24 Thread jb at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87050 --- Comment #7 from Janne Blomqvist --- (In reply to jos...@codesourcery.com from comment #6) > A replacement for MetaHTML is already available, we just need to switch to > using it. > > https://gcc.gnu.org/ml/gcc-patches/2018-06/msg00176.html

[Bug middle-end/87041] [8/9 Regression] GCC 8 regression: -Wformat "reading through null pointer" on unreachable code

2018-08-24 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87041 --- Comment #6 from Martin Sebor --- -Wformat-overflow already warns for null pointers. I don't recall any bug reports about it so it shouldn't be too bad. void f (char *d, char *p) { if (p) return; __builtin_sprintf (d, "%s", p); } warni

[Bug web/87050] Bump wwwdocs to html5

2018-08-24 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87050 --- Comment #6 from joseph at codesourcery dot com --- A replacement for MetaHTML is already available, we just need to switch to using it. https://gcc.gnu.org/ml/gcc-patches/2018-06/msg00176.html

[Bug middle-end/87041] [8/9 Regression] GCC 8 regression: -Wformat "reading through null pointer" on unreachable code

2018-08-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87041 --- Comment #5 from Jakub Jelinek --- I don't think we want to move it there, that will mean lots of false positives due to jump threading etc. It is a good thing this is a FE warning.

[Bug rtl-optimization/87096] "Optimised" snprintf is not POSIX conformant

2018-08-24 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87096 Martin Sebor changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at

[Bug rtl-optimization/87096] "Optimised" snprintf is not POSIX conformant

2018-08-24 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87096 Martin Sebor changed: What|Removed |Added Keywords||wrong-code Status|UNCONFIRMED

[Bug fortran/86545] [6/7/8/9 Regression] ICE in transfer_expr on invalid WRITE statement

2018-08-24 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86545 Jerry DeLisle changed: What|Removed |Added CC||jvdelisle at gcc dot gnu.org --- Comment

[Bug middle-end/87041] [8/9 Regression] GCC 8 regression: -Wformat "reading through null pointer" on unreachable code

2018-08-24 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87041 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment #4

[Bug tree-optimization/87059] [9 Regression] internal compiler error: in set_value_range, at tree-vrp.c:289

2018-08-24 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87059 --- Comment #21 from Martin Sebor --- As discussed on IRC this morning, I hope the following patch will avoid having to apply the VRP workaround: https://gcc.gnu.org/ml/gcc-patches/2018-08/msg01563.html

[Bug web/87050] Bump wwwdocs to html5

2018-08-24 Thread jb at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87050 --- Comment #5 from Janne Blomqvist --- I looked through some mails in the archives, and I learned that the current wwwdocs uses metahtml, which hasn't been maintained for years and years, and doesn't even compile anymore. Ugh! For an even more

[Bug middle-end/87041] [8/9 Regression] GCC 8 regression: -Wformat "reading through null pointer" on unreachable code

2018-08-24 Thread achurch+gcc at achurch dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87041 --- Comment #3 from Andrew Church --- I agree it's a good idea to warn if the code is reachable, but if not, it's only so much noise. I can see that in this case the second const makes no difference to code generation, but I'd prefer not to modi

[Bug rtl-optimization/87096] New: "Optimised" snprintf is not POSIX conformant

2018-08-24 Thread awilfox at adelielinux dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87096 Bug ID: 87096 Summary: "Optimised" snprintf is not POSIX conformant Product: gcc Version: 6.4.0 URL: http://pubs.opengroup.org/onlinepubs/9699919799/functi ons/snprint

[Bug libstdc++/86822] attribute((malloc)) for new(nothrow)

2018-08-24 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86822 Marc Glisse changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug fortran/86545] [6/7/8/9 Regression] ICE in transfer_expr on invalid WRITE statement

2018-08-24 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86545 --- Comment #6 from janus at gcc dot gnu.org --- (In reply to janus from comment #5) > I'm now testing the following patch, which fixes the problem: Regtests cleanly.

[Bug libstdc++/86822] attribute((malloc)) for new(nothrow)

2018-08-24 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86822 --- Comment #3 from Marc Glisse --- Author: glisse Date: Fri Aug 24 18:24:42 2018 New Revision: 263841 URL: https://gcc.gnu.org/viewcvs?rev=263841&root=gcc&view=rev Log: new(nothrow) is malloc-like 2018-08-24 Marc Glisse PR libstdc+

[Bug libstdc++/16612] empty basic_strings can't live in shared memory

2018-08-24 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=16612 --- Comment #36 from Jonathan Wakely --- Is there anything left to "fix" here? Fully dynamic string should help the COW string cases. The new __cxx11::basic_string fully supports C++11 allocators and so should work with allocators using "fancy

[Bug libstdc++/20150] allocate(0) consistency checks

2018-08-24 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20150 --- Comment #1 from Jonathan Wakely --- I thought this was by design, because it ensures we never return a null pointer, and that any two calls to allocate will return different values. I'm inclined to close this as WONTFIX.

[Bug fortran/86545] [6/7/8/9 Regression] ICE in transfer_expr on invalid WRITE statement

2018-08-24 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86545 janus at gcc dot gnu.org changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |janus at gcc dot gnu.org

[Bug sanitizer/87095] New: UndefinedBehaviorSanitizer vptr false positive with virtual inheritance only with -fno-sanitize-recover

2018-08-24 Thread vakevk at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87095 Bug ID: 87095 Summary: UndefinedBehaviorSanitizer vptr false positive with virtual inheritance only with -fno-sanitize-recover Product: gcc Version: 8.2.0 Status: UNCONFI

[Bug fortran/86837] [8/9 Regression] Optimization breaks an unformatted read with implicit loop

2018-08-24 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86837 --- Comment #6 from Thomas Koenig --- Author: tkoenig Date: Fri Aug 24 17:26:57 2018 New Revision: 263838 URL: https://gcc.gnu.org/viewcvs?rev=263838&root=gcc&view=rev Log: 2018-08-24 Thomas Koenig PR fortran/86837 * frontend

[Bug middle-end/87092] [9 Regression] internal compiler error: Segmentation fault

2018-08-24 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87092 --- Comment #3 from hjl at gcc dot gnu.org --- Author: hjl Date: Fri Aug 24 16:58:27 2018 New Revision: 263837 URL: https://gcc.gnu.org/viewcvs?rev=263837&root=gcc&view=rev Log: Add a testcase for PR middle-end/87092 PR middle-end/87092

[Bug c++/30812] enhancement: exception specification in __PRETTY_FUNCTION__

2018-08-24 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30812 Eric Gallager changed: What|Removed |Added CC||jason at redhat dot com,

[Bug tree-optimization/87059] [9 Regression] internal compiler error: in set_value_range, at tree-vrp.c:289

2018-08-24 Thread aldyh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87059 --- Comment #20 from Aldy Hernandez --- (In reply to Aldy Hernandez from comment #18) > BTW, the suggest patch in comment 10 causes an x86-64 regression on > gcc.dg/attr-nonstring-3.c because of some incompatibility with ssizetype and > sizetype.

[Bug bootstrap/87073] go bootstrap failure due to ICE in vr_values::extract_range_from_binary_expr

2018-08-24 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87073 H.J. Lu changed: What|Removed |Added CC||hjl.tools at gmail dot com --- Comment #9 from

[Bug middle-end/87092] [9 Regression] internal compiler error: Segmentation fault

2018-08-24 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87092 --- Comment #2 from H.J. Lu --- *** This bug has been marked as a duplicate of bug 87073 ***

[Bug tree-optimization/87059] [9 Regression] internal compiler error: in set_value_range, at tree-vrp.c:289

2018-08-24 Thread aldyh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87059 --- Comment #19 from Aldy Hernandez --- (In reply to H.J. Lu from comment #17) > On x86-64: > > [hjl@gnu-cfl-1 gcc]$ cat x.c > int a, b; > > void > c(void) { > if (b) > b = a / b; > } > [hjl@gnu-cfl-1 gcc]$ ./xgcc -B./ -O3 -funroll-loops

[Bug tree-optimization/87059] [9 Regression] internal compiler error: in set_value_range, at tree-vrp.c:289

2018-08-24 Thread aldyh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87059 --- Comment #18 from Aldy Hernandez --- BTW, the suggest patch in comment 10 causes an x86-64 regression on gcc.dg/attr-nonstring-3.c because of some incompatibility with ssizetype and sizetype. I believe it's related to this: https://gcc.gnu.o

[Bug tree-optimization/87059] [9 Regression] internal compiler error: in set_value_range, at tree-vrp.c:289

2018-08-24 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87059 --- Comment #17 from H.J. Lu --- On x86-64: [hjl@gnu-cfl-1 gcc]$ cat x.c int a, b; void c(void) { if (b) b = a / b; } [hjl@gnu-cfl-1 gcc]$ ./xgcc -B./ -O3 -funroll-loops -ffast-math -fwrapv -S x.c during GIMPLE pass: evrp x.c: In functio

[Bug c++/87093] is_constructible (__is_constructible() instrinsic) explicitly instantiates conversion member function of source

2018-08-24 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87093 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug ipa/87094] New: Suboptimal accounting for stack growth in inlining

2018-08-24 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87094 Bug ID: 87094 Summary: Suboptimal accounting for stack growth in inlining Product: gcc Version: 9.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal

[Bug tree-optimization/87059] [9 Regression] internal compiler error: in set_value_range, at tree-vrp.c:289

2018-08-24 Thread aldyh at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87059 --- Comment #16 from Aldy Hernandez --- On 08/24/2018 11:41 AM, segher at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87059 > > --- Comment #15 from Segher Boessenkool --- > (In reply to Aldy Hernandez from comment #12

[Bug c/87028] false positive -Wstringop-truncation strncpy with global variable source string

2018-08-24 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87028 Martin Sebor changed: What|Removed |Added Keywords||patch Status|NEW

[Bug c++/86942] A trailing-return-type is allowed when the return type is not 'auto' for using declarations

2018-08-24 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86942 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/86942] A trailing-return-type is allowed when the return type is not 'auto' for using declarations

2018-08-24 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86942 --- Comment #4 from Marek Polacek --- Fixed.

[Bug c++/86942] A trailing-return-type is allowed when the return type is not 'auto' for using declarations

2018-08-24 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86942 --- Comment #3 from Marek Polacek --- Author: mpolacek Date: Fri Aug 24 15:48:43 2018 New Revision: 263836 URL: https://gcc.gnu.org/viewcvs?rev=263836&root=gcc&view=rev Log: PR c++/67012 PR c++/86942 * decl.c (grokdeclara

[Bug c++/67012] decltype(auto) with trailing return type

2018-08-24 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67012 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/67012] decltype(auto) with trailing return type

2018-08-24 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67012 --- Comment #2 from Marek Polacek --- Author: mpolacek Date: Fri Aug 24 15:48:43 2018 New Revision: 263836 URL: https://gcc.gnu.org/viewcvs?rev=263836&root=gcc&view=rev Log: PR c++/67012 PR c++/86942 * decl.c (grokdeclara

[Bug tree-optimization/87059] [9 Regression] internal compiler error: in set_value_range, at tree-vrp.c:289

2018-08-24 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87059 --- Comment #15 from Segher Boessenkool --- (In reply to Aldy Hernandez from comment #12) > (It really irks me that the PPC backend has backend behavior that depends on > what assembler (or cross assembler) is available at configure time. It > m

[Bug tree-optimization/87059] [9 Regression] internal compiler error: in set_value_range, at tree-vrp.c:289

2018-08-24 Thread aldyh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87059 --- Comment #14 from Aldy Hernandez --- (In reply to H.J. Lu from comment #13) > This bug also happens on x86-64. Would you happen to have a preprocessed testcase on x86-64?

[Bug tree-optimization/87059] [9 Regression] internal compiler error: in set_value_range, at tree-vrp.c:289

2018-08-24 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87059 H.J. Lu changed: What|Removed |Added Target|powerpc64le-linux | --- Comment #13 from H.J. Lu --- This bug al

[Bug tree-optimization/87059] [9 Regression] internal compiler error: in set_value_range, at tree-vrp.c:289

2018-08-24 Thread aldyh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87059 --- Comment #12 from Aldy Hernandez --- BTW, this is reproducible with an x86-64 cross by forcing the generation of cmpstrnsi with -mcpu=cell and the following patch: diff --git a/gcc/config/rs6000/rs6000.h b/gcc/config/rs6000/rs6000.h index 9ea

[Bug c++/86953] [6/7/8/9 Regression] compiler crashes with constexpr operator== and specific struct (cxx_eval_bit_field_ref, at cp/constexpr.c:2704)

2018-08-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86953 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org Depends

[Bug bootstrap/87073] go bootstrap failure due to ICE in vr_values::extract_range_from_binary_expr

2018-08-24 Thread aldyh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87073 Aldy Hernandez changed: What|Removed |Added CC||ktkachov at gcc dot gnu.org --- Comment

[Bug tree-optimization/87086] [9 Regression] ICE in canonize from wide-int.cc when building SPEC2000 254.gap

2018-08-24 Thread aldyh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87086 --- Comment #3 from Aldy Hernandez --- My bad. This is a duplicate but of pr87073, which is now fixed on mainline. *** This bug has been marked as a duplicate of bug 87073 ***

[Bug tree-optimization/87074] [8/9 Regression] Vectorization bug: O3 result differ from O2

2018-08-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87074 Jakub Jelinek changed: What|Removed |Added CC||matz at gcc dot gnu.org --- Comment #3 f

[Bug tree-optimization/87074] [8/9 Regression] Vectorization bug: O3 result differ from O2

2018-08-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87074 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug c/82967] "did you mean" suggestions are way too suggestive

2018-08-24 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82967 --- Comment #6 from David Malcolm --- Candidate patch: https://gcc.gnu.org/ml/gcc-patches/2018-08/msg01542.html

[Bug testsuite/78529] gcc.c-torture/execute/builtins/strcat-chk.c failed with lto/O2

2018-08-24 Thread joey.ye at arm dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78529 Joey Ye changed: What|Removed |Added CC||joey.ye at arm dot com --- Comment #36 from Jo

[Bug c++/87075] [7/8/9 Regression] ICE when compiling the test suite of GLM 0.9.9.0

2018-08-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87075 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

[Bug rtl-optimization/87047] [7/8/9 Regression] performance regression because of if-conversion

2018-08-24 Thread already5chosen at yahoo dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87047 --- Comment #11 from Michael_S --- Sorry for intervening, but IMHO a new __builtin is long overdue. __builtin (In reply to Jakub Jelinek from comment #9) > (In reply to Alexander Monakov from comment #8) > > Well, original_costs is already initia

[Bug testsuite/87064] [9 regression] libgomp.oacc-fortran/reduction-3.f90 fails starting with r263751

2018-08-24 Thread cesar at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87064 cesar at gcc dot gnu.org changed: What|Removed |Added CC||cesar at gcc dot gnu.org,

[Bug libstdc++/68222] _Safe_iterator provides operators the wrapped iterator can't actually support

2018-08-24 Thread TonyELewis at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68222 --- Comment #4 from Tony E Lewis --- Yes - Godbolt's GCC trunk is now showing an error where I'd expect within the original repro code. Great stuff. Thanks very much for your work on this.

[Bug c++/87093] New: is_constructible (__is_constructible() instrinsic) explicitly instantiates conversion member function of source

2018-08-24 Thread TonyELewis at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87093 Bug ID: 87093 Summary: is_constructible (__is_constructible() instrinsic) explicitly instantiates conversion member function of source Product: gcc Version: 9.0

[Bug target/86973] [6/7/8/9 Regression] ICE in expand_call, at calls.c:4217

2018-08-24 Thread matz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86973 --- Comment #4 from Michael Matz --- FWIW, the testcase is broken since it can be compiled, namely since the two attributes ms_abi and sysv_abi are accepted, which is r137525 from 2008. Only broken with -mno-accumulate-outgoing-args of course.

[Bug rtl-optimization/87047] [7/8/9 Regression] performance regression because of if-conversion

2018-08-24 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87047 --- Comment #10 from Alexander Monakov --- Scaling costs by edge probabilities would also solve this issue, perhaps in a cleaner way. (to be clear: if speed_p, instead of taking the weird faux-minimum, add to original_cost the linear combination

[Bug tree-optimization/87059] [9 Regression] internal compiler error: in set_value_range, at tree-vrp.c:289

2018-08-24 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87059 Marek Polacek changed: What|Removed |Added CC||hjl.tools at gmail dot com --- Comment #

[Bug middle-end/87092] [9 Regression] internal compiler error: Segmentation fault

2018-08-24 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87092 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c++/87080] [9 Regression] ice in cp_get_fndecl_from_callee, at cp/cvt.c:965

2018-08-24 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87080 Marek Polacek changed: What|Removed |Added Target Milestone|--- |9.0 Summary|ice in

[Bug target/87077] missed optimization for horizontal add for x86 SSE

2018-08-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87077 Richard Biener changed: What|Removed |Added Status|WAITING |NEW --- Comment #4 from Richard Biener

[Bug rtl-optimization/87047] [7/8/9 Regression] performance regression because of if-conversion

2018-08-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87047 --- Comment #9 from Jakub Jelinek --- (In reply to Alexander Monakov from comment #8) > Well, original_costs is already initialized with COSTS_N_INSNS (2), > accounting for test and branch that would be removed. So it's not too bad: > in pr78120.

[Bug c++/80093] missed optimization opportunity with std::uniform_int_distribution

2018-08-24 Thread trashyankes at wp dot pl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80093 trashyankes at wp dot pl changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--

[Bug middle-end/87092] New: [9 Regression] internal compiler error: Segmentation fault

2018-08-24 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87092 Bug ID: 87092 Summary: [9 Regression] internal compiler error: Segmentation fault Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Prior

[Bug rtl-optimization/87047] [7/8/9 Regression] performance regression because of if-conversion

2018-08-24 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87047 --- Comment #8 from Alexander Monakov --- (In reply to Jakub Jelinek from comment #7) > Treating the missing else cost as 0 cost isn't right either, it is ok to > accept some small cost, otherwise we wouldn't do the if conversion ever with > miss

[Bug lto/87089] [9 regression] tree check: expected class 'type', have 'declaration' (namespace_decl) in type_with_linkage_p, at ipa-utils.h

2018-08-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87089 Richard Biener changed: What|Removed |Added Target Milestone|--- |9.0

[Bug c++/87091] Malformed fix-it hint for missing header

2018-08-24 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87091 David Malcolm changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/51180] [C++0x] inner class alias-definition variadic template error

2018-08-24 Thread trashyankes at wp dot pl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51180 trashyankes at wp dot pl changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|--

[Bug c++/87091] Malformed fix-it hint for missing header

2018-08-24 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87091 --- Comment #1 from David Malcolm --- Looks a lot like the issue I fixed in r263606.

[Bug testsuite/87064] [9 regression] libgomp.oacc-fortran/reduction-3.f90 fails starting with r263751

2018-08-24 Thread jb at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87064 Janne Blomqvist changed: What|Removed |Added CC||cesar at codesourcery dot com --- Comm

[Bug lto/87089] [9 regression] tree check: expected class 'type', have 'declaration' (namespace_decl) in type_with_linkage_p, at ipa-utils.h

2018-08-24 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87089 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c++/87091] New: Malformed fix-it hint for missing header

2018-08-24 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87091 Bug ID: 87091 Summary: Malformed fix-it hint for missing header Product: gcc Version: 9.0 Status: UNCONFIRMED Keywords: diagnostic Severity: normal Priority: P3

[Bug tree-optimization/87087] [8 Regression] Optimization hangs up and consumes over 15Gb of memory

2018-08-24 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87087 --- Comment #4 from Martin Liška --- ... and started with r257441.

[Bug debug/87039] [8/9 Regression] DW_OP_fbreg used without a frame base on a C++ code w/ -fopenmp

2018-08-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87039 --- Comment #2 from Jakub Jelinek --- Actually, I think this got broken with PR78363 r244892. Before that the early_global_decl hooks are only called on the functions when all the functions are lowered and thus the BLOCKs moved.

[Bug target/87077] missed optimization for horizontal add for x86 SSE

2018-08-24 Thread trashyankes at wp dot pl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87077 --- Comment #3 from trashyankes at wp dot pl --- (In reply to Richard Biener from comment #2) > Can you attach the source please? These stupid Web 2.0 sites do not allow > to save it to a file. Code: ``` #include #include struct alignas(32)

[Bug tree-optimization/87087] [8 Regression] Optimization hangs up and consumes over 15Gb of memory

2018-08-24 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87087 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment #3

[Bug c/66970] Add __has_builtin() macro

2018-08-24 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66970 --- Comment #11 from Jonathan Wakely --- (In reply to felix from comment #7) > I made the feature closely mimic The Other Compiler's behaviour: only > function built-ins are recognised. This includes generic functions like > __builtin_add_overflo

[Bug debug/87039] [8/9 Regression] DW_OP_fbreg used without a frame base on a C++ code w/ -fopenmp

2018-08-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87039 --- Comment #1 from Jakub Jelinek --- I think this shows a pretty major bug caused by the early dwarf changes - it happens too early. When OpenMP/OpenACC etc. does move_sese_region_to_fn, it duplicates the BLOCK which is on the boundary and shoul

[Bug target/86989] ICE in rs6000_output_addr_const_extra, at config/rs6000/rs6000.c:20994

2018-08-24 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86989 --- Comment #3 from Segher Boessenkool --- Fixed on trunk; backports pending.

[Bug target/87085] with -march=i386, gcc should not generate code including endbr instruction

2018-08-24 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87085 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug debug/79342] [6 Regression] ICE in output_index_string, at dwarf2out.c:25635 with -gsplit-dwarf

2018-08-24 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79342 --- Comment #10 from hjl at gcc dot gnu.org --- Author: hjl Date: Fri Aug 24 11:28:40 2018 New Revision: 263831 URL: https://gcc.gnu.org/viewcvs?rev=263831&root=gcc&view=rev Log: DWARF: Call set_indirect_string on DW_MACINFO_start_file Since -g

[Bug preprocessor/87088] Attached program doesn't finish compiling and linking

2018-08-24 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87088 --- Comment #4 from Jonathan Wakely --- FWIW this was changed by r247222 2017-04-25 Bernd Edlinger * c-common.c (c_type_hasher, type_hash_table): Remove. (c_common_get_alias_set): Remove unreachable code. * c-opts.c (c_

[Bug c++/87090] New: Constexpr variables in functions are not optimized correctly

2018-08-24 Thread jeanmichael.celerier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87090 Bug ID: 87090 Summary: Constexpr variables in functions are not optimized correctly Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severity: normal P

[Bug preprocessor/87088] Attached program doesn't finish compiling and linking

2018-08-24 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87088 Jonathan Wakely changed: What|Removed |Added Keywords||diagnostic Component|c++

[Bug lto/87089] New: [9 regression] tree check: expected class 'type', have 'declaration' (namespace_decl) in type_with_linkage_p, at ipa-utils.h

2018-08-24 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87089 Bug ID: 87089 Summary: [9 regression] tree check: expected class 'type', have 'declaration' (namespace_decl) in type_with_linkage_p, at ipa-utils.h Product: gcc V

[Bug tree-optimization/87086] [9 Regression] ICE in canonize from wide-int.cc when building SPEC2000 254.gap

2018-08-24 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87086 --- Comment #2 from ktkachov at gcc dot gnu.org --- (In reply to Aldy Hernandez from comment #1) > Duplicate. > > *** This bug has been marked as a duplicate of bug 87059 *** Are you sure this is a dup? PR 87059 seems to be about strncmp whereas

[Bug c++/87088] Attached program doesn't finish compiling and linking

2018-08-24 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87088 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

  1   2   >