[Bug rtl-optimization/82103] New: spurious stringop-overflow warning

2017-09-04 Thread arnd at linaro dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82103 Bug ID: 82103 Summary: spurious stringop-overflow warning Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug target/28582] error "'operator new' takes type 'size_t' " reported inside gcc header file

2017-09-04 Thread rol...@johnsmith-book.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28582 Roland Hughes changed: What|Removed |Added CC|

[Bug target/81693] FAIL: gcc.dg/torture/pr25967-*.c -O* execution test on darwin

2017-09-04 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81693 --- Comment #27 from H.J. Lu --- By definition of the "naked" attribute, the program is responsible to manage stack. Since simulated interrupt functions don't follow the normal software calling convention and there is no attempt made to

[Bug target/81693] FAIL: gcc.dg/torture/pr25967-*.c -O* execution test on darwin

2017-09-04 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81693 --- Comment #26 from H.J. Lu --- Created attachment 42120 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42120=edit Another testcase to show the issue on Linux

[Bug target/81693] FAIL: gcc.dg/torture/pr25967-*.c -O* execution test on darwin

2017-09-04 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81693 --- Comment #25 from H.J. Lu --- Created attachment 42119 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42119=edit A testcase to show the issue on Linux

[Bug tree-optimization/82102] [8 Regression] ICE: Segmentation fault in /home/arnd/git/gcc/gcc/tree-ssa-pre.c:4863

2017-09-04 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82102 Andreas Schwab changed: What|Removed |Added Keywords||build

[Bug tree-optimization/82102] New: [8 Regression] ICE: Segmentation fault in /home/arnd/git/gcc/gcc/tree-ssa-pre.c:4863

2017-09-04 Thread arnd at linaro dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82102 Bug ID: 82102 Summary: [8 Regression] ICE: Segmentation fault in /home/arnd/git/gcc/gcc/tree-ssa-pre.c:4863 Product: gcc Version: 8.0 Status: UNCONFIRMED

[Bug bootstrap/82045] [8 regression] SPARC bootstrap broken: ICE in emit_library_call_value_1, at calls.c:4565

2017-09-04 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82045 rsandifo at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug c++/82101] New: Uninitialized variable detection failed with variables in for loop

2017-09-04 Thread shane at paga dot moe
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82101 Bug ID: 82101 Summary: Uninitialized variable detection failed with variables in for loop Product: gcc Version: 7.1.1 Status: UNCONFIRMED Severity: normal

[Bug c/53037] warn_if_not_aligned(X)

2017-09-04 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53037 John David Anglin changed: What|Removed |Added CC||danglin at gcc dot gnu.org ---

[Bug tree-optimization/58454] Potentially wrong(or at least weird/inconsistent) code generation with -O2 -fno-strict-overflow

2017-09-04 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58454 Manuel López-Ibáñez changed: What|Removed |Added Target Milestone|--- |8.0 --- Comment #8 from Manuel

[Bug c/82100] gcc does not warn about code that is unreachable due to conflicting conditions [subset of reviving -Wunreachable-code]

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

[Bug target/82098] [8 regression] internal compiler error: in elimination_costs_in_insn, at reload1.c:3616, -march=i686

2017-09-04 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82098 Uroš Bizjak changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/82098] [8 regression] internal compiler error: in elimination_costs_in_insn, at reload1.c:3616, -march=i686

2017-09-04 Thread uros at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82098 --- Comment #3 from uros at gcc dot gnu.org --- Author: uros Date: Mon Sep 4 18:28:20 2017 New Revision: 251682 URL: https://gcc.gnu.org/viewcvs?rev=251682=gcc=rev Log: PR target/82098 * config/i386/i386.md (*_mask): Add

[Bug middle-end/26461] liveness of thread local references across function calls

2017-09-04 Thread cbcode at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26461 cbcode at gmail dot com changed: What|Removed |Added CC||cbcode at gmail dot com ---

[Bug target/82098] [8 regression] internal compiler error: in elimination_costs_in_insn, at reload1.c:3616, -march=i686

2017-09-04 Thread arnd at linaro dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82098 --- Comment #2 from Arnd Bergmann --- The patch from comment fixes all instances for me, in nine distinct source files.

[Bug c/82100] gcc cannot detect unreachable code even when -Wunreachable-code is in effect

2017-09-04 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82100 --- Comment #1 from Andrew Pinski --- The code for Wunreachable-code was removed a long time ago (around 5-10 years ago).

[Bug c/82100] New: gcc cannot detect unreachable code even when -Wunreachable-code is in effect

2017-09-04 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82100 Bug ID: 82100 Summary: gcc cannot detect unreachable code even when -Wunreachable-code is in effect Product: gcc Version: 8.0 Status: UNCONFIRMED Severity:

[Bug libstdc++/79820] std::ifstream sets errno to zero

2017-09-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79820 Jonathan Wakely changed: What|Removed |Added Target Milestone|8.0 |5.5 --- Comment #12 from Jonathan

[Bug libstdc++/81751] [5/6/7 Regression]__basic_file::sync() may flush _all_ files

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

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

2017-09-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53984 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |5.5

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

2017-09-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53984 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-09-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81017 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/81338] stringstream remains empty after being moved into multiple times

2017-09-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81338 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |5.5

[Bug libstdc++/79162] [7/8 Regression] [C++17] ambiguity in string assignment due to string_view overload

2017-09-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79162 --- Comment #18 from Jonathan Wakely --- Fixed on trunk so far.

[Bug libstdc++/81338] stringstream remains empty after being moved into multiple times

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

[Bug libstdc++/81891] [5/6/7 Regression] heap-use-after-free if inserting element in std::unordered_map(InputIt, InputIt) throws

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

[Bug c++/82039] -Wzero-as-null-pointer-constant triggers when calling std::allocate<...>::allocate

2017-09-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82039 --- Comment #8 from Jonathan Wakely --- Fixed for all active branches.

[Bug libstdc++/81751] [5/6/7 Regression]__basic_file::sync() may flush _all_ files

2017-09-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81751 --- Comment #11 from Jonathan Wakely --- Author: redi Date: Mon Sep 4 17:09:05 2017 New Revision: 251680 URL: https://gcc.gnu.org/viewcvs?rev=251680=gcc=rev Log: PR libstdc++/81751 don't call fflush(NULL) Backport from mainline 2017-08-09

[Bug libstdc++/79820] std::ifstream sets errno to zero

2017-09-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79820 --- Comment #11 from Jonathan Wakely --- Author: redi Date: Mon Sep 4 17:09:05 2017 New Revision: 251680 URL: https://gcc.gnu.org/viewcvs?rev=251680=gcc=rev Log: PR libstdc++/81751 don't call fflush(NULL) Backport from mainline 2017-08-09

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

2017-09-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53984 --- Comment #13 from Jonathan Wakely --- Author: redi Date: Mon Sep 4 17:09:01 2017 New Revision: 251679 URL: https://gcc.gnu.org/viewcvs?rev=251679=gcc=rev Log: PR libstdc++/53984 handle exceptions in basic_istream::sentry Backport from

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

2017-09-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81017 --- Comment #11 from Jonathan Wakely --- Author: redi Date: Mon Sep 4 17:08:56 2017 New Revision: 251678 URL: https://gcc.gnu.org/viewcvs?rev=251678=gcc=rev Log: PR libstdc++/81017 add noexcept to std::function move operations Backport from

[Bug bootstrap/54447] gmp in source does not work on alphaev68-dec-osf5.1a

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

[Bug libstdc++/79820] std::ifstream sets errno to zero

2017-09-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79820 --- Comment #10 from Jonathan Wakely --- Author: redi Date: Mon Sep 4 16:52:30 2017 New Revision: 251676 URL: https://gcc.gnu.org/viewcvs?rev=251676=gcc=rev Log: PR libstdc++/81751 don't call fflush(NULL) Backport from mainline 2017-08-09

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

2017-09-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53984 --- Comment #12 from Jonathan Wakely --- Author: redi Date: Mon Sep 4 16:52:25 2017 New Revision: 251675 URL: https://gcc.gnu.org/viewcvs?rev=251675=gcc=rev Log: PR libstdc++/53984 handle exceptions in basic_istream::sentry Backport from

[Bug libstdc++/81751] [5/6/7 Regression]__basic_file::sync() may flush _all_ files

2017-09-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81751 --- Comment #10 from Jonathan Wakely --- Author: redi Date: Mon Sep 4 16:52:30 2017 New Revision: 251676 URL: https://gcc.gnu.org/viewcvs?rev=251676=gcc=rev Log: PR libstdc++/81751 don't call fflush(NULL) Backport from mainline 2017-08-09

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

2017-09-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81017 --- Comment #10 from Jonathan Wakely --- Author: redi Date: Mon Sep 4 16:52:20 2017 New Revision: 251674 URL: https://gcc.gnu.org/viewcvs?rev=251674=gcc=rev Log: PR libstdc++/81017 add noexcept to std::function move operations Backport from

[Bug tree-optimization/58454] Potentially wrong(or at least weird/inconsistent) code generation with -O2 -fno-strict-overflow

2017-09-04 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58454 --- Comment #7 from rguenther at suse dot de --- On September 4, 2017 5:51:13 PM GMT+02:00, "manu at gcc dot gnu.org" wrote: >https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58454 > >Manuel López-Ibáñez changed: > >

[Bug c++/82099] internal compiler error: in type_throw_all_p, at cp/except.c:1186 when using a function pointer for templated predicate

2017-09-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82099 --- Comment #4 from Jakub Jelinek --- Slightly adjusted testcase that better matches what the original had: template void bar (T , T , U u) { u (x, y); } template void baz (T , T ) noexcept (noexcept (x == y)); void foo (int x, int y) {

[Bug c++/82039] -Wzero-as-null-pointer-constant triggers when calling std::allocate<...>::allocate

2017-09-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82039 --- Comment #7 from Jonathan Wakely --- Author: redi Date: Mon Sep 4 16:41:38 2017 New Revision: 251672 URL: https://gcc.gnu.org/viewcvs?rev=251672=gcc=rev Log: PR c++/82039 suppress -Wzero-as-null-pointer-constant warning Backport from

[Bug libstdc++/81599] Error in documentation of std::stack

2017-09-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81599 --- Comment #6 from Jonathan Wakely --- Author: redi Date: Mon Sep 4 16:41:29 2017 New Revision: 251670 URL: https://gcc.gnu.org/viewcvs?rev=251670=gcc=rev Log: PR libstdc++/81599 fix typo in Doxygen comments Backport from mainline 2017-07-31

[Bug libstdc++/81891] [5/6/7 Regression] heap-use-after-free if inserting element in std::unordered_map(InputIt, InputIt) throws

2017-09-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81891 --- Comment #8 from Jonathan Wakely --- Author: redi Date: Mon Sep 4 16:41:34 2017 New Revision: 251671 URL: https://gcc.gnu.org/viewcvs?rev=251671=gcc=rev Log: PR libstdc++/81891 fix double-free in hashtable constructor Backport from

[Bug libstdc++/81338] stringstream remains empty after being moved into multiple times

2017-09-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81338 --- Comment #5 from Jonathan Wakely --- Author: redi Date: Mon Sep 4 16:41:25 2017 New Revision: 251669 URL: https://gcc.gnu.org/viewcvs?rev=251669=gcc=rev Log: PR libstdc++/81338 correctly manage string capacity Backport from mainline

[Bug c++/82099] internal compiler error: in type_throw_all_p, at cp/except.c:1186 when using a function pointer for templated predicate

2017-09-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82099 Jakub Jelinek changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #3

[Bug c++/82099] internal compiler error: in type_throw_all_p, at cp/except.c:1186 when using a function pointer for templated predicate

2017-09-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82099 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/81988] [7/8 regression] invalid std instruction with odd register

2017-09-04 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81988 --- Comment #6 from Eric Botcazou --- > I've attached a reduced testcase which fails on GCC 7 and 8 with the same > kind of error. This issue is an STD instruction which tries to store an odd > numbered register which is not allowed: Can you

[Bug libstdc++/81891] [5/6/7 Regression] heap-use-after-free if inserting element in std::unordered_map(InputIt, InputIt) throws

2017-09-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81891 --- Comment #7 from Jonathan Wakely --- Author: redi Date: Mon Sep 4 16:17:07 2017 New Revision: 251667 URL: https://gcc.gnu.org/viewcvs?rev=251667=gcc=rev Log: PR libstdc++/81891 fix double-free in hashtable constructor Backport from

[Bug libstdc++/81599] Error in documentation of std::stack

2017-09-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81599 --- Comment #5 from Jonathan Wakely --- Author: redi Date: Mon Sep 4 16:17:03 2017 New Revision: 251666 URL: https://gcc.gnu.org/viewcvs?rev=251666=gcc=rev Log: PR libstdc++/81599 fix typo in Doxygen comments Backport from mainline 2017-07-31

[Bug c++/82039] -Wzero-as-null-pointer-constant triggers when calling std::allocate<...>::allocate

2017-09-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82039 --- Comment #6 from Jonathan Wakely --- Author: redi Date: Mon Sep 4 16:17:11 2017 New Revision: 251668 URL: https://gcc.gnu.org/viewcvs?rev=251668=gcc=rev Log: PR c++/82039 suppress -Wzero-as-null-pointer-constant warning Backport from

[Bug libstdc++/81338] stringstream remains empty after being moved into multiple times

2017-09-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81338 --- Comment #4 from Jonathan Wakely --- Author: redi Date: Mon Sep 4 16:16:58 2017 New Revision: 251665 URL: https://gcc.gnu.org/viewcvs?rev=251665=gcc=rev Log: PR libstdc++/81338 correctly manage string capacity Backport from mainline

[Bug tree-optimization/58454] Potentially wrong(or at least weird/inconsistent) code generation with -O2 -fno-strict-overflow

2017-09-04 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58454 Manuel López-Ibáñez changed: What|Removed |Added CC||rguenth at gcc dot gnu.org ---

[Bug libstdc++/79162] [7/8 Regression] [C++17] ambiguity in string assignment due to string_view overload

2017-09-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79162 --- Comment #17 from Jonathan Wakely --- Author: redi Date: Mon Sep 4 15:48:47 2017 New Revision: 251664 URL: https://gcc.gnu.org/viewcvs?rev=251664=gcc=rev Log: PR libstdc++/79162 implement LWG 2946 and LWG 2758 2017-09-04 Daniel Kruegler

[Bug middle-end/82004] [8 Regression] SPEC CPU2017 628.pop2_s miscompare

2017-09-04 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82004 --- Comment #5 from Andrey Guskov --- This is the actual guilty line: sw_absorption.F90:chlamnt = 10**(logchl) It computes 'chlamnt' and then compares it to the list of acceptable values. When -Ofast is enabled, CPU2017::628 considers

[Bug target/82098] [8 regression] internal compiler error: in elimination_costs_in_insn, at reload1.c:3616, -march=i686

2017-09-04 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82098 Uroš Bizjak changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug middle-end/82004] [8 Regression] SPEC CPU2017 628.pop2_s miscompare

2017-09-04 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82004 --- Comment #4 from Andrey Guskov --- Okay, finally I`ve got a minimal reproducer. All this miscompare boils down to the following: program r628 real(8) :: l = -3 print *, merge("PASSED", "FAILED", 1D-3 .le. 10**l) end program r628 Normally,

[Bug c++/82099] internal compiler error: in type_throw_all_p, at cp/except.c:1186 when using a function pointer for templated predicate

2017-09-04 Thread gcc at hazardy dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82099 --- Comment #1 from Björn Schäpers --- Created attachment 42117 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42117=edit The preprocessed test file.

[Bug c++/82099] New: internal compiler error: in type_throw_all_p, at cp/except.c:1186 when using a function pointer for templated predicate

2017-09-04 Thread gcc at hazardy dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82099 Bug ID: 82099 Summary: internal compiler error: in type_throw_all_p, at cp/except.c:1186 when using a function pointer for templated predicate Product: gcc

[Bug target/77308] surprisingly large stack usage for sha512 on arm

2017-09-04 Thread edlinger at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77308 --- Comment #64 from Bernd Edlinger --- Author: edlinger Date: Mon Sep 4 15:25:59 2017 New Revision: 251663 URL: https://gcc.gnu.org/viewcvs?rev=251663=gcc=rev Log: 2017-09-04 Bernd Edlinger PR

[Bug tree-optimization/81913] [8 Regression] wrong code at -O1

2017-09-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81913 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #7

[Bug c++/81933] [7/8 Regression] Invalid "constexpr call flows off the end of the function" error

2017-09-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81933 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/81979] [8 Regression] Assembler messages: Error: can't resolve `.got2' {.got2 section} - `.LCF0' {.text.unlikely section}

2017-09-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81979 --- Comment #3 from Jakub Jelinek --- Created attachment 42115 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42115=edit gcc8-pr81979.patch Untested fix.

[Bug target/81979] [8 Regression] Assembler messages: Error: can't resolve `.got2' {.got2 section} - `.LCF0' {.text.unlikely section}

2017-09-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81979 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug other/81979] [8 Regression] Assembler messages: Error: can't resolve `.got2' {.got2 section} - `.LCF0' {.text.unlikely section}

2017-09-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81979 Jakub Jelinek changed: What|Removed |Added Target|powerpcspe-*-linux-gnu* |powerpc-*-linux-gnu*,

[Bug c++/82084] [5/6/7 Regression] ICE: constructing wstring with -O3

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

[Bug c++/82084] [5/6/7/8 Regression] ICE: constructing wstring with -O3

2017-09-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82084 --- Comment #7 from Richard Biener --- Author: rguenth Date: Mon Sep 4 14:10:11 2017 New Revision: 251661 URL: https://gcc.gnu.org/viewcvs?rev=251661=gcc=rev Log: 2017-09-04 Richard Biener PR

[Bug c/81783] -Wtautological-compare could do better

2017-09-04 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81783 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c/81783] -Wtautological-compare could do better

2017-09-04 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81783 --- Comment #4 from Marek Polacek --- Author: mpolacek Date: Mon Sep 4 14:05:01 2017 New Revision: 251660 URL: https://gcc.gnu.org/viewcvs?rev=251660=gcc=rev Log: PR c/81783 * c-warn.c (warn_tautological_bitwise_comparison):

[Bug tree-optimization/64910] tree reassociation results in poor code

2017-09-04 Thread law at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64910 --- Comment #3 from Jeffrey A. Law --- Author: law Date: Mon Sep 4 14:00:29 2017 New Revision: 251659 URL: https://gcc.gnu.org/viewcvs?rev=251659=gcc=rev Log: 2017-09-03 Jeff Law PR tree-optimization/64910

[Bug tree-optimization/64910] tree reassociation results in poor code

2017-09-04 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64910 Jeffrey A. Law changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/82098] [8 regression] internal compiler error: in elimination_costs_in_insn, at reload1.c:3616, -march=i686

2017-09-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82098 Richard Biener changed: What|Removed |Added Target Milestone|--- |8.0

[Bug libstdc++/81912] std::distance not constexpr in C++17 mode

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

[Bug tree-optimization/82060] [7 Regression] ICE in refs_may_alias_p_1 with devirtualization enabled

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

[Bug sanitizer/82072] sanitizer does not detect an overflow from LLONG_MIN

2017-09-04 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82072 --- Comment #15 from Marek Polacek --- I'm not sure if it even makes a difference, but I've added the check.

[Bug sanitizer/82072] sanitizer does not detect an overflow from LLONG_MIN

2017-09-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82072 --- Comment #14 from Jakub Jelinek --- (In reply to Marek Polacek from comment #13) > So maybe > > --- a/gcc/convert.c > +++ b/gcc/convert.c > @@ -886,6 +886,10 @@ convert_to_integer_1 (tree type, tree expr, bool dofold) > break; > >

[Bug sanitizer/81981] [8 Regression] -fsanitize=undefined makes a -Wmaybe-uninitialized warning disappear

2017-09-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81981 --- Comment #5 from Jakub Jelinek --- Fixed.

[Bug sanitizer/82072] sanitizer does not detect an overflow from LLONG_MIN

2017-09-04 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82072 --- Comment #13 from Marek Polacek --- So maybe --- a/gcc/convert.c +++ b/gcc/convert.c @@ -886,6 +886,10 @@ convert_to_integer_1 (tree type, tree expr, bool dofold) break; case NEGATE_EXPR: + /* Using unsigned arithmetic

[Bug target/82002] [8 Regression] ICE in sp_valid_at, at config/i386/i386.c:13233

2017-09-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82002 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #3

[Bug target/82098] New: [8 regression] internal compiler error: in elimination_costs_in_insn, at reload1.c:3616, -march=i686

2017-09-04 Thread arnd at linaro dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82098 Bug ID: 82098 Summary: [8 regression] internal compiler error: in elimination_costs_in_insn, at reload1.c:3616, -march=i686 Product: gcc Version: 8.0

[Bug sanitizer/82072] sanitizer does not detect an overflow from LLONG_MIN

2017-09-04 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82072 --- Comment #12 from Marek Polacek --- (In reply to Vittorio Zecca from comment #10) > A related issue is the following: > > /* UB sanitizer should detect undefined negation of LLONG_MIN */ > /* must be compiled with -fsanitize=undefined and

[Bug target/82012] [8 Regression] libitm build fails for s390x-linux-gnu

2017-09-04 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82012 --- Comment #11 from rguenther at suse dot de --- On Mon, 4 Sep 2017, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82012 > > Jakub Jelinek changed: > >What|Removed |Added

[Bug target/82012] [8 Regression] libitm build fails for s390x-linux-gnu

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

[Bug fortran/82064] [7/8 Regression] [OOP] multiple incompatible definitions of extended derived type via module use

2017-09-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82064 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P4 CC|

[Bug libstdc++/81912] std::distance not constexpr in C++17 mode

2017-09-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81912 --- Comment #4 from Jonathan Wakely --- Author: redi Date: Mon Sep 4 12:24:53 2017 New Revision: 251657 URL: https://gcc.gnu.org/viewcvs?rev=251657=gcc=rev Log: PR libstdc++/81912 make std::__iterator_category constexpr Backport from mainline

[Bug libstdc++/81891] [5/6/7 Regression] heap-use-after-free if inserting element in std::unordered_map(InputIt, InputIt) throws

2017-09-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81891 --- Comment #6 from Jonathan Wakely --- Author: redi Date: Mon Sep 4 12:24:42 2017 New Revision: 251654 URL: https://gcc.gnu.org/viewcvs?rev=251654=gcc=rev Log: PR libstdc++/81891 fix double-free in hashtable constructor Backport from

[Bug libstdc++/81599] Error in documentation of std::stack

2017-09-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81599 --- Comment #4 from Jonathan Wakely --- Author: redi Date: Mon Sep 4 12:24:37 2017 New Revision: 251653 URL: https://gcc.gnu.org/viewcvs?rev=251653=gcc=rev Log: PR libstdc++/81599 fix typo in Doxygen comments Backport from mainline 2017-07-31

[Bug c++/82039] -Wzero-as-null-pointer-constant triggers when calling std::allocate<...>::allocate

2017-09-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82039 --- Comment #5 from Jonathan Wakely --- Author: redi Date: Mon Sep 4 12:24:57 2017 New Revision: 251658 URL: https://gcc.gnu.org/viewcvs?rev=251658=gcc=rev Log: PR c++/82039 suppress -Wzero-as-null-pointer-constant warning Backport from

[Bug libstdc++/81338] stringstream remains empty after being moved into multiple times

2017-09-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81338 --- Comment #3 from Jonathan Wakely --- Author: redi Date: Mon Sep 4 12:24:33 2017 New Revision: 251652 URL: https://gcc.gnu.org/viewcvs?rev=251652=gcc=rev Log: PR libstdc++/81338 correctly manage string capacity Backport from mainline

[Bug sanitizer/82072] sanitizer does not detect an overflow from LLONG_MIN

2017-09-04 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82072 --- Comment #11 from Marek Polacek --- Author: mpolacek Date: Mon Sep 4 11:30:26 2017 New Revision: 251651 URL: https://gcc.gnu.org/viewcvs?rev=251651=gcc=rev Log: PR sanitizer/82072 * convert.c (do_narrow): When sanitizing

[Bug c++/82084] [5/6/7/8 Regression] ICE: constructing wstring with -O3

2017-09-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82084 --- Comment #6 from Richard Biener --- Hmm, we could simply reject STRING_CSTs in vectorizable_store: Index: gcc/tree-vect-stmts.c === --- gcc/tree-vect-stmts.c (revision

[Bug c++/82084] [5/6/7/8 Regression] ICE: constructing wstring with -O3

2017-09-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82084 --- Comment #5 from Richard Biener --- Created attachment 42113 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42113=edit patch for native_encode_string

[Bug tree-optimization/82060] [7/8 Regression] ICE in refs_may_alias_p_1 with devirtualization enabled

2017-09-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82060 --- Comment #3 from Richard Biener --- Author: rguenth Date: Mon Sep 4 10:57:20 2017 New Revision: 251650 URL: https://gcc.gnu.org/viewcvs?rev=251650=gcc=rev Log: 2017-09-04 Richard Biener PR

[Bug middle-end/82083] sanitizer detects signed integer overflow in tree-data-ref.c with -O3

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

[Bug middle-end/82095] ICE in tree_nop_conversion at tree.c:11793 on ppc64le

2017-09-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82095 --- Comment #1 from Jakub Jelinek --- Created attachment 42112 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42112=edit gcc8-pr82095.patch Untested fix.

[Bug c++/82097] New: Invalid warning: declaration enum does not declare anything

2017-09-04 Thread d.v.a at ngs dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82097 Bug ID: 82097 Summary: Invalid warning: declaration enum does not declare anything Product: gcc Version: 7.2.0 Status: UNCONFIRMED Severity: normal

[Bug rtl-optimization/57448] GCSE generates incorrect code with acquire barrier

2017-09-04 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57448 Alexander Monakov changed: What|Removed |Added Status|ASSIGNED|RESOLVED CC|

[Bug target/67458] x86: atomic store with memory_order_release doesn't order other stores

2017-09-04 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67458 Alexander Monakov changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/67458] x86: atomic store with memory_order_release doesn't order other stores

2017-09-04 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67458 Alexander Monakov changed: What|Removed |Added CC||amonakov at gcc dot gnu.org ---

[Bug target/81316] Missing memory side effect on __atomic_store

2017-09-04 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81316 Alexander Monakov changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug rtl-optimization/57448] GCSE generates incorrect code with acquire barrier

2017-09-04 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57448 --- Comment #3 from Alexander Monakov --- Author: amonakov Date: Mon Sep 4 10:16:37 2017 New Revision: 251643 URL: https://gcc.gnu.org/viewcvs?rev=251643=gcc=rev Log: optabs: ensure atomic_load/stores have compiler barriers PR

[Bug target/81316] Missing memory side effect on __atomic_store

2017-09-04 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81316 --- Comment #2 from Alexander Monakov --- Author: amonakov Date: Mon Sep 4 10:16:37 2017 New Revision: 251643 URL: https://gcc.gnu.org/viewcvs?rev=251643=gcc=rev Log: optabs: ensure atomic_load/stores have compiler barriers PR

  1   2   >