[Bug gcov-profile/93693] New: [GCOV] incorrect coverage when compiled with option '-fsanitize=undefined' for function defined inside other function

2020-02-11 Thread yangyibiao at hust dot edu.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93693 Bug ID: 93693 Summary: [GCOV] incorrect coverage when compiled with option '-fsanitize=undefined' for function defined inside other function Product: gcc

[Bug analyzer/93692] Possible typo: supergraph vs. callgraph

2020-02-11 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93692 Andrew Pinski changed: What|Removed |Added Keywords||documentation

[Bug middle-end/64242] Longjmp expansion incorrect

2020-02-11 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64242 --- Comment #38 from Andrew Pinski --- (In reply to Wilco from comment #37) > (In reply to Andrew Pinski from comment #36) > > MIPS is still broken. I might look into MIPS brokenness next week. > > Yes it seems builtin_longjmp has the exact

[Bug analyzer/93288] ICE in supergraph.cc:180

2020-02-11 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93288 --- Comment #9 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:91f993b7e31ce85676148dca180bc0d827d4245e commit r10-6590-g91f993b7e31ce85676148dca180bc0d827d4245e Author: David Malcolm Date:

[Bug analyzer/93288] ICE in supergraph.cc:180

2020-02-11 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93288 David Malcolm changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug c/85957] i686: Integers appear to be different, but compare as equal

2020-02-11 Thread bugdal at aerifal dot cx
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85957 --- Comment #25 from Rich Felker --- I think standards-conforming excess precision should be forced on, and added to C++; there are just too many dangerous ways things can break as it is now. If you really think this is a platform of dwindling

[Bug rtl-optimization/93565] [9/10 regression] Combine duplicates instructions

2020-02-11 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93565 --- Comment #13 from Segher Boessenkool --- nonzero_bits is not reliable. We also cannot really do what you propose here, all of this is done for *every* combination. We currently generate (set (reg/v:SI 96 [ a ]) (and:SI (reg:SI 104)

[Bug analyzer/93692] Possible typo: supergraph vs. callgraph

2020-02-11 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93692 --- Comment #3 from Andrew Pinski --- The documentation does describe more what super means :).

[Bug gcov-profile/93626] [GCOV] incorrect coverage when compiled with option '-fsanitize=undefined' for typedef struct

2020-02-11 Thread yangyibiao at hust dot edu.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93626 --- Comment #2 from Yibiao Yang --- (In reply to Martin Liška from comment #1) > I would not recommend combining --coverage and a sanitizer. Thanks for the suggestion. Yes, this is an abnormal combination.

[Bug analyzer/93692] Possible typo: supergraph vs. callgraph

2020-02-11 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93692 --- Comment #2 from Andrew Pinski --- Note there is a -fdump-analyzer-supergraph so it looks like there is a copy and paste issue.

[Bug target/91052] [10 Regression] ICE in fix_reg_equiv_init, at ira.c:2705

2020-02-11 Thread linkw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91052 Kewen Lin changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/93682] Wrong optimization: on x87 -fexcess-precision=standard is incompatible with -mpc64

2020-02-11 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93682 --- Comment #3 from joseph at codesourcery dot com --- On Tue, 11 Feb 2020, bugdal at aerifal dot cx wrote: > I think the underlying issue here is just that -mpc64 (along with -mpc32) is > just hopelessly broken and should be documented as

[Bug c++/93675] Starship operator on a hidden friend operator does not work

2020-02-11 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93675 --- Comment #1 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:d6ef77e023cfe0bb3b12b88ae46b77da356d7f85 commit r10-6586-gd6ef77e023cfe0bb3b12b88ae46b77da356d7f85 Author: Jason Merrill Date:

[Bug fortran/93690] Type Bound Generic Assignment Bug Using Intrinsic Assignments

2020-02-11 Thread floschiffmann at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93690 Florian Schiffmann changed: What|Removed |Added CC||floschiffmann at gmail dot com ---

[Bug target/93694] New: Inconsistent grammar in darwin.opt

2020-02-11 Thread roland.illig at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93694 Bug ID: 93694 Summary: Inconsistent grammar in darwin.opt Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug analyzer/93212] internal compiler error: in make_region_for_type, at analyzer/region-model.cc:5961

2020-02-11 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93212 --- Comment #6 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:35e24106fc1b782e70f8339e0a1321a2bc7a7f15 commit r10-6588-g35e24106fc1b782e70f8339e0a1321a2bc7a7f15 Author: David Malcolm Date:

[Bug analyzer/93288] ICE in supergraph.cc:180

2020-02-11 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93288 --- Comment #8 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:35e24106fc1b782e70f8339e0a1321a2bc7a7f15 commit r10-6588-g35e24106fc1b782e70f8339e0a1321a2bc7a7f15 Author: David Malcolm Date:

[Bug analyzer/93692] New: Possible typo: supergraph vs. callgraph

2020-02-11 Thread roland.illig at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93692 Bug ID: 93692 Summary: Possible typo: supergraph vs. callgraph Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: analyzer

[Bug analyzer/93695] New: Allocation and freeing memory for array members in loops is not handled properly by the analyzer

2020-02-11 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93695 Bug ID: 93695 Summary: Allocation and freeing memory for array members in loops is not handled properly by the analyzer Product: gcc Version: 10.0 Status: UNCONFIRMED

[Bug tree-optimization/93697] New: pr93661.c does not warn on (32-bit) powerpc-linux

2020-02-11 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93697 Bug ID: 93697 Summary: pr93661.c does not warn on (32-bit) powerpc-linux Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug analyzer/93288] ICE in supergraph.cc:180

2020-02-11 Thread pmatos at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93288 --- Comment #11 from pmatos at gcc dot gnu.org --- (In reply to David Malcolm from comment #10) > Should be fixed by the above commit. David, does this mean the analyzer has C++ support now or just that this specific bug is fixed in-tree?

[Bug fortran/93690] Type Bound Generic Assignment Bug Using Intrinsic Assignments

2020-02-11 Thread floschiffmann at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93690 --- Comment #2 from Florian Schiffmann --- Hi Steve, the complication here is that it is not the type with the assignment that is a vector but the Outer type. The type with assignment is a scalar member of the vector type. Hence the first

[Bug c/85957] i686: Integers appear to be different, but compare as equal

2020-02-11 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85957 --- Comment #24 from joseph at codesourcery dot com --- On Tue, 11 Feb 2020, ch3root at openwall dot com wrote: > So, yeah, it seems integers have to be stable. OTOH, now that there is sse and > there is -fexcess-precision=standard

[Bug target/91052] [10 Regression] ICE in fix_reg_equiv_init, at ira.c:2705

2020-02-11 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91052 --- Comment #16 from CVS Commits --- The master branch has been updated by Kewen Lin : https://gcc.gnu.org/g:4d2248bec5d22061ab252724bd59d45c8a47e009 commit r10-6591-g4d2248bec5d22061ab252724bd59d45c8a47e009 Author: Kewen Lin Date: Tue Feb

[Bug tree-optimization/93661] [10 Regression] ICE in tree_to_poly_int64, at tree.c:2976

2020-02-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93661 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #7

[Bug target/93694] Inconsistent grammar in darwin.opt

2020-02-11 Thread roland.illig at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93694 --- Comment #1 from Roland Illig --- double space: > architecture \"name\" unnecessarily verbose: > Specify that the output file should be generated for architecture "name" Why not simply: Generate output file for the named architecture.

[Bug c++/93675] Starship operator on a hidden friend operator does not work

2020-02-11 Thread mateusz.pusz at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93675 --- Comment #2 from Mateusz Pusz --- Thanks! Mat śr., 12 lut 2020, 01:09 użytkownik cvs-commit at gcc dot gnu.org < gcc-bugzi...@gcc.gnu.org> napisał: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93675 > > --- Comment #1 from CVS Commits

[Bug target/93696] New: AVX512VPOPCNTDQ writemask intrinsics produce incorrect results

2020-02-11 Thread crazylht at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93696 Bug ID: 93696 Summary: AVX512VPOPCNTDQ writemask intrinsics produce incorrect results Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/93582] [10 Regression] -Warray-bounds gives error: array subscript 0 is outside array bounds of struct E[1]

2020-02-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93582 --- Comment #22 from Jakub Jelinek --- (In reply to Richard Biener from comment #21) > The shift_bytes_in_array_{left,right} routines should go next to > native_{encode,interpret} where maybe also a comment should indicate how to > combine both?

[Bug c++/93668] constexpr delete[]

2020-02-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93668 --- Comment #5 from Jonathan Wakely --- (In reply to Jakub Jelinek from comment #3) > I found http://eel.is/c++draft/expr.delete#2 but for the non-array delete it > talks about previous new-expression, which even the array one is. Although it

[Bug c++/93667] [10 regression] ICE in esra with nested [[no_unique_address]] field

2020-02-11 Thread eric.niebler at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93667 --- Comment #3 from Eric Niebler --- > Is this a duplicate / variant of > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93516? Bug 93516 is not triggered by [[no_unique_addresss]] and the ICE is not on the same line. That's why I created a new

[Bug target/93673] Fake error given by gcc when compiling for _kshift intrinsics

2020-02-11 Thread crazylht at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93673 --- Comment #1 from Hongtao.liu --- Affected instrinsics _kshiftli_mask16 _kshiftri_mask16

[Bug tree-optimization/93661] [10 Regression] ICE in tree_to_poly_int64, at tree.c:2976

2020-02-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93661 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/93661] [10 Regression] ICE in tree_to_poly_int64, at tree.c:2976

2020-02-11 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93661 --- Comment #5 from CVS Commits --- The master branch has been updated by Richard Guenther : https://gcc.gnu.org/g:9714f1a70d184fb6d282ac543c57734ed1fb39ac commit r10-6573-g9714f1a70d184fb6d282ac543c57734ed1fb39ac Author: Richard Biener Date:

[Bug tree-optimization/93662] [10 Regression] ICE in tree_to_poly_int64, at tree.c:2976

2020-02-11 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93662 --- Comment #2 from CVS Commits --- The master branch has been updated by Richard Guenther : https://gcc.gnu.org/g:9714f1a70d184fb6d282ac543c57734ed1fb39ac commit r10-6573-g9714f1a70d184fb6d282ac543c57734ed1fb39ac Author: Richard Biener Date:

[Bug c++/92552] [10 Regression] internal compiler error: in lazily_declare_fn, at cp/method.c:3045 with -fconcepts

2020-02-11 Thread TonyELewis at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92552 --- Comment #10 from Tony E Lewis --- I confirm that my testcase remains fixed on the Godbolt build of g++ trunk ("20200210"). Thanks.

[Bug fortran/92196] Regression: -fno-automatic affects local variables in subroutines/function declared with recursive keyword

2020-02-11 Thread markeggleston at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92196 markeggleston at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug c++/93674] New: GCC eliminates conditions it should not, when strict-enums is on

2020-02-11 Thread gbuella at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93674 Bug ID: 93674 Summary: GCC eliminates conditions it should not, when strict-enums is on Product: gcc Version: 8.3.0 Status: UNCONFIRMED Severity: normal

[Bug c++/93668] constexpr delete[]

2020-02-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93668 --- Comment #4 from Jonathan Wakely --- I think it's required by http://eel.is/c++draft/new.delete#single-12 and http://eel.is/c++draft/new.delete#array-11 which says you have to use the matching form. delete must be used with new, and delete[]

[Bug c++/93668] constexpr delete[]

2020-02-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93668 --- Comment #6 from Jonathan Wakely --- Although "a pointer to a non-array object created by a previous new-expression" does rule out arrays created by an array new-expression.

[Bug middle-end/93582] [10 Regression] -Warray-bounds gives error: array subscript 0 is outside array bounds of struct E[1]

2020-02-11 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93582 --- Comment #23 from rguenther at suse dot de --- On Tue, 11 Feb 2020, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93582 > > --- Comment #22 from Jakub Jelinek --- > (In reply to Richard Biener from comment

[Bug rtl-optimization/93658] [9/10 Regression] infinite loop building ghostscript and icu with -O3 on powerpc64le-linux-gnu

2020-02-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93658 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug tree-optimization/93661] [10 Regression] ICE in tree_to_poly_int64, at tree.c:2976

2020-02-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93661 Richard Biener changed: What|Removed |Added Priority|P3 |P1 Status|NEW

[Bug tree-optimization/93662] [10 Regression] ICE in tree_to_poly_int64, at tree.c:2976

2020-02-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93662 Richard Biener changed: What|Removed |Added Priority|P3 |P1 Status|UNCONFIRMED

[Bug middle-end/93663] [10 Regression] ICE in is_halfway_below, at real.c:5192

2020-02-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93663 Richard Biener changed: What|Removed |Added Priority|P3 |P1 Target Milestone|---

[Bug middle-end/93582] [10 Regression] -Warray-bounds gives error: array subscript 0 is outside array bounds of struct E[1]

2020-02-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93582 --- Comment #21 from Richard Biener --- The shift_bytes_in_array_{left,right} routines should go next to native_{encode,interpret} where maybe also a comment should indicate how to combine both? The vn_reference_lookup_3 part looks OK to me,

[Bug c++/93667] [10 regression] ICE in esra with nested [[no_unique_address]] field

2020-02-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93667 Richard Biener changed: What|Removed |Added Priority|P3 |P1 Status|UNCONFIRMED

[Bug c++/93668] constexpr delete[]

2020-02-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93668 Richard Biener changed: What|Removed |Added Keywords||diagnostic --- Comment #2 from Richard

[Bug tree-optimization/93662] [10 Regression] ICE in tree_to_poly_int64, at tree.c:2976

2020-02-11 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93662 --- Comment #3 from CVS Commits --- The master branch has been updated by Richard Guenther : https://gcc.gnu.org/g:667afe5a49ccb73947c6b895780d266f4a4dac73 commit r10-6574-g667afe5a49ccb73947c6b895780d266f4a4dac73 Author: Richard Biener Date:

[Bug tree-optimization/93662] [10 Regression] ICE in tree_to_poly_int64, at tree.c:2976

2020-02-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93662 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/93661] [10 Regression] ICE in tree_to_poly_int64, at tree.c:2976

2020-02-11 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93661 --- Comment #6 from CVS Commits --- The master branch has been updated by Richard Guenther : https://gcc.gnu.org/g:667afe5a49ccb73947c6b895780d266f4a4dac73 commit r10-6574-g667afe5a49ccb73947c6b895780d266f4a4dac73 Author: Richard Biener Date:

[Bug target/60181] constant folding of complex number incorrect

2020-02-11 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60181 --- Comment #10 from Marc Glisse --- Flags like -ftrapping-math can prevent gcc from folding at compile-time when the result is infinite (or maybe it always refuses to fold in that case). In your example, gcc generates a runtime call to __muldc3

[Bug target/93673] New: Fake error given by gcc when compiling for _kshift intrinsics

2020-02-11 Thread crazylht at gmail dot com
; } return result; } --- gcc10_trunk test.c -S -O0 -mavx512f error: #1 with x86-64 gcc (trunk) In file included from /opt/compiler-explorer/gcc-trunk-20200211/lib/gcc/x86_64-linux-gnu/10.0.1/include/immintrin.h:55, from :1: : In function '__mmask16

[Bug fortran/93263] [9/10 Regression] -fno-automatic and RECURSIVE

2020-02-11 Thread markeggleston at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93263 markeggleston at gcc dot gnu.org changed: What|Removed |Added CC||mark.eggleston at

[Bug rtl-optimization/91838] [8/9 Regression] incorrect use of shr and shrx to shift by 64, missed optimization of vector shift

2020-02-11 Thread tnfchris at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91838 Tamar Christina changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug rtl-optimization/91838] [8/9 Regression] incorrect use of shr and shrx to shift by 64, missed optimization of vector shift

2020-02-11 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91838 --- Comment #13 from CVS Commits --- The releases/gcc-9 branch has been updated by Tamar Christina : https://gcc.gnu.org/g:f6e9ae4da8f040ab2ef2eb37d0fb4da6f823bf81 commit r9-8210-gf6e9ae4da8f040ab2ef2eb37d0fb4da6f823bf81 Author: Tamar

[Bug libstdc++/93672] New: std::basic_istream::ignore hangs if delim MSB is set

2020-02-11 Thread erenon2 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93672 Bug ID: 93672 Summary: std::basic_istream::ignore hangs if delim MSB is set Product: gcc Version: 9.1.0 URL: https://stackoverflow.com/questions/60140947/stdbasic-

[Bug rtl-optimization/91838] [8/9 Regression] incorrect use of shr and shrx to shift by 64, missed optimization of vector shift

2020-02-11 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91838 --- Comment #12 from CVS Commits --- The releases/gcc-8 branch has been updated by Tamar Christina : https://gcc.gnu.org/g:0e35a433f8ec02ac46eb5ceb4a9bc6a25e88b05c commit r8-9975-g0e35a433f8ec02ac46eb5ceb4a9bc6a25e88b05c Author: Tamar

[Bug rtl-optimization/93658] [9/10 Regression] infinite loop building ghostscript and icu with -O3 on powerpc64le-linux-gnu

2020-02-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93658 Richard Biener changed: What|Removed |Added Target Milestone|--- |9.3

[Bug c++/90691] [9/10 regression] -Wsign-compare false-positive with constant

2020-02-11 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90691 --- Comment #8 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:dfffecb802681fbdb56629d3bdd96491ac660be0 commit r10-6572-gdfffecb802681fbdb56629d3bdd96491ac660be0 Author: Jason Merrill Date:

[Bug c++/93650] [10 Regression] ICE in cxx_eval_constant_expression, at cp/constexpr.c:5626

2020-02-11 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93650 --- Comment #4 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:dfffecb802681fbdb56629d3bdd96491ac660be0 commit r10-6572-gdfffecb802681fbdb56629d3bdd96491ac660be0 Author: Jason Merrill Date:

[Bug middle-end/93582] [10 Regression] -Warray-bounds gives error: array subscript 0 is outside array bounds of struct E[1]

2020-02-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93582 --- Comment #20 from Jakub Jelinek --- Created attachment 47814 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47814=edit gcc10-pr93582-wip.patch WIP patch, so far only the store covering all the bits (the reconstruction from pieces could

[Bug c++/93668] constexpr delete[]

2020-02-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93668 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

[Bug c++/93674] GCC eliminates conditions it should not, when strict-enums is on

2020-02-11 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93674 --- Comment #1 from Andrew Pinski --- -fstrict-enums Allow the compiler to optimize using the assumption that a value of enumerated type can only be one of the values of the enumeration (as defined in the C++ standard; basically, a value that

[Bug target/93673] Fake error given by gcc when compiling for _kshift intrinsics

2020-02-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93673 --- Comment #3 from Jakub Jelinek --- Created attachment 47816 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47816=edit gcc10-pr93673.patch I meant this actually. QImode for const_0_to_255_operand is wrong, because QImode CONST_INTs are

[Bug c++/93650] [10 Regression] ICE in cxx_eval_constant_expression, at cp/constexpr.c:5626

2020-02-11 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93650 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/93673] Fake error given by gcc when compiling for _kshift intrinsics

2020-02-11 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93673 --- Comment #2 from H.J. Lu --- Something like this: diff --git a/gcc/config/i386/sse.md b/gcc/config/i386/sse.md index 902ea318999..b3b6552e13b 100644 --- a/gcc/config/i386/sse.md +++ b/gcc/config/i386/sse.md @@ -1650,7 +1650,7 @@ (define_insn

[Bug target/93670] ICE for _mm256_extractf32x4_ps (unrecognized insn)

2020-02-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93670 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug middle-end/93663] [10 Regression] ICE in is_halfway_below, at real.c:5192

2020-02-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93663 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/93674] GCC eliminates conditions it should not, when strict-enums is on

2020-02-11 Thread rearnsha at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93674 --- Comment #5 from Richard Earnshaw --- I'm seeing it on AArch64 for master. Adding an enum value with an initializer of -1 causes the problem to go away. So it looks like the 'unsigned' conversion is happening too soon.

[Bug c++/93674] GCC eliminates conditions it should not, when strict-enums is on

2020-02-11 Thread gbuella at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93674 --- Comment #6 from Gábor Buella --- (In reply to Jonathan Wakely from comment #4) > I can't reproduce this with GCC 9, only 8. $ cat code.cc enum some_enum { x = 1000 }; void sink(some_enum); void func() { for (int i = 0; i < 3; ++i)

[Bug rtl-optimization/93264] [10 Regression] ICE in cfg_layout_redirect_edge_and_branch_force, at cfgrtl.c:4522

2020-02-11 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93264 rsandifo at gcc dot gnu.org changed: What|Removed |Added CC||rsandifo at gcc dot

[Bug analyzer/93669] ICE in dump_exploded_nodes, at analyzer/engine.cc:3239

2020-02-11 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93669 David Malcolm changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug target/93673] Fake error given by gcc when compiling for _kshift intrinsics

2020-02-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93673 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c++/93674] GCC eliminates conditions it should not, when strict-enums is on

2020-02-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93674 --- Comment #4 from Jonathan Wakely --- I can't reproduce this with GCC 9, only 8.

[Bug c++/93674] GCC eliminates conditions it should not, when strict-enums is on

2020-02-11 Thread gbuella at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93674 --- Comment #3 from Gábor Buella --- In case anyone would still get confused about the what values get casted to enum, here is another way to write that example: enum some_enum { x0, x1, x2, x3, x4, x5, x6, x7, x8, x9,

[Bug c++/93676] New: crash in build_value_init

2020-02-11 Thread spambait at maniek dot info
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93676 Bug ID: 93676 Summary: crash in build_value_init Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee:

[Bug c++/93674] GCC eliminates conditions it should not, when strict-enums is on

2020-02-11 Thread gbuella at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93674 --- Comment #2 from Gábor Buella --- (In reply to Andrew Pinski from comment #1) > -fstrict-enums > Allow the compiler to optimize using the assumption that a value of > enumerated type can only be one of the values of the enumeration (as

[Bug c++/93675] New: Starship operator on a hidden friend operator does not work

2020-02-11 Thread mateusz.pusz at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93675 Bug ID: 93675 Summary: Starship operator on a hidden friend operator does not work Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug rtl-optimization/93264] [10 Regression] ICE in cfg_layout_redirect_edge_and_branch_force, at cfgrtl.c:4522

2020-02-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93264 --- Comment #3 from Richard Biener --- In general it's a bad idea to try go "back" to CFG layout mode and the fix is to not do that. Which probably means scheduling pass_sms earlier and indeed then best before pass_partition_blocks. I don't

[Bug c++/93675] Starship operator on a hidden friend operator does not work

2020-02-11 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93675 Jason Merrill changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c/85957] i686: Integers appear to be different, but compare as equal

2020-02-11 Thread ch3root at openwall dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85957 Alexander Cherepanov changed: What|Removed |Added CC||ch3root at openwall dot com ---

[Bug c++/93676] [8/9/10 Regression] crash in build_value_init

2020-02-11 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93676 --- Comment #3 from Marek Polacek --- We hit this assert in build_value_init: /* The AGGR_INIT_EXPR tweaking below breaks in templates. */ gcc_assert (!processing_template_decl || (SCALAR_TYPE_P (type) || TREE_CODE (type) ==

[Bug fortran/93678] New: ICE in 9.2/9.2.1 not happening in previous gfortran versions

2020-02-11 Thread mail.luis at web dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93678 Bug ID: 93678 Summary: ICE in 9.2/9.2.1 not happening in previous gfortran versions Product: gcc Version: 9.2.1 Status: UNCONFIRMED Severity: normal

[Bug c++/93676] [8/9/10 Regression] crash in build_value_init

2020-02-11 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93676 Marek Polacek changed: What|Removed |Added Known to work||4.9.4 --- Comment #2 from Marek Polacek

[Bug tree-optimization/93681] Wrong optimization: instability of x87 floating-point results leads to nonsense

2020-02-11 Thread ch3root at openwall dot com
ot;z = %d\n", z); } } -- $ gcc -std=gnu11 -pedantic -Wall -Wextra -m32 -march=i686 -O3 test.c && ./a.out z = 0 z = 1 -- gcc x86-64 version: gcc (GCC) 1

[Bug rtl-optimization/88879] [9 Regression] ICE in sel_target_adjust_priority, at sel-sched.c:3332

2020-02-11 Thread arnd at linaro dot org
test.c during RTL pass: mach lz4_decompress.c:10:1: internal compiler error: in sel_target_adjust_priority, at sel-sched.c:3334 10 | } Reproduced both with 9.2 and current HEAD $ ia64-linux-gcc --version ia64-linux-gcc (GCC) 9.2.1 20200211

[Bug tree-optimization/93682] Wrong optimization: on x87 -fexcess-precision=standard is incompatible with -mpc64

2020-02-11 Thread bugdal at aerifal dot cx
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93682 --- Comment #2 from Rich Felker --- I think the underlying issue here is just that -mpc64 (along with -mpc32) is just hopelessly broken and should be documented as such. It could probably be made to work, but there are all sorts of issues like

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2020-02-11 Thread dave.anglin at bell dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #154 from dave.anglin at bell dot net --- On 2020-02-11 11:31 a.m., peter.bisroev at groundlabs dot com wrote: > We already know that we currently cannot compile stage1 with -O0 as it causes > binaries to become huge and we get

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2020-02-11 Thread peter.bisroev at groundlabs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #152 from Peter Bisroev --- (In reply to David Malcolm from comment #151) > (In reply to Peter Bisroev from comment #139) > > [...] > > > I am not sure how these selftests work yet but will take a look into them to > > see if we

[Bug c++/93674] [8/9/10 Regression] GCC eliminates conditions it should not, when strict-enums is on

2020-02-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93674 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug rtl-optimization/93658] [9/10 Regression] infinite loop building ghostscript and icu with -O3 on powerpc64le-linux-gnu

2020-02-11 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93658 Peter Bergner changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/93676] [8/9/10 Regression] crash in build_value_init

2020-02-11 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93676 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2020-02-11 Thread peter.bisroev at groundlabs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #153 from Peter Bisroev --- Hi Everyone, just wanted to give you an update on where I am at the moment. Unfortunately I did not have much time to dig into this more, but last night while trying to figure out what is causing those

[Bug tree-optimization/93681] New: Wrong optimization: instability of x87 floating-point results leads to nonsense

2020-02-11 Thread ch3root at openwall dot com
tributes -m32 -march=i686 -O3 test.c && ./a.out z = 0 z is one -- gcc x86-64 version: gcc (GCC) 10.0.1 20200211 (experimental) --

[Bug c/85957] i686: Integers appear to be different, but compare as equal

2020-02-11 Thread ch3root at openwall dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85957 --- Comment #22 from Alexander Cherepanov --- (In reply to jos...@codesourcery.com from comment #11) > Yes, I agree that any particular conversion to integer executed in the > abstract machine must produce some definite integer value for each

[Bug preprocessor/93677] New: Create a warning for duplicate macro definition

2020-02-11 Thread vincent-gcc at vinc17 dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93677 Bug ID: 93677 Summary: Create a warning for duplicate macro definition Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug target/93670] ICE for _mm256_extractf32x4_ps (unrecognized insn)

2020-02-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93670 --- Comment #2 from Jakub Jelinek --- Created attachment 47817 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47817=edit gcc10-pr93670.patch VL vs. DQ vs. BW where only one or two but not all 3 are enabled is a mess :(. The extraction

[Bug c++/93674] [8/9/10 Regression] GCC eliminates conditions it should not, when strict-enums is on

2020-02-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93674 Jakub Jelinek changed: What|Removed |Added CC||amker at gcc dot gnu.org --- Comment #8

[Bug tree-optimization/93674] [8/9/10 Regression] GCC eliminates conditions it should not, when strict-enums is on

2020-02-11 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93674 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org

  1   2   >