[Bug c++/83769] Statement expression inside lambda defined and evaluated in global scope fails to compile with optimizations

2018-01-10 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83769 --- Comment #2 from Andrew Pinski --- (In reply to Andrew Pinski from comment #1) > Fixed for GCC 8 via PR 71946. Note the original bug was reported about inline-asm but the problem was the same with statement expressions, see comment #6.

[Bug c++/81327] [8 Regression] cast to void* does not suppress -Wclass-memaccess

2018-01-10 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81327 --- Comment #11 from Ville Voutilainen --- The issue is again that users of existing Qt versions will see the warnings, and they also turn to errors. I can fix the non-casting uses, but I would recommend removing this warning from -Wall as well.

[Bug c/82922] Request: add -Wstrict-prototypes to -Wextra as K style is obsolescent

2018-01-10 Thread ian at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82922 --- Comment #2 from ian at gcc dot gnu.org --- Author: ian Date: Wed Jan 10 15:42:23 2018 New Revision: 256437 URL: https://gcc.gnu.org/viewcvs?rev=256437=gcc=rev Log: PR c/82922 runtime, syscall: use full prototypes in C code

[Bug tree-optimization/82518] [8 regression] gfortran.fortran-torture/execute/in-pack.f90 fails on armeb since r252917

2018-01-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82518 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #3

[Bug c++/81055] [6/7/8 Regression] ICE with invalid initializer for array new

2018-01-10 Thread paolo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81055 --- Comment #3 from paolo at gcc dot gnu.org --- Author: paolo Date: Wed Jan 10 16:37:22 2018 New Revision: 256438 URL: https://gcc.gnu.org/viewcvs?rev=256438=gcc=rev Log: /cp 2018-01-10 Paolo Carlini PR

[Bug c++/81327] [8 Regression] cast to void* does not suppress -Wclass-memaccess

2018-01-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81327 --- Comment #9 from Jakub Jelinek --- Author: jakub Date: Wed Jan 10 16:59:09 2018 New Revision: 256440 URL: https://gcc.gnu.org/viewcvs?rev=256440=gcc=rev Log: PR c++/81327 * call.c (maybe_warn_class_memaccess): Add forward

[Bug preprocessor/83773] New: Warning for redefined macro does not have its own -Wsomething switch

2018-01-10 Thread bugzi...@poradnik-webmastera.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83773 Bug ID: 83773 Summary: Warning for redefined macro does not have its own -Wsomething switch Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal

[Bug c++/81327] [8 Regression] cast to void* does not suppress -Wclass-memaccess

2018-01-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81327 --- Comment #12 from Jakub Jelinek --- Every GCC release comes with a http://gcc.gnu.org/gcc-7/porting_to.html (similarly for other releases and we'll have one for gcc-8 too), and especially with -Werror people need to adjust their codes not

[Bug tree-optimization/83776] [5/6/7/8 Regression] missing -Warray-bounds indexing past the end of a string literal

2018-01-10 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83776 Martin Sebor changed: What|Removed |Added Keywords||diagnostic Known to work|

[Bug fortran/83093] ICE in fold_convert_loc, at fold-const.c:2266

2018-01-10 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83093 --- Comment #5 from kargl at gcc dot gnu.org --- Author: kargl Date: Wed Jan 10 21:31:43 2018 New Revision: 256455 URL: https://gcc.gnu.org/viewcvs?rev=256455=gcc=rev Log: 2018-01-10 Steven G. Kargl PR fortran/83093

[Bug middle-end/81897] [6/7 Regression] spurious -Wmaybe-uninitialized warning

2018-01-10 Thread aldyh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81897 --- Comment #22 from Aldy Hernandez --- Author: aldyh Date: Wed Jan 10 21:39:20 2018 New Revision: 256456 URL: https://gcc.gnu.org/viewcvs?rev=256456=gcc=rev Log: PR middle-end/81897 * tree-ssa-uninit.c

[Bug tree-optimization/83776] New: missing -Warray-bounds indexing past the end of a string literal

2018-01-10 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83776 Bug ID: 83776 Summary: missing -Warray-bounds indexing past the end of a string literal Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal

[Bug c++/83777] New: Invalid dependent initialization of a static data member.

2018-01-10 Thread Zahira.Ammarguellat at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83777 Bug ID: 83777 Summary: Invalid dependent initialization of a static data member. Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/83671] Fix for false positive reported by -Wstringop-overflow does not work at -O1

2018-01-10 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83671 Martin Sebor changed: What|Removed |Added Keywords||patch Status|ASSIGNED

[Bug tree-optimization/83671] Fix for false positive reported by -Wstringop-overflow does not work at -O1

2018-01-10 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83671 --- Comment #3 from Martin Sebor --- Author: msebor Date: Wed Jan 10 21:40:14 2018 New Revision: 256457 URL: https://gcc.gnu.org/viewcvs?rev=256457=gcc=rev Log: PR tree-optimization/83671 - Fix for false positive reported by -Wstringop-overflow

[Bug rtl-optimization/83575] [8 Regression] ICE: verify_flow_info failed (error: multiple hot/cold transitions found)

2018-01-10 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83575 Jeffrey A. Law changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug target/56010] Powerpc, -mcpu=native and -mtune=native use the wrong name for target 7450

2018-01-10 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56010 Peter Bergner changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c++/83778] New: [8 regression] g++.dg/ext/altivec-cell-2.C fails starting with r256448

2018-01-10 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83778 Bug ID: 83778 Summary: [8 regression] g++.dg/ext/altivec-cell-2.C fails starting with r256448 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/82367] ICE with deferred length string allocate on non-deferred length argument

2018-01-10 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82367 --- Comment #6 from kargl at gcc dot gnu.org --- Author: kargl Date: Wed Jan 10 23:41:48 2018 New Revision: 256466 URL: https://gcc.gnu.org/viewcvs?rev=256466=gcc=rev Log: 2018-01-10 Steven G. Kargl PR

[Bug middle-end/83758] ICE building gccgo on powerpc64le --with-cpu=power8

2018-01-10 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83758 Ian Lance Taylor changed: What|Removed |Added CC||ian at airs dot com --- Comment #2

[Bug fortran/82367] ICE with deferred length string allocate on non-deferred length argument

2018-01-10 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82367 --- Comment #7 from kargl at gcc dot gnu.org --- Author: kargl Date: Wed Jan 10 23:55:00 2018 New Revision: 256467 URL: https://gcc.gnu.org/viewcvs?rev=256467=gcc=rev Log: 2018-01-10 Steven G. Kargl PR

[Bug fortran/82367] ICE with deferred length string allocate on non-deferred length argument

2018-01-10 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82367 kargl at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug fortran/68241] [meta-bug] [F03] Deferred-length character

2018-01-10 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68241 Bug 68241 depends on bug 82367, which changed state. Bug 82367 Summary: ICE with deferred length string allocate on non-deferred length argument https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82367 What|Removed

[Bug c++/83779] Trivial bounds error not detected with -fbounds-check

2018-01-10 Thread w6ws at earthlink dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83779 --- Comment #2 from Walter Spector --- Ah. Thank you.

[Bug c++/83779] New: Trivial bounds error not detected with -fbounds-check

2018-01-10 Thread w6ws at earthlink dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83779 Bug ID: 83779 Summary: Trivial bounds error not detected with -fbounds-check Product: gcc Version: 5.4.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug fortran/83093] ICE in fold_convert_loc, at fold-const.c:2266

2018-01-10 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83093 --- Comment #6 from kargl at gcc dot gnu.org --- Author: kargl Date: Wed Jan 10 22:35:00 2018 New Revision: 256459 URL: https://gcc.gnu.org/viewcvs?rev=256459=gcc=rev Log: 2018-01-10 Steven G. Kargl Backport from

[Bug c++/83779] Trivial bounds error not detected with -fbounds-check

2018-01-10 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83779 --- Comment #1 from Jonathan Wakely --- The manual says: "This is currently only supported by the Fortran front end, where this option defaults to false."

[Bug fortran/83093] ICE in fold_convert_loc, at fold-const.c:2266

2018-01-10 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83093 kargl at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug fortran/82367] ICE with deferred length string allocate on non-deferred length argument

2018-01-10 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82367 kargl at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P4 CC|

[Bug fortran/83093] ICE in fold_convert_loc, at fold-const.c:2266

2018-01-10 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83093 --- Comment #7 from kargl at gcc dot gnu.org --- Author: kargl Date: Wed Jan 10 22:50:28 2018 New Revision: 256461 URL: https://gcc.gnu.org/viewcvs?rev=256461=gcc=rev Log: 2018-01-10 Steven G. Kargl Backport from

[Bug middle-end/83758] ICE building gccgo on powerpc64le --with-cpu=power8

2018-01-10 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83758 seurer at gcc dot gnu.org changed: What|Removed |Added CC||iant at google dot com,

[Bug fortran/82367] ICE with deferred length string allocate on non-deferred length argument

2018-01-10 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82367 --- Comment #5 from kargl at gcc dot gnu.org --- Author: kargl Date: Wed Jan 10 23:26:15 2018 New Revision: 256464 URL: https://gcc.gnu.org/viewcvs?rev=256464=gcc=rev Log: 2018-01-10 Steven G. Kargl PR

[Bug middle-end/83721] [8 Regression] ICE: in generic_overlap, at gimple-ssa-warn-restrict.c:821

2018-01-10 Thread aldyh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83721 Aldy Hernandez changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug target/83748] Local variables not aligned to word boundary

2018-01-10 Thread sbansal at ciena dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83748 --- Comment #6 from Sumit --- mstrict-align does not seems to help. Only aligning them forcefully does work. ome_CardCfgPxfp_t xfpPecInfo __attribute__((aligned(4))); ome_CardCfgPsfp_t sfpPecInfo

[Bug rtl-optimization/83575] [8 Regression] ICE: verify_flow_info failed (error: multiple hot/cold transitions found)

2018-01-10 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83575 --- Comment #6 from Jan Hubicka --- Author: hubicka Date: Wed Jan 10 08:19:52 2018 New Revision: 256420 URL: https://gcc.gnu.org/viewcvs?rev=256420=gcc=rev Log: PR middle-end/83575 * predict.c (force_edge_cold): Handle in more

[Bug target/83008] [performance] Is it better to avoid extra instructions in data passing between loops?

2018-01-10 Thread sergey.shalnov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83008 --- Comment #21 from sergey.shalnov at intel dot com --- Thanks Richard for your comments. Based on our discussion I've produced the patch attached and run it on SPEC2017intrate/fprate on skylake server (with [-Ofast -flto -march=skylake-avx512

<    1   2   3