[Bug c/51309] -Wstrict-overflow false alarm when overflow impossible in loop body

2017-07-25 Thread eggert at gnu dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51309 --- Comment #2 from Paul Eggert --- (In reply to Eric Gallager from comment #1) > I can't seem to reproduce the warning Thanks, I can no longer reproduce the warning either. I used GCC 7.1.1 20170622 (Red Hat 7.1.1-3). So it looks like the

[Bug c++/81557] New: Detect unused const char * and STL string

2017-07-25 Thread jg at jguk dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81557 Bug ID: 81557 Summary: Detect unused const char * and STL string Product: gcc Version: 5.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug other/79250] brig/brigfrontend/brig-to-generic.cc: two small problems

2017-07-25 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79250 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug tree-optimization/81556] New: Wrong code at -O2

2017-07-25 Thread babokin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81556 Bug ID: 81556 Summary: Wrong code at -O2 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization

[Bug demangler/67186] Libiberty fails to demangle C++ function name if clone suffix contains digit

2017-07-25 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67186 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org

[Bug demangler/67299] demangler mishandles complex types

2017-07-25 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67299 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org

[Bug c++/81527] Missing inherited constructor by "using-declarations"

2017-07-25 Thread tuwwcn at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81527 --- Comment #4 from Wei-Wei Tu --- (In reply to Jonathan Wakely from comment #3) > I don't think the code is valid, copy/move constructors are not inherited. > See PR 69853 for a similar bug report. > > *** This bug has been marked as a

[Bug tree-optimization/81555] New: Wrong code at -O1

2017-07-25 Thread babokin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81555 Bug ID: 81555 Summary: Wrong code at -O1 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization

[Bug driver/81519] Enhancement: Add --help=target-distcc or similar to dump clean, optimal CFLAGS without using -march=native

2017-07-25 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81519 --- Comment #3 from Daniel Santos --- (In reply to Martin Liška from comment #1) > I can take a look later for GCC 8.0. Thank you Martin! I still don't understand enough of gcc to be able to do this in any reasonable time frame and I've only

[Bug tree-optimization/81554] [8 Regression] 25% performance regression in Himeno benchmark

2017-07-25 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81554 --- Comment #1 from Andrew Pinski --- #define MR(mt,n,r,c,d) mt->m[(n) * mt->mrows * mt->mcols * mt->mdeps + (r) * mt->mcols* mt->mdeps + (c) * mt->mdeps + (d)] #define MR(mt,n,r,c,d) mt->m[(((n) * mt->mrows + (r)) * mt->mcols + (c)) *

[Bug tree-optimization/81554] [8 Regression] 25% performance regression in Himeno benchmark

2017-07-25 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81554 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization Target

[Bug tree-optimization/81554] New: [8 Regression] 25% performance regression in Himeno benchmark

2017-07-25 Thread kristerw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81554 Bug ID: 81554 Summary: [8 Regression] 25% performance regression in Himeno benchmark Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal

[Bug c/39808] warn_unused_result fails to produce warning in a statement expression

2017-07-25 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39808 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/77304] ICE on C++ code with invalid template parameter: in gimplify_expr, at gimplify.c:11260

2017-07-25 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77304 Paolo Carlini changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|2016-09-07

[Bug rtl-optimization/81553] [8 Regression] ICE in immed_wide_int_const, at emit-rtl.c:607

2017-07-25 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81553 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-valid-code Target|

[Bug c/81524] Bogus or missing warnings when dereferencing pointer to deallocated stack memory

2017-07-25 Thread fredrik.hederstie...@securitas-direct.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81524 --- Comment #3 from Fredrik Hederstierna --- Isn't AddressSanitizer checking in run-time? There are several tools that can find this bugs in runtime I think like Valgrind, but I need to find this at

[Bug libstdc++/81469] std::uncaught_exception should be marked as deprecated for C++1z

2017-07-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81469 --- Comment #5 from Jonathan Wakely --- We'll probably also want to adjust any tests for uncaught_exception so they don't give a deprecated warning when run with RUNTESTFLAGS=unix/-std=c++17

[Bug libstdc++/81469] std::uncaught_exception should be marked as deprecated for C++1z

2017-07-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81469 --- Comment #4 from Jonathan Wakely --- Patches should be sent to the gcc-patches anbd libstdc++ mailing lists, not attached to bugzilla. The line should be wrapped to less than 80 columns, and C++1z should be C++17, although I wouldn't bother

[Bug c++/80737] variant as class member resulting to compile errors

2017-07-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80737 Jonathan Wakely changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug libstdc++/80939] Various helper function templates in incorrectly marked constexpr

2017-07-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80939 Jonathan Wakely changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug libstdc++/81017] Class with vector of unique_ptr and std::function does not compile

2017-07-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81017 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |7.2 --- Comment #9 from Jonathan

[Bug c++/81527] Missing inherited constructor by "using-declarations"

2017-07-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81527 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libstdc++/69853] An inheriting constructor of the class that inherited std::tuple isn't called correctly

2017-07-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69853 Jonathan Wakely changed: What|Removed |Added CC||tuwwcn at gmail dot com --- Comment

[Bug libstdc++/80553] std::vector allows instantiation with type having a deleted destructor

2017-07-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80553 Jonathan Wakely changed: What|Removed |Added Target Milestone|8.0 |7.2

[Bug libstdc++/53984] iostream operation throwing exception when exceptions not enabled

2017-07-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53984 Jonathan Wakely changed: What|Removed |Added Known to work||8.0 --- Comment #10 from Jonathan

[Bug rtl-optimization/81553] New: ICE in immed_wide_int_const, at emit-rtl.c:607

2017-07-25 Thread babokin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81553 Bug ID: 81553 Summary: ICE in immed_wide_int_const, at emit-rtl.c:607 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug libstdc++/53984] iostream operation throwing exception when exceptions not enabled

2017-07-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53984 --- Comment #9 from Jonathan Wakely --- Author: redi Date: Tue Jul 25 20:36:06 2017 New Revision: 250545 URL: https://gcc.gnu.org/viewcvs?rev=250545=gcc=rev Log: PR libstdc++/53984 handle exceptions in basic_istream::sentry PR

[Bug c/81448] False positive -Werror=multistatement-macros in openssl

2017-07-25 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81448 --- Comment #6 from Bernd Edlinger --- (In reply to Marek Polacek from comment #5) > PR81364 is fixed, do you still see any false positives? Well adding braces would fix the warning, but consider this slightly reduced test case: void

[Bug libstdc++/53984] iostream operation throwing exception when exceptions not enabled

2017-07-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53984 --- Comment #8 from Jonathan Wakely --- FAIL: 27_io/basic_filebuf/overflow/char/9182-2.cc execution test This fails because it explicitly tests for an exception: try { fbuf1.sputn("ison", 4); fbuf1.pubsync(); VERIFY(

[Bug c/51309] -Wstrict-overflow false alarm when overflow impossible in loop body

2017-07-25 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51309 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug tree-optimization/81162] [8 Regression] UBSAN switch triggers incorrect optimization in SLSR

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

[Bug tree-optimization/81162] [8 Regression] UBSAN switch triggers incorrect optimization in SLSR

2017-07-25 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81162 --- Comment #16 from Bill Schmidt --- Author: wschmidt Date: Tue Jul 25 19:44:10 2017 New Revision: 250544 URL: https://gcc.gnu.org/viewcvs?rev=250544=gcc=rev Log: [gcc] 2016-07-25 Bill Schmidt Backport

[Bug tree-optimization/81162] [8 Regression] UBSAN switch triggers incorrect optimization in SLSR

2017-07-25 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81162 --- Comment #15 from Bill Schmidt --- Author: wschmidt Date: Tue Jul 25 19:42:36 2017 New Revision: 250543 URL: https://gcc.gnu.org/viewcvs?rev=250543=gcc=rev Log: [gcc] 2016-07-25 Bill Schmidt Backport

[Bug tree-optimization/81162] [8 Regression] UBSAN switch triggers incorrect optimization in SLSR

2017-07-25 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81162 --- Comment #14 from Bill Schmidt --- Author: wschmidt Date: Tue Jul 25 19:40:50 2017 New Revision: 250542 URL: https://gcc.gnu.org/viewcvs?rev=250542=gcc=rev Log: [gcc] 2016-07-25 Bill Schmidt Backport

[Bug rtl-optimization/81538] Optimization problem compiling op.c (Perl_custom_op_get_field) in perl 5.26

2017-07-25 Thread dave.anglin at bell dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81538 --- Comment #6 from dave.anglin at bell dot net --- On 2017-07-25, at 2:46 PM, dave.anglin at bell dot net wrote: > Both gcc-5 and gcc-6 are broken. Take that back; only gcc-6 is broken. I incorrectly set the package up for gcc-5 in my first

[Bug target/81521] [8 Regression] After [r250413] GCC 8.0 doesn't compile for Windows

2017-07-25 Thread mateuszb at poczta dot onet.pl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81521 mateuszb at poczta dot onet.pl changed: What|Removed |Added Status|NEW |RESOLVED

[Bug c/50422] -Wswitch warns about unhandled cases in nested switches

2017-07-25 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50422 Eric Gallager changed: What|Removed |Added Keywords||diagnostic

[Bug c/49702] Undefined static functions resolve to external definitions

2017-07-25 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49702 Eric Gallager changed: What|Removed |Added Keywords||diagnostic

[Bug c/45977] "warning: 'i' initialized and declared 'extern'" could use a separate warning flag controlling it

2017-07-25 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45977 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c/45977] "warning: 'i' initialized and declared 'extern'" could use a separate warning flag controlling it

2017-07-25 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45977 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org

[Bug c/38481] Add attribute for custom sentinels

2017-07-25 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38481 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c/38481] Add attribute for custom sentinels

2017-07-25 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38481 Eric Gallager changed: What|Removed |Added CC||ericb at gcc dot gnu.org --- Comment #1

[Bug c/47702] feature request: sentinel_value

2017-07-25 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47702 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug libstdc++/81469] std::uncaught_exception should be marked as deprecated for C++1z

2017-07-25 Thread danielgutson at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81469 --- Comment #3 from Daniel Gutson --- Any update on this? Could someone review the proposed patch?

[Bug c/20385] Lame parse error message for undefined type

2017-07-25 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20385 Eric Gallager changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c/20385] Lame parse error message for undefined type

2017-07-25 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20385 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org ---

[Bug rtl-optimization/81538] Optimization problem compiling op.c (Perl_custom_op_get_field) in perl 5.26

2017-07-25 Thread dave.anglin at bell dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81538 --- Comment #5 from dave.anglin at bell dot net --- On 2017-07-25, at 10:02 AM, dave.anglin at bell dot net wrote: > Will check gcc-5 when current build > completes. Both gcc-5 and gcc-6 are broken. -- John David Anglin

[Bug c/43728] Warning for redundant static function prototypes

2017-07-25 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43728 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c/39985] Type qualifiers not actually ignored on function return type

2017-07-25 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39985 Eric Gallager changed: What|Removed |Added Keywords||patch Status|UNCONFIRMED

[Bug c/37874] gcc sometimes accepts attribute in identifier list

2017-07-25 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37874 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org ---

[Bug libstdc++/80553] std::vector allows instantiation with type having a deleted destructor

2017-07-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80553 --- Comment #10 from Jonathan Wakely --- Author: redi Date: Tue Jul 25 18:05:13 2017 New Revision: 250539 URL: https://gcc.gnu.org/viewcvs?rev=250539=gcc=rev Log: PR libstdc++/80553 don't allow destroying non-destructible types Backport from

[Bug libstdc++/81017] Class with vector of unique_ptr and std::function does not compile

2017-07-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81017 --- Comment #8 from Jonathan Wakely --- Author: redi Date: Tue Jul 25 18:04:54 2017 New Revision: 250536 URL: https://gcc.gnu.org/viewcvs?rev=250536=gcc=rev Log: PR libstdc++/81017 add noexcept to std::function move operations Backport from

[Bug c++/80737] variant as class member resulting to compile errors

2017-07-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80737 --- Comment #8 from Jonathan Wakely --- Author: redi Date: Tue Jul 25 18:04:27 2017 New Revision: 250532 URL: https://gcc.gnu.org/viewcvs?rev=250532=gcc=rev Log: PR libstdc++/80737 backport std::variant fix from mainline Backport from mainline

[Bug libstdc++/80939] Various helper function templates in incorrectly marked constexpr

2017-07-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80939 --- Comment #3 from Jonathan Wakely --- Author: redi Date: Tue Jul 25 18:04:32 2017 New Revision: 250533 URL: https://gcc.gnu.org/viewcvs?rev=250533=gcc=rev Log: PR libstdc++/80939 Remove unmeetable constexpr specifiers Backport from mainline

[Bug c/41027] Missing warning from -Wc++-compat

2017-07-25 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41027 Eric Gallager changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug sanitizer/81275] [5/6/7/8 Regression] -fsanitize=thread produce incorrect -Wreturn-type warning

2017-07-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81275 --- Comment #3 from Jakub Jelinek --- To get rid of the warning just with -fsanitize=threads we could do: --- gcc/tree-eh.c.jj2017-07-14 13:04:47.0 +0200 +++ gcc/tree-eh.c 2017-07-25 17:09:58.279461377 +0200 @@ -1598,7 +1598,8

[Bug c++/60517] warning/error for taking address of member of a temporary object

2017-07-25 Thread lopezibanez at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60517 --- Comment #24 from Manuel López-Ibáñez --- How does typeck.c check that it is a temporary? The important thing is not that it is an ARRAY_REF but that it is a member of a temporary object. Not sure how to check that. Marc points above that

[Bug target/81521] [8 Regression] After [r250413] GCC 8.0 doesn't compile for Windows

2017-07-25 Thread wilson at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81521 Jim Wilson changed: What|Removed |Added CC||wilson at gcc dot gnu.org --- Comment #5

[Bug c/19972] -Wreturn-local-addr misses return of local (nested) function pointer

2017-07-25 Thread patrick.pelissier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19972 --- Comment #3 from Patrick Pelissier --- I have tested with GCC 7.1.0 the code of #0 (forget the function h, this was only a reference) and the status is the same as described in #0. For the following code, int (*apply (int (*f) (const void

[Bug target/81551] [ARM] Incorrect STRD to misaligned address.

2017-07-25 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81551 ktkachov at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug fortran/81552] New: -finit-integer=n

2017-07-25 Thread poupycle at hotmail dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81552 Bug ID: 81552 Summary: -finit-integer=n Product: gcc Version: 7.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee:

[Bug target/81521] [8 Regression] After [r250413] GCC 8.0 doesn't compile for Windows

2017-07-25 Thread wilson at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81521 --- Comment #4 from Jim Wilson --- Author: wilson Date: Tue Jul 25 16:06:37 2017 New Revision: 250529 URL: https://gcc.gnu.org/viewcvs?rev=250529=gcc=rev Log: Fix i686-pc-cygwin build failure. gcc/ PR bootstrap/81521 *

[Bug c++/60517] warning/error for taking address of member of a temporary object

2017-07-25 Thread fredrik.hederstie...@securitas-direct.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60517 --- Comment #23 from Fredrik Hederstierna --- Ah ok, yes I think you are right. The check could possibly be in "cp/typeck.c" and "cp/tree.c"? but I'm not familiar with this C++ parsing code.

[Bug target/81551] [ARM] Incorrect STRD to misaligned address.

2017-07-25 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81551 ktkachov at gcc dot gnu.org changed: What|Removed |Added CC||ktkachov at gcc dot gnu.org

[Bug target/81551] New: [ARM] Incorrect STRD to misaligned address.

2017-07-25 Thread belagod at gcc dot gnu.org
--disable-rda --disable-sid --disable-tui --disable-utils --disable-werror --disable-fixed-point Thread model: single gcc version 8.0.0 20170725 (experimental) (GCC)

[Bug target/81550] New: [8 regression] gcc.target/powerpc/loop_align.c fails starting with r250482

2017-07-25 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81550 Bug ID: 81550 Summary: [8 regression] gcc.target/powerpc/loop_align.c fails starting with r250482 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity:

[Bug sanitizer/81275] [5/6/7/8 Regression] -fsanitize=thread produce incorrect -Wreturn-type warning

2017-07-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81275 --- Comment #2 from Jakub Jelinek --- You get the same thing with any other cleanup, say: struct C { C (); ~C (); }; int foo (int a, int b) { C c; switch (a) { case 0: switch (b) { default: return 0;

[Bug c/63878] Variables of incomplete type can be defined with -fno-fat-lto-objects

2017-07-25 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63878 Bug 63878 depends on bug 24293, which changed state. Bug 24293 Summary: Undefined behaviour not diagnosed with -fsyntax-only https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24293 What|Removed |Added

[Bug c/24293] Undefined behaviour not diagnosed with -fsyntax-only

2017-07-25 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24293 Eric Gallager changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c/39117] missed strict-aliasing warning

2017-07-25 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39117 Eric Gallager changed: What|Removed |Added Keywords||diagnostic CC|

[Bug target/81407] [avr] Diagnose if a variable in progmem needs constructing.

2017-07-25 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81407 Georg-Johann Lay changed: What|Removed |Added Target Milestone|8.0 |7.2

[Bug target/81407] [avr] Diagnose if a variable in progmem needs constructing.

2017-07-25 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81407 --- Comment #3 from Georg-Johann Lay --- Author: gjl Date: Tue Jul 25 14:32:30 2017 New Revision: 250522 URL: https://gcc.gnu.org/viewcvs?rev=250522=gcc=rev Log: gcc/ Backport from 2017-07-12 trunk r250151. PR target/81407

[Bug other/56780] --disable-install-libiberty still installs libiberty.a

2017-07-25 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56780 Eric Gallager changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug target/81532] [8 Regression] insn does not satisfy its constraints: extract_constrain_insn, at recog.c:2213

2017-07-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81532 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug rtl-optimization/81538] Optimization problem compiling op.c (Perl_custom_op_get_field) in perl 5.26

2017-07-25 Thread dave.anglin at bell dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81538 --- Comment #4 from dave.anglin at bell dot net --- On 2017-07-25, at 3:46 AM, rguenth at gcc dot gnu.org wrote: > Any other compiler versions to put in known-to-work/fail? The fault doesn't occur with gcc-7: gcc version 7.1.0 (Debian 7.1.0-9).

[Bug tree-optimization/81549] PHI node should be eliminated if loop iterates enough times.

2017-07-25 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81549 --- Comment #4 from rguenther at suse dot de --- On Tue, 25 Jul 2017, amker at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81549 > > --- Comment #2 from amker at gcc dot gnu.org --- > (In reply to Richard Biener from

[Bug tree-optimization/81549] PHI node should be eliminated if loop iterates enough times.

2017-07-25 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81549 --- Comment #3 from amker at gcc dot gnu.org --- (In reply to amker from comment #2) > (In reply to Richard Biener from comment #1) > > Confirmed. This is sort of final value replacement (but not SCEV based). Hmm, it could be SCEV based if we

[Bug tree-optimization/81549] PHI node should be eliminated if loop iterates enough times.

2017-07-25 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81549 --- Comment #2 from amker at gcc dot gnu.org --- (In reply to Richard Biener from comment #1) > Confirmed. This is sort of final value replacement (but not SCEV based). Hi, do we have dedicated pass responsible for this transformation? Thanks.

[Bug c/81544] attribute noreturn and warn_unused_result on the same function accepted

2017-07-25 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81544 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug other/56860] Texinfo bug in doc/cppopts.texi

2017-07-25 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56860 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug target/81532] [8 Regression] insn does not satisfy its constraints: extract_constrain_insn, at recog.c:2213

2017-07-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81532 --- Comment #3 from Jakub Jelinek --- Author: jakub Date: Tue Jul 25 13:35:17 2017 New Revision: 250520 URL: https://gcc.gnu.org/viewcvs?rev=250520=gcc=rev Log: PR target/81532 * config/i386/constraints.md (Yd, Ye): Use

[Bug tree-optimization/81549] PHI node should be eliminated if loop iterates enough times.

2017-07-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81549 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug other/49578] Profiling: call graph table overflows on Solaris.

2017-07-25 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49578 Eric Gallager changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug tree-optimization/81455] [7 Regression] Compile-time hog w/ -O1 -funswitch-loops

2017-07-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81455 Richard Biener changed: What|Removed |Added Known to work||8.0 Summary|[7/8

[Bug tree-optimization/81455] [7 Regression] Compile-time hog w/ -O1 -funswitch-loops

2017-07-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81455 Richard Biener changed: What|Removed |Added Known to work||8.0 Summary|[7/8

[Bug tree-optimization/81529] [8 Regression] ICE in vectorizable_induction, at tree-vect-loop.c:6613

2017-07-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81529 --- Comment #4 from Richard Biener --- Author: rguenth Date: Tue Jul 25 13:22:31 2017 New Revision: 250517 URL: https://gcc.gnu.org/viewcvs?rev=250517=gcc=rev Log: 2017-07-25 Richard Biener PR

[Bug tree-optimization/81529] [8 Regression] ICE in vectorizable_induction, at tree-vect-loop.c:6613

2017-07-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81529 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/79041] aarch64 backend emits R_AARCH64_ADR_PREL_PG_HI21 relocation despite -mpc-relative-literal-loads option being used

2017-07-25 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79041 Wilco changed: What|Removed |Added CC||wilco at gcc dot gnu.org --- Comment #9 from

[Bug tree-optimization/81488] [8 Regression] gcc goes off the limits allocating memory in gimple-ssa-strength-reduction.c

2017-07-25 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81488 Bill Schmidt changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |wschmidt at gcc dot gnu.org ---

[Bug tree-optimization/81549] New: PHI node should be eliminated if loop iterates enough times.

2017-07-25 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81549 Bug ID: 81549 Summary: PHI node should be eliminated if loop iterates enough times. Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/81503] [8 Regression] Wrong code at -O2

2017-07-25 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81503 --- Comment #7 from Bill Schmidt --- Try -fno-slsr.

[Bug fortran/79930] Potentially Missed Optimisation for MATMUL / DOT_PRODUCT

2017-07-25 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79930 Thomas Koenig changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug libfortran/80365] undefined memcpy while writing zero length array on unformatted stream in unix.c

2017-07-25 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80365 Thomas Koenig changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/79793] Incorrect stack alignment for interrupt handler in 64-bit

2017-07-25 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79793 H.J. Lu changed: What|Removed |Added Attachment #41826|0 |1 is obsolete|

[Bug c++/81533] g++ pops up a constructor for objects that could be initialized at load-time

2017-07-25 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81533 --- Comment #2 from Georg-Johann Lay --- (In reply to Richard Biener from comment #1) > I think there's a separate PR with the suggestion to try constexpr > evaluation of all constructors for optimization. Addresses are not constexpr because

[Bug tree-optimization/49857] Put constant switch-tables into flash

2017-07-25 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49857 --- Comment #16 from Georg-Johann Lay --- (In reply to Georg-Johann Lay from comment #15) > pr49857-v2-all.diff: Proposed patch Problems so far: * ivopts may shred address-space which results in wrong code. This is is the reason for why the

[Bug tree-optimization/49857] Put constant switch-tables into flash

2017-07-25 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49857 --- Comment #15 from Georg-Johann Lay --- Created attachment 41829 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41829=edit pr49857-v2-all.diff: Proposed patch PR 49857 * target.def

[Bug target/79041] aarch64 backend emits R_AARCH64_ADR_PREL_PG_HI21 relocation despite -mpc-relative-literal-loads option being used

2017-07-25 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79041 --- Comment #8 from Wilco --- Author: wilco Date: Tue Jul 25 12:08:59 2017 New Revision: 250514 URL: https://gcc.gnu.org/viewcvs?rev=250514=gcc=rev Log: Fix PR79041 As described in PR79041, -mcmodel=large -mpc-relative-literal-loads may be

[Bug target/79793] Incorrect stack alignment for interrupt handler in 64-bit

2017-07-25 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79793 --- Comment #12 from H.J. Lu --- Created attachment 41828 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41828=edit An updated patch Update gcc.dg/guality/pr68037-1.c. I got FAIL: gcc.dg/guality/pr68037-1.c -O2 -flto

[Bug rtl-optimization/75964] insn combiner removes comparison after ABS

2017-07-25 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=75964 Georg-Johann Lay changed: What|Removed |Added Status|NEW |RESOLVED Known to work|

  1   2   3   >