[Bug ipa/82027] [5/6/7/8 Regression] wrong code with -O3 -flto

2017-09-04 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82027 --- Comment #5 from Martin Liška --- (In reply to Domani Hannes from comment #4) > (In reply to Martin Liška from comment #3) > > Note that original function does: > > > > void calcPercent( const char *name,int pos,int size ) > > { > >

[Bug c++/82067] G++ has an internal compiler error in possible_polymorphic_call_targets, at ipa-devirt.c:1557

2017-09-04 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82067 --- Comment #4 from Martin Liška --- Can you please paste output of --save-temps?

[Bug c/82078] [8 Regression] wrong code at -O3 in both 32-bit and 64-bit modes on x86_64-linux-gnu

2017-09-04 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82078 Martin Liška changed: What|Removed |Added Keywords||ice-on-valid-code Status|UNCO

[Bug testsuite/82093] gfortran.dg/vect/pr70043.f90 contains out-of-bounds references

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

[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 --- Comment #13 from rsandifo at gcc dot gnu.org --- Author: rsandifo Date: Mon Sep 4 07:30:53 2017 New Revision: 251637 URL: https://gcc.gnu.org/viewcvs?rev=251637&root=gcc&view=rev Log: PR82045: Avoid passing machine modes through "..." PR8

[Bug c++/82069] [8 Regression] ICE: Segmentation fault

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

[Bug c++/82082] [8 Regression] ICE: in tsubst, at cp/pt.c:13700

2017-09-04 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82082 Martin Liška changed: What|Removed |Added Keywords||ice-on-valid-code Status|UNCO

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

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

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

2017-09-04 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82084 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Known to work|

[Bug testsuite/82093] gfortran.dg/vect/pr70043.f90 contains out-of-bounds references

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

[Bug c++/82085] [5/6/7/8 Regression] ICE: Template variable reference used in nested template alias

2017-09-04 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82085 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Known to work|

[Bug tree-optimization/70043] [6 Regression] The compiler hangs in a fortran test-case with -Ofast -g -march=haswell

2017-09-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70043 --- Comment #3 from Jakub Jelinek --- Author: jakub Date: Mon Sep 4 07:52:06 2017 New Revision: 251638 URL: https://gcc.gnu.org/viewcvs?rev=251638&root=gcc&view=rev Log: PR tree-optimization/70043 PR testsuite/82093 * gf

[Bug testsuite/82093] gfortran.dg/vect/pr70043.f90 contains out-of-bounds references

2017-09-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82093 --- Comment #3 from Jakub Jelinek --- Author: jakub Date: Mon Sep 4 07:52:06 2017 New Revision: 251638 URL: https://gcc.gnu.org/viewcvs?rev=251638&root=gcc&view=rev Log: PR tree-optimization/70043 PR testsuite/82093 * gf

[Bug testsuite/82093] gfortran.dg/vect/pr70043.f90 contains out-of-bounds references

2017-09-04 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82093 --- Comment #4 from Martin Liška --- (In reply to Jakub Jelinek from comment #3) > Author: jakub > Date: Mon Sep 4 07:52:06 2017 > New Revision: 251638 > > URL: https://gcc.gnu.org/viewcvs?rev=251638&root=gcc&view=rev > Log: > PR tree-opt

[Bug tree-optimization/70043] [6 Regression] The compiler hangs in a fortran test-case with -Ofast -g -march=haswell

2017-09-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70043 Bug 70043 depends on bug 82093, which changed state. Bug 82093 Summary: gfortran.dg/vect/pr70043.f90 contains out-of-bounds references https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82093 What|Removed |Added

[Bug testsuite/82093] gfortran.dg/vect/pr70043.f90 contains out-of-bounds references

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

[Bug target/82094] error: inlining failed in call to always_inline ‘_mm512_permutexvar_epi8’

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

[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 #4 from Jakub Jelinek --- Author: jakub Date: Mon Sep 4 08:11:44 2017 New Revision: 251641 URL: https://gcc.gnu.org/viewcvs?rev=251641&root=gcc&view=rev Log: PR sanitizer/81981 * gimple-fold.c (gimple_fold_call): Opt

[Bug target/82095] New: ICE in tree_nop_conversion at tree.c:11793 on ppc64le

2017-09-04 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82095 Bug ID: 82095 Summary: ICE in tree_nop_conversion at tree.c:11793 on ppc64le Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Componen

[Bug c++/82069] [8 Regression] ICE: Segmentation fault

2017-09-04 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82069 Markus Trippelsdorf changed: What|Removed |Added Status|WAITING |NEW --- Comment #2 from Markus Tri

[Bug target/82096] New: ICE in int_mode_for_mode, at stor-layout.c:403 with arm-linux-gnueabi

2017-09-04 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82096 Bug ID: 82096 Summary: ICE in int_mode_for_mode, at stor-layout.c:403 with arm-linux-gnueabi Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal

[Bug sanitizer/82076] inconsistencies between sanitizer and -Wstringop-overflow

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

[Bug fortran/82077] [7/8 Regression] ICE on associating polymorphic array dummy with a type-guarded array section

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

[Bug c++/82069] [8 Regression] ICE: Segmentation fault

2017-09-04 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82069 --- Comment #3 from Martin Liška --- Now I can see it :)

[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 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug target/82094] error: inlining failed in call to always_inline ‘_mm512_permutexvar_epi8’

2017-09-04 Thread vasistavinay at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82094 Vinay Vasista changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug c++/82085] [5/6/7/8 Regression] ICE: Template variable reference used in nested template alias

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

[Bug target/82094] Improve diagnostics about target specific option mismatch

2017-09-04 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82094 Martin Liška changed: What|Removed |Added Status|RESOLVED|NEW Resolution|INVALID

[Bug c++/43745] [avr] g++ puts VTABLES in SRAM

2017-09-04 Thread matthijs at stdin dot nl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43745 --- Comment #14 from Matthijs Kooijman --- Thanks for the additional explanations!

[Bug tree-optimization/82090] Bogus warning: ‘magic_p’ may be used uninitialized in this function [-Wmaybe-uninitialized]

2017-09-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82090 Richard Biener changed: What|Removed |Added Keywords||missed-optimization Status|

[Bug ipa/82094] Improve diagnostics about target specific option mismatch

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

[Bug tree-optimization/82052] [8 Regression] ICE with "-O3 -m32" on x86_64-linux-gnu (internal compiler error: in pop_to_marker, at tree-ssa-scopedtables.c:71)

2017-09-04 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82052 --- Comment #6 from Tom de Vries --- Author: vries Date: Mon Sep 4 09:00:35 2017 New Revision: 251642 URL: https://gcc.gnu.org/viewcvs?rev=251642&root=gcc&view=rev Log: Fix call arguments mismatch in gcc.c-torture/compile/pr82052.c 2017-09-04

[Bug ipa/82094] Improve diagnostics about target specific option mismatch

2017-09-04 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82094 --- Comment #5 from Martin Liška --- (In reply to Richard Biener from comment #4) > Probably requires the target hook to also return a diagnostic substring. We have #define TARGET_OPTION_PRINT ix86_function_specific_print which is quite close wh

[Bug c++/81942] ICE on empty constexpr constructor with C++14

2017-09-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81942 --- Comment #14 from Jakub Jelinek --- The patch LGTM, but I'll defer the final say to Jason/Nathan.

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

2017-09-04 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81693 --- Comment #24 from Dominique d'Humieres --- > Does gcc.dg/torture/pr25967-2.c pass for both -m32 and -m64? Nope! % /opt/gcc/gcc8w/bin/gcc /opt/gcc/work/gcc/testsuite/gcc.dg/torture/pr25967-2.c -g % lldb ./a.out (lldb) target create "./a.out"

[Bug target/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 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED CC|

[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 #3 from Richard Biener --- The STRING_CST isn't handled by native_encode_string which is why it fails: static int native_encode_string (const_tree expr, unsigned char *ptr, int len, int off) { tree type = TREE_TYPE (expr); HOST_W

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

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

[Bug c++/81942] ICE on empty constexpr constructor with C++14

2017-09-04 Thread thopre01 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81942 --- Comment #15 from Thomas Preud'homme --- (In reply to Jakub Jelinek from comment #14) > The patch LGTM, but I'll defer the final say to Jason/Nathan. FYI I tried the patch on arm-none-eabi toolchain and it fixes the bug reported. Best regard

[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 --- 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&root=gcc&view=rev Log: optabs: ensure atomic_load/stores have compiler barriers P

[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&root=gcc&view=rev Log: optabs: ensure atomic_load/stores have compiler barriers P

[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&root=gcc&view=rev Log: optabs: ensure atomic_load/stores have compiler barriers P

[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 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 --- Comm

[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 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 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 Pr

[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&action=edit gcc8-pr82095.patch Untested fix.

[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 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&root=gcc&view=rev Log: 2017-09-04 Richard Biener PR tree-optimization/82060

[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&action=edit patch for native_encode_string

[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 2515

[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&root=gcc&view=rev Log: PR sanitizer/82072 * convert.c (do_narrow): When sanit

[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&root=gcc&view=rev Log: PR libstdc++/81338 correctly manage string capacity Backport from mainli

[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&root=gcc&view=rev Log: PR libstdc++/81599 fix typo in Doxygen comments Backport from mainline 2

[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&root=gcc&view=rev Log: PR c++/82039 suppress -Wzero-as-null-pointer-constant warning Backport f

[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&root=gcc&view=rev Log: PR libstdc++/81891 fix double-free in hashtable constructor Backport fro

[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&root=gcc&view=rev Log: PR libstdc++/81912 make std::__iterator_category constexpr Backport from

[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 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 #10

[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 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 run

[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 #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 ma

[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 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/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 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 Regression]

[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 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 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 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&root=gcc&view=rev Log: 2017-09-03 Jeff Law PR tree-optimization/64910 * tree-s

[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&root=gcc&view=rev Log: PR c/81783 * c-warn.c (warn_tautological_bitwise_compar

[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++/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&root=gcc&view=rev Log: 2017-09-04 Richard Biener PR tree-optimization/82084

[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 Regress

[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 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 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&action=edit gcc8-pr81979.patch Untested fix.

[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 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 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&root=gcc&view=rev Log: 2017-09-04 Bernd Edlinger PR target/77308 * confi

[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 Versio

[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&action=edit The preprocessed test file.

[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, 10

[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 #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 'chla

[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&root=gcc&view=rev Log: PR libstdc++/79162 implement LWG 2946 and LWG 2758 2017-09-04 Daniel K

[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 --- Com

[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&root=gcc&view=rev Log: PR libstdc++/81338 correctly manage string capacity Backport from mainli

[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&root=gcc&view=rev Log: PR c++/82039 suppress -Wzero-as-null-pointer-constant warning Backport f

[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&root=gcc&view=rev Log: PR libstdc++/81599 fix typo in Doxygen comments Backport from mainline 2

[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&root=gcc&view=rev Log: PR libstdc++/81891 fix double-free in hashtable constructor Backport fro

[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 als

[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 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 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&root=gcc&view=rev Log: PR libstdc++/81338 correctly manage string capacity Backport from mainli

[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&root=gcc&view=rev Log: PR libstdc++/81891 fix double-free in hashtable constructor Backport fro

[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&root=gcc&view=rev Log: PR libstdc++/81599 fix typo in Doxygen comments Backport from mainline 2

  1   2   >