[Bug c/87123] New: incorrect optimization involving INT_MIN and conditional operator

2018-08-28 Thread andy.koppe at analog dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87123 Bug ID: 87123 Summary: incorrect optimization involving INT_MIN and conditional operator Product: gcc Version: 7.3.0 Status: UNCONFIRMED Severity: normal

[Bug c++/87120] gcc incorrectly accepts uniform-initializing bool values from double

2018-08-28 Thread vz-gcc at zeitlins dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87120 --- Comment #2 from Vadim Zeitlin --- Thanks and sorry for a duplicate! In my defence -- and just in case there is some problem that could be fixed here -- Bugzilla search seems to be broken: I had searched for "double narrow bool" (without

[Bug c/87123] incorrect optimization involving INT_MIN and conditional operator

2018-08-28 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87123 --- Comment #5 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #4) > Use -fsanitize=undefined to diagnose the undefined behaviour at runtime, or > use -fwrapv to make the negation well-defined (both options are suggested by >

[Bug testsuite/87078] [9 regression] gcc.dg/vect/slp-37.c begins failing with r263772

2018-08-28 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87078 --- Comment #1 from rsandifo at gcc dot gnu.org --- Author: rsandifo Date: Tue Aug 28 10:42:30 2018 New Revision: 263913 URL: https://gcc.gnu.org/viewcvs?rev=263913=gcc=rev Log: Add target selectors to slp-37.c (PR87078) This test was failing

[Bug tree-optimization/87124] New: [9 Regression] ICE have integer_cst in SSA_VAL, at tree-ssa-sccvn.c:462 while building 541.leela_r from SPEC2017

2018-08-28 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87124 Bug ID: 87124 Summary: [9 Regression] ICE have integer_cst in SSA_VAL, at tree-ssa-sccvn.c:462 while building 541.leela_r from SPEC2017 Product: gcc Version:

[Bug tree-optimization/87117] [9 Regression] ICE in eliminate_dom_walker::eliminate_cleanup(bool) at gcc/gcc/tree-ssa-sccvn.c:5431 since r263875

2018-08-28 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87117 Martin Liška changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

[Bug c++/44580] inconsistent "right-hand operand of comma has no effect"

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

[Bug sanitizer/87095] [8/9 Regression] UndefinedBehaviorSanitizer vptr false positive with virtual inheritance only with -fno-sanitize-recover

2018-08-28 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87095 Jakub Jelinek changed: What|Removed |Added Assignee|marxin at gcc dot gnu.org |jakub at gcc dot gnu.org ---

[Bug c++/87122] [8/9 Regression] ICE in tsubst_decomp_names

2018-08-28 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87122 Richard Biener changed: What|Removed |Added Keywords||ice-on-valid-code

[Bug c++/87121] wrong 128-bit integer multiplication with mixed bit size

2018-08-28 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87121 --- Comment #4 from Jonathan Wakely --- declares a std::pow function template that accepts integer types: template inline _GLIBCXX_CONSTEXPR typename __gnu_cxx::__promote_2<_Tp, _Up>::__type pow(_Tp __x, _Up __y) {

[Bug c++/86546] ICE on invalid: tree_class_check_failed()

2018-08-28 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86546 Paolo Carlini changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug target/86753] [9 Regression] gcc.target/aarch64/sve/vcond_[45].c fail after recent combine patch

2018-08-28 Thread zao.huang at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86753 huangzao changed: What|Removed |Added CC||zao.huang at intel dot com --- Comment #3

[Bug c/87123] incorrect optimization involving INT_MIN and conditional operator

2018-08-28 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87123 --- Comment #4 from Jonathan Wakely --- Use -fsanitize=undefined to diagnose the undefined behaviour at runtime, or use -fwrapv to make the negation well-defined (both options are suggested by https://gcc.gnu.org/bus/ which you were asked to

[Bug c/87123] incorrect optimization involving INT_MIN and conditional operator

2018-08-28 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87123 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/87125] New: [9 Regression] ICE in tsubst_copy starting with r261084

2018-08-28 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87125 Bug ID: 87125 Summary: [9 Regression] ICE in tsubst_copy starting with r261084 Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/87099] [8/9 Regression] internal compiler error: segmentation fault

2018-08-28 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87099 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Tue Aug 28 11:13:04 2018 New Revision: 263915 URL: https://gcc.gnu.org/viewcvs?rev=263915=gcc=rev Log: PR middle-end/87099 * calls.c (maybe_warn_nonstring_arg): Punt

[Bug tree-optimization/87117] [9 Regression] ICE in eliminate_dom_walker::eliminate_cleanup(bool) at gcc/gcc/tree-ssa-sccvn.c:5431 since r263875

2018-08-28 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87117 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/87117] [9 Regression] ICE in eliminate_dom_walker::eliminate_cleanup(bool) at gcc/gcc/tree-ssa-sccvn.c:5431 since r263875

2018-08-28 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87117 --- Comment #9 from Richard Biener --- Author: rguenth Date: Tue Aug 28 10:15:54 2018 New Revision: 263912 URL: https://gcc.gnu.org/viewcvs?rev=263912=gcc=rev Log: 2018-08-28 Richard Biener PR tree-optimization/87117 *

[Bug c/87123] incorrect optimization involving INT_MIN and conditional operator

2018-08-28 Thread andy.koppe at analog dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87123 --- Comment #2 from Andy Koppe --- You are right. The test passes when casting to unsigned before negation.

[Bug tree-optimization/87117] [9 Regression] ICE in eliminate_dom_walker::eliminate_cleanup(bool) at gcc/gcc/tree-ssa-sccvn.c:5431 since r263875

2018-08-28 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87117 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/87117] [9 Regression] ICE in eliminate_dom_walker::eliminate_cleanup(bool) at gcc/gcc/tree-ssa-sccvn.c:5431 since r263875

2018-08-28 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87117 --- Comment #8 from Richard Biener --- Author: rguenth Date: Tue Aug 28 10:14:45 2018 New Revision: 263911 URL: https://gcc.gnu.org/viewcvs?rev=263911=gcc=rev Log: 2018-08-28 Richard Biener PR tree-optimization/87117 *

[Bug testsuite/87078] [9 regression] gcc.dg/vect/slp-37.c begins failing with r263772

2018-08-28 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87078 rsandifo at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug tree-optimization/87126] New: ICE on valid code at -Os and above on x86_64-linux-gnu: in vn_reference_insert, at tree-ssa-sccvn.c:2698

2018-08-28 Thread su at cs dot ucdavis.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87126 Bug ID: 87126 Summary: ICE on valid code at -Os and above on x86_64-linux-gnu: in vn_reference_insert, at tree-ssa-sccvn.c:2698 Product: gcc Version: unknown

[Bug c++/87122] [8/9 Regression] ICE in tsubst_decomp_names

2018-08-28 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87122 Jakub Jelinek changed: What|Removed |Added Target Milestone|--- |8.3

[Bug c++/87122] New: [8/9 Regression] ICE in tsubst_decomp_names

2018-08-28 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87122 Bug ID: 87122 Summary: [8/9 Regression] ICE in tsubst_decomp_names Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

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

2018-08-28 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87088 --- Comment #12 from Jonathan Wakely --- (In reply to miltonkbenjamin from comment #11) > > C:\parser>g++ -include iostream.h -Xpreprocessor "FlexLexer.h" lex1.yy.cc You're STILL passing a filename as the argument to -Xpreprocessor. What

[Bug tree-optimization/87117] [9 Regression] ICE in eliminate_dom_walker::eliminate_cleanup(bool) at gcc/gcc/tree-ssa-sccvn.c:5431 since r263875

2018-08-28 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87117 --- Comment #6 from Richard Biener --- Author: rguenth Date: Tue Aug 28 09:33:16 2018 New Revision: 263908 URL: https://gcc.gnu.org/viewcvs?rev=263908=gcc=rev Log: 2018-08-28 Richard Biener PR tree-optimization/87117 *

[Bug c/87123] incorrect optimization involving INT_MIN and conditional operator

2018-08-28 Thread andy.koppe at analog dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87123 --- Comment #6 from Andy Koppe --- Thanks, consider me duly embarrased.

[Bug c++/87125] [9 Regression] ICE in tsubst_copy starting with r261084

2018-08-28 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87125 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug sanitizer/87095] [8/9 Regression] UndefinedBehaviorSanitizer vptr false positive with virtual inheritance only with -fno-sanitize-recover

2018-08-28 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87095 --- Comment #4 from Nathan Sidwell --- Jakub's patch looks right to me. Take this as post-test approval.

[Bug middle-end/87099] [8 Regression] internal compiler error: segmentation fault

2018-08-28 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87099 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c/87128] New: Wrong Value Generated for m32 without optimization

2018-08-28 Thread neha.gnu.gcc at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87128 Bug ID: 87128 Summary: Wrong Value Generated for m32 without optimization Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/87122] [8/9 Regression] ICE in tsubst_decomp_names

2018-08-28 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87122 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c++/65043] Expected narrowing conversion during list initialization of bool from double

2018-08-28 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65043 Jonathan Wakely changed: What|Removed |Added CC||vz-gcc at zeitlins dot org ---

[Bug c++/87120] gcc incorrectly accepts uniform-initializing bool values from double

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

[Bug testsuite/87078] [9 regression] gcc.dg/vect/slp-37.c begins failing with r263772

2018-08-28 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87078 rsandifo at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last

[Bug tree-optimization/87117] [9 Regression] ICE in eliminate_dom_walker::eliminate_cleanup(bool) at gcc/gcc/tree-ssa-sccvn.c:5431 since r263875

2018-08-28 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87117 --- Comment #7 from Richard Biener --- Author: rguenth Date: Tue Aug 28 10:13:18 2018 New Revision: 263910 URL: https://gcc.gnu.org/viewcvs?rev=263910=gcc=rev Log: 2018-08-28 Richard Biener PR tree-optimization/87117 *

[Bug c/87123] incorrect optimization involving INT_MIN and conditional operator

2018-08-28 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87123 --- Comment #1 from Jonathan Wakely --- The result of -x cannot be represented when x==INT_MIN, it overflows which is undefined behaviour.

[Bug c++/79189] Poor code generation when using stateless lambda instead of normal function

2018-08-28 Thread dcrocker at eschertech dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79189 David Crocker changed: What|Removed |Added CC||dcrocker at eschertech dot com ---

[Bug fortran/87127] New: External function not recognised from within an associate block

2018-08-28 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87127 Bug ID: 87127 Summary: External function not recognised from within an associate block Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/87124] [9 Regression] ICE have integer_cst in SSA_VAL, at tree-ssa-sccvn.c:462 while building 541.leela_r from SPEC2017

2018-08-28 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87124 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c/87128] Wrong Value Generated for m32 without optimization

2018-08-28 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87128 --- Comment #1 from Jonathan Wakely --- 1e23 is outside the range where all integers can be represented exactly by a 64-bit IEEE double, and the calculation is imprecise when using i387 floating point registers. The expected answer is given

[Bug c++/87120] gcc incorrectly accepts uniform-initializing bool values from double

2018-08-28 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87120 --- Comment #3 from Jonathan Wakely --- The search defaults to open bugs. Bug 65043 is in RESOLVED state, so won't show up unless you include closed bugs in the results.

[Bug fortran/86481] [OOP] Memory leak with sourced allocation

2018-08-28 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86481 --- Comment #5 from Paul Thomas --- Author: pault Date: Tue Aug 28 11:35:52 2018 New Revision: 263916 URL: https://gcc.gnu.org/viewcvs?rev=263916=gcc=rev Log: 2017-08-28 Paul Thomas PR fortran/80477 * trans-expr.c

[Bug fortran/80477] [OOP] Polymorphic function result generates memory leak

2018-08-28 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80477 --- Comment #24 from Paul Thomas --- Author: pault Date: Tue Aug 28 11:35:52 2018 New Revision: 263916 URL: https://gcc.gnu.org/viewcvs?rev=263916=gcc=rev Log: 2017-08-28 Paul Thomas PR fortran/80477 * trans-expr.c

[Bug middle-end/87099] [8/9 Regression] internal compiler error: segmentation fault

2018-08-28 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87099 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Tue Aug 28 11:43:22 2018 New Revision: 263917 URL: https://gcc.gnu.org/viewcvs?rev=263917=gcc=rev Log: PR middle-end/87099 * calls.c (maybe_warn_nonstring_arg): Punt

[Bug middle-end/323] optimized code gives strange floating point results

2018-08-28 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=323 Jakub Jelinek changed: What|Removed |Added CC||neha.gnu.gcc at gmail dot com --- Comment

[Bug c/87128] Wrong Value Generated for m32 without optimization

2018-08-28 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87128 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug tree-optimization/87126] [9 Regression] ICE on valid code at -Os and above on x86_64-linux-gnu: in vn_reference_insert, at tree-ssa-sccvn.c:2698

2018-08-28 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87126 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug tree-optimization/87126] [9 Regression] ICE on valid code at -Os and above on x86_64-linux-gnu: in vn_reference_insert, at tree-ssa-sccvn.c:2698

2018-08-28 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87126 --- Comment #2 from Richard Biener --- So when we disentangle the irreducible region we expose a disconnect between the current execution flow and the RPO iteration. This means we insert the load d.2_4 = d; with the VDEF of the later processed

[Bug c++/86546] ICE on invalid: tree_class_check_failed()

2018-08-28 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86546 Paolo Carlini changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/87116] Incorrect result of std::filesystem::path::lexically_normal() for more than 3 dot-dot elements

2018-08-28 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87116 --- Comment #2 from Jonathan Wakely --- Author: redi Date: Tue Aug 28 15:33:53 2018 New Revision: 263922 URL: https://gcc.gnu.org/viewcvs?rev=263922=gcc=rev Log: PR libstdc++/87116 fix path::lexically_normal() handling of dot-dot Previously

[Bug c++/87129] New: -Wsign-conversion Erroneously Triggered When Dereferencing Pointer From Implicit User Conversion

2018-08-28 Thread ian at geometrian dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87129 Bug ID: 87129 Summary: -Wsign-conversion Erroneously Triggered When Dereferencing Pointer From Implicit User Conversion Product: gcc Version: 9.0 Status: UNCONFIRMED

[Bug target/87104] missed &, == optimization makes Emacs ~0.4% slower on x86-64

2018-08-28 Thread pipcet at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87104 pipcet at gmail dot com changed: What|Removed |Added Attachment #44605|0 |1 is obsolete|

[Bug c++/86546] ICE on invalid: tree_class_check_failed()

2018-08-28 Thread paolo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86546 --- Comment #3 from paolo at gcc dot gnu.org --- Author: paolo Date: Tue Aug 28 15:01:15 2018 New Revision: 263921 URL: https://gcc.gnu.org/viewcvs?rev=263921=gcc=rev Log: /cp 2018-08-28 Paolo Carlini PR c++/86546 * decl.c

[Bug tree-optimization/87124] [9 Regression] ICE have integer_cst in SSA_VAL, at tree-ssa-sccvn.c:462 while building 541.leela_r from SPEC2017

2018-08-28 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87124 --- Comment #3 from Richard Biener --- Author: rguenth Date: Tue Aug 28 13:36:49 2018 New Revision: 263918 URL: https://gcc.gnu.org/viewcvs?rev=263918=gcc=rev Log: 2018-08-28 Richard Biener PR tree-optimization/87124 *

[Bug tree-optimization/87124] [9 Regression] ICE have integer_cst in SSA_VAL, at tree-ssa-sccvn.c:462 while building 541.leela_r from SPEC2017

2018-08-28 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87124 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/87116] Incorrect result of std::filesystem::path::lexically_normal() for more than 3 dot-dot elements

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

[Bug libstdc++/87116] Incorrect result of std::filesystem::path::lexically_normal() for more than 3 dot-dot elements

2018-08-28 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87116 --- Comment #3 from Jonathan Wakely --- Author: redi Date: Tue Aug 28 15:52:18 2018 New Revision: 263923 URL: https://gcc.gnu.org/viewcvs?rev=263923=gcc=rev Log: PR libstdc++/87116 fix path::lexically_normal() handling of dot-dot Previously

[Bug c/87128] Wrong Value Generated for m32 without optimization

2018-08-28 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87128 --- Comment #2 from Richard Biener --- Dup of 323 then?

[Bug c++/63392] poor error recovery with missing typename

2018-08-28 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63392 David Malcolm changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|dmalcolm at gcc

[Bug c++/86993] [6/7/8/9 Regression] assignment of read-only variable error reported at wrong location

2018-08-28 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86993 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c/87128] Wrong Value Generated for m32 without optimization

2018-08-28 Thread neha.gnu.gcc at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87128 --- Comment #4 from Neha Gowda --- Thanks for the explanation.

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

2018-08-28 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87130 Martin Liška changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug tree-optimization/83819] [meta-bug] missing strlen optimizations

2018-08-28 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83819 Bug 83819 depends on bug 86914, which changed state. Bug 86914 Summary: [8 Regression] -O2 generates wrong code with strlen() of pointers within one-element arrays of structures https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86914 What

[Bug middle-end/86631] [9 Regression] missing -Walloc-size-larger-than on ILP32 hosts

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

[Bug middle-end/86631] [9 Regression] missing -Walloc-size-larger-than on ILP32 hosts

2018-08-28 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86631 --- Comment #7 from Martin Sebor --- Author: msebor Date: Tue Aug 28 19:09:38 2018 New Revision: 263928 URL: https://gcc.gnu.org/viewcvs?rev=263928=gcc=rev Log: PR middle-end/86631 - missing -Walloc-size-larger-than on ILP32 hosts

[Bug bootstrap/87130] New: [9 Regression] LTO bootstrap failed with profiledbootstrap

2018-08-28 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87130 Bug ID: 87130 Summary: [9 Regression] LTO bootstrap failed with profiledbootstrap Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal

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

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

[Bug tree-optimization/86914] [8 Regression] -O2 generates wrong code with strlen() of pointers within one-element arrays of structures

2018-08-28 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86914 --- Comment #7 from Martin Sebor --- Author: msebor Date: Tue Aug 28 16:43:58 2018 New Revision: 263925 URL: https://gcc.gnu.org/viewcvs?rev=263925=gcc=rev Log: PR tree-optimization/86914 - wrong code with strlen() of poor-man's flexible array

[Bug tree-optimization/86914] [8 Regression] -O2 generates wrong code with strlen() of pointers within one-element arrays of structures

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

[Bug tree-optimization/86010] [7/8/9 Regression] redundant memset with smaller size not eliminated

2018-08-28 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86010 --- Comment #9 from Jeffrey A. Law --- We don't merge the two memset calls in the second example. It's of arguable value IMHO.

[Bug c++/85265] [concepts] ICE with missing identifier

2018-08-28 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85265 Paolo Carlini changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug middle-end/86631] [9 Regression] missing -Walloc-size-larger-than on ILP32 hosts

2018-08-28 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86631 --- Comment #8 from Martin Sebor --- Author: msebor Date: Tue Aug 28 19:58:02 2018 New Revision: 263930 URL: https://gcc.gnu.org/viewcvs?rev=263930=gcc=rev Log: gcc/testsuite/ChangeLog: PR middle-end/86631 * g++.dg/Walloca1.C:

[Bug middle-end/87009] Can't find XOR pattern applying De Morgan sequentially

2018-08-28 Thread law at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87009 --- Comment #3 from Jeffrey A. Law --- Author: law Date: Tue Aug 28 20:23:05 2018 New Revision: 263931 URL: https://gcc.gnu.org/viewcvs?rev=263931=gcc=rev Log: PR tree-optimization/87009 * match.pd: Add boolean optimizations.

[Bug middle-end/87009] Can't find XOR pattern applying De Morgan sequentially

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

[Bug c/87131] 16bit xor operation results in 32bit

2018-08-28 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87131 Andreas Schwab changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/87132] New: Gcc miscompiles at -O2 on valid code

2018-08-28 Thread helloqirun at gmail dot com
/absozero/trunk/root-gcc/libexec/gcc/x86_64-pc-linux-gnu/9.0.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../gcc/configure --prefix=/home/absozero/trunk/root-gcc --enable-languages=c,c++ --disable-werror --enable-multilib Thread model: posix gcc version 9.0.0 20180828 (experimental) [trunk

[Bug fortran/85042] Empty derived type allocation ICE

2018-08-28 Thread brichardson at structint dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85042 Brad Richardson changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug c/87131] New: 16bit xor operation results in 32bit

2018-08-28 Thread john.k-askubuntu at decanary dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87131 Bug ID: 87131 Summary: 16bit xor operation results in 32bit Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c++/57170] Diagnostic for a negative case when switching over unsigned comes from -Wsign-conversion instead of -Wpedantic or -Wnarrowing

2018-08-28 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57170 --- Comment #5 from Eric Gallager --- (In reply to Jonathan Wakely from comment #4) > Diagnostics for narrowing conversions involving non-constants are controlled > by -Wnarrowing (allowing them to be either warnings or errors). But > narrowing

[Bug middle-end/85902] -Wstringop-truncation false-positive

2018-08-28 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85902 --- Comment #2 from Martin Sebor --- The last test case is no longer diagnosed either by GCC 8 or the current trunk. The first two still are.

[Bug c++/45113] absent or confusing diagnostics of invalid template argument list in implicit template class instantiation

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

[Bug tree-optimization/87117] [9 Regression] ICE in eliminate_dom_walker::eliminate_cleanup(bool) at gcc/gcc/tree-ssa-sccvn.c:5431 since r263875

2018-08-28 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87117 David Binderman changed: What|Removed |Added CC||dcb314 at hotmail dot com --- Comment

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

2018-08-28 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87059 Martin Liška changed: What|Removed |Added CC||dcb314 at hotmail dot com --- Comment

[Bug tree-optimization/87119] [9 Regression] ice in set_value_range, at tree-vrp.c:289

2018-08-28 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87119 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug tree-optimization/87117] [9 Regression] ICE in eliminate_dom_walker::eliminate_cleanup(bool) at gcc/gcc/tree-ssa-sccvn.c:5431 since r263875

2018-08-28 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87117 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug middle-end/87118] ICE in expand_expr_addr_expr_1, at expr.c:7862

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

[Bug c++/87121] wrong 128-bit integer multiplication with mixed bit size

2018-08-28 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87121 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/87117] [9 Regression] ICE in eliminate_dom_walker::eliminate_cleanup(bool) at gcc/gcc/tree-ssa-sccvn.c:5431 since r263875

2018-08-28 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87117 --- Comment #4 from Martin Liška --- One another different back-trace, maybe helpful: $ cat load.i void e(); void a(int c, char **d) { char b; if (1 < c) b = d[0]; if (1 < c && b) e(); while (1 < c) ; } $ gcc load.i

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

2018-08-28 Thread miltonkbenjamin at verizon dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87088 --- Comment #10 from miltonkbenjamin --- (In reply to Jonathan Wakely from comment #9) > You're still doing it wrong. > > As I already said, to include a file you should be using -include not > -Xpreprocessor. > > Stop using the -Xpreprocessor

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

2018-08-28 Thread miltonkbenjamin at verizon dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87088 --- Comment #11 from miltonkbenjamin --- (In reply to miltonkbenjamin from comment #10) > (In reply to Jonathan Wakely from comment #9) > > You're still doing it wrong. > > > > As I already said, to include a file you should be using -include

[Bug tree-optimization/87117] [9 Regression] ICE in eliminate_dom_walker::eliminate_cleanup(bool) at gcc/gcc/tree-ssa-sccvn.c:5431 since r263875

2018-08-28 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87117 --- Comment #5 from Richard Biener --- Testing patches for comment#1 and 2nd issue of description.

[Bug target/54412] minimal 32-byte stack alignment with -mavx on 64-bit Windows

2018-08-28 Thread royiavital at yahoo dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54412 --- Comment #22 from Royi --- Hello, Any progress on this on GCC 8.x? We really want GCC + AVX on Windows.