[Bug c++/104652] It's impossible to declare non-first target function as a friend

2022-02-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104652 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Summary|It's impossible

[Bug d/104654] New: Errors in gthread.d when building against MinGW-w64 with --enable-threads=posix

2022-02-22 Thread brechtsanders at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104654 Bug ID: 104654 Summary: Errors in gthread.d when building against MinGW-w64 with --enable-threads=posix Product: gcc Version: 11.2.1 Status: UNCONFIRMED

[Bug c++/93413] Destructor definition not found during constant evaluation

2022-02-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93413 Andrew Pinski changed: What|Removed |Added CC||lichray at gmail dot com --- Comment #6

[Bug c++/104653] Derived class looks for a definition of its inherited constexpr virtual destructor

2022-02-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104653 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/103302] wrong code with -fharden-compares

2022-02-22 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103302 Alexandre Oliva changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

[Bug tree-optimization/104595] unvectorized loop due to bool condition loaded from memory

2022-02-22 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104595 --- Comment #9 from rguenther at suse dot de --- On Wed, 23 Feb 2022, linkw at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104595 > > --- Comment #8 from Kewen Lin --- > I had one local hack and just found it can

[Bug target/104409] -march=armv8.6-a+ls64 crashes, LS64 builtins causes ICE

2022-02-22 Thread wirkus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104409 Przemyslaw Wirkus changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |wirkus at gcc dot gnu.org

[Bug target/104489] nvptx, sm_53: internal compiler error: in gen_rtx_SUBREG, at emit-rtl.cc:1022

2022-02-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104489 --- Comment #5 from CVS Commits --- The master branch has been updated by Roger Sayle : https://gcc.gnu.org/g:06770148711226ba243b964451dfa8816d5d23e5 commit r12-7357-g06770148711226ba243b964451dfa8816d5d23e5 Author: Roger Sayle Date: Wed

[Bug c++/104653] New: Derived class looks for a definition of its inherited constexpr virtual destructor

2022-02-22 Thread lichray at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104653 Bug ID: 104653 Summary: Derived class looks for a definition of its inherited constexpr virtual destructor Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug tree-optimization/104595] unvectorized loop due to bool condition loaded from memory

2022-02-22 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104595 --- Comment #8 from Kewen Lin --- I had one local hack and just found it can survive on x86 bootstrapping and regression testing. I guess maybe it's good to post here. Just ignore this if it looks like noise. :) The point is to do the

[Bug target/100757] [12 Regression] arm: ICE (unrecognizable insn) with MVE VPSELQ_S since r12-834-ga6eacbf10

2022-02-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100757 --- Comment #24 from CVS Commits --- The master branch has been updated by Christophe Lyon : https://gcc.gnu.org/g:fd0ab7c734b04b91653467b94afd48ceca122083 commit r12-7356-gfd0ab7c734b04b91653467b94afd48ceca122083 Author: Christophe Lyon

[Bug target/101325] [12 Regression] arm: Wrong code with MVE vcmpeqq intrinsic since r12-671-gd083fbf72

2022-02-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101325 --- Comment #20 from CVS Commits --- The master branch has been updated by Christophe Lyon : https://gcc.gnu.org/g:fd0ab7c734b04b91653467b94afd48ceca122083 commit r12-7356-gfd0ab7c734b04b91653467b94afd48ceca122083 Author: Christophe Lyon

[Bug target/104610] memcmp () == 0 can be optimized better for avx512f

2022-02-22 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104610 --- Comment #8 from Hongtao.liu --- Created attachment 52495 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52495=edit untested patch. With the patch, it exposes one potential issue related to dse(or ix86_gen_scratch_sse_rtx usage). in

[Bug c++/104652] New: It's impossible to declare non-default target function as a friend.

2022-02-22 Thread vorfeed.canal at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104652 Bug ID: 104652 Summary: It's impossible to declare non-default target function as a friend. Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug target/103069] cmpxchg isn't optimized

2022-02-22 Thread thiago at kde dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103069 --- Comment #20 from Thiago Macieira --- I think there will be cases where the relaxation makes sense and others where it doesn't because the surrounding code already does it. So I'd like to control per emission. If I can't do it per code

[Bug c/104633] [12 Regression] -Winfinite-recursion diagnoses fortify wrappers

2022-02-22 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104633 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org

[Bug target/103069] cmpxchg isn't optimized

2022-02-22 Thread wwwhhhyyy333 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103069 --- Comment #19 from Hongyu Wang --- (In reply to Thiago Macieira from comment #18) > (In reply to Jakub Jelinek from comment #17) > > _Pragma("GCC target \"relax-cmpxchg-loop\"") > > should do that (ditto target("relax-cmpxchg-loop")

[Bug target/103353] Indefinite recursion when compiling -mmma requiring testcase w/ -maltivec

2022-02-22 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103353 --- Comment #5 from Kewen Lin --- (In reply to Segher Boessenkool from comment #4) > You miss all extra errors the expand_call can generate. This is the general > reason why we try to continue instead of stopping after the first error. The >

[Bug target/104610] memcmp () == 0 can be optimized better for avx512f

2022-02-22 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104610 --- Comment #7 from Hongtao.liu --- (In reply to Hongtao.liu from comment #6) > (In reply to Hongtao.liu from comment #5) > > (In reply to Hongtao.liu from comment #4) > > > (In reply to Hongtao.liu from comment #3) > > > > (In reply to

[Bug fortran/104651] [OOP] CLASS with assumed-size/assumed-rank array

2022-02-22 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104651 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org ---

[Bug c++/104647] [9/10/11/12 Regression] ICE in get_or_insert_ctor_field, at cp/constexpr.cc:3705

2022-02-22 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104647 Marek Polacek changed: What|Removed |Added Target Milestone|--- |9.5

[Bug c++/104647] [9/10/11/12 Regression] ICE in get_or_insert_ctor_field, at cp/constexpr.cc:3705

2022-02-22 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104647 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW CC|

[Bug fortran/104651] New: [OOP] CLASS with assumed-size/assumed-rank array

2022-02-22 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104651 Bug ID: 104651 Summary: [OOP] CLASS with assumed-size/assumed-rank array Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: rejects-valid Severity: normal

[Bug c++/104646] [9/10/11/12 Regression] ICE in cx_check_missing_mem_inits, at cp/constexpr.cc:845

2022-02-22 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104646 --- Comment #2 from Marek Polacek --- Somewhat reduced: template struct pair { _T1 first; int second; }; template class __normal_iterator { _Iterator __traits_type; public: constexpr __normal_iterator() {} }; template class

[Bug fortran/104619] [10/11/12 Regression] ICE on list comprehension with default derived type constructor

2022-02-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104619 --- Comment #3 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:bc66b471d16ef2fd8cb66fd1131b41f80ecb9961 commit r12-7351-gbc66b471d16ef2fd8cb66fd1131b41f80ecb9961 Author: Harald Anlauf Date:

[Bug fortran/84519] [F2018] STOP and ERROR STOP statements with QUIET specifier

2022-02-22 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84519 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org

[Bug target/103069] cmpxchg isn't optimized

2022-02-22 Thread thiago at kde dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103069 --- Comment #18 from Thiago Macieira --- (In reply to Jakub Jelinek from comment #17) > _Pragma("GCC target \"relax-cmpxchg-loop\"") > should do that (ditto target("relax-cmpxchg-loop") attribute). The attribute is applied to a function. I'm

[Bug c++/104646] [9/10/11/12 Regression] ICE in cx_check_missing_mem_inits, at cp/constexpr.cc:845

2022-02-22 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104646 Marek Polacek changed: What|Removed |Added Last reconfirmed||2022-02-22 Priority|P3

[Bug tree-optimization/104645] [12 Regression] i ? i % 2 : 0 not optimized anymore

2022-02-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104645 Andrew Pinski changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug tree-optimization/104645] [12 Regression] i ? i % 2 : 0 not optimized anymore

2022-02-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104645 Andrew Pinski changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org ---

[Bug c++/104608] [12 Regression] internal compiler error: in cp_parser_template_id, at cp/parser.cc:18367

2022-02-22 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104608 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org

[Bug fortran/104650] [PDT] ICE in gfc_resolve_finalizers, at fortran/resolve.cc:13749

2022-02-22 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104650 G. Steinmetz changed: What|Removed |Added Keywords||ice-on-valid-code --- Comment #1 from

[Bug fortran/104650] New: [PDT] ICE in gfc_resolve_finalizers, at fortran/resolve.cc:13749

2022-02-22 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104650 Bug ID: 104650 Summary: [PDT] ICE in gfc_resolve_finalizers, at fortran/resolve.cc:13749 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug c++/104622] [12 Regression] ICE in compare_ics, at cp/call.cc:11419

2022-02-22 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104622 Marek Polacek changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug fortran/104649] New: ICE in gfc_match_formal_arglist, at fortran/decl.cc:6733

2022-02-22 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104649 Bug ID: 104649 Summary: ICE in gfc_match_formal_arglist, at fortran/decl.cc:6733 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug c++/104648] New: [12 Regression] ICE in cgraphunit_cc_finalize, at cgraphunit.cc:2540

2022-02-22 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104648 Bug ID: 104648 Summary: [12 Regression] ICE in cgraphunit_cc_finalize, at cgraphunit.cc:2540 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug c++/104647] New: [9/10/11/12 Regression] ICE in get_or_insert_ctor_field, at cp/constexpr.cc:3705

2022-02-22 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104647 Bug ID: 104647 Summary: [9/10/11/12 Regression] ICE in get_or_insert_ctor_field, at cp/constexpr.cc:3705 Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug c++/104646] New: [9/10/11/12 Regression] ICE in cx_check_missing_mem_inits, at cp/constexpr.cc:845

2022-02-22 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104646 Bug ID: 104646 Summary: [9/10/11/12 Regression] ICE in cx_check_missing_mem_inits, at cp/constexpr.cc:845 Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug c++/104623] [11/12 Regression] ICE in cp_parser_skip_to_pragma_eol, at cp/parser.cc:4107

2022-02-22 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104623 --- Comment #2 from Marek Polacek --- Looks like a missing CPP_PRAGMA_EOL.

[Bug c++/104623] [11/12 Regression] ICE in cp_parser_skip_to_pragma_eol, at cp/parser.cc:4107

2022-02-22 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104623 Marek Polacek changed: What|Removed |Added Last reconfirmed||2022-02-22 Ever confirmed|0

[Bug c++/104624] [10/11/12 Regression] ICE in standard_conversion, at cp/call.cc:1213

2022-02-22 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104624 Marek Polacek changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug tree-optimization/104645] [12 Regression] i ? i % 2 : 0 not optimized anymore

2022-02-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104645 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P1 Ever confirmed|0

[Bug tree-optimization/104645] [12 Regression] i ? i % 2 : 0 not optimized anymore

2022-02-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104645 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0 Keywords|

[Bug tree-optimization/104645] New: [12 Regression] i ? i % 2 : 0 not optimized anymore

2022-02-22 Thread denis.campredon at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104645 Bug ID: 104645 Summary: [12 Regression] i ? i % 2 : 0 not optimized anymore Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug tree-optimization/104644] [12 Regression] ICE: SIGSEGV (infinite recursion in fold_binary_loc / fold_build2_loc / generic_simplify_NE_EXPR)

2022-02-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104644 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug tree-optimization/104644] [12 Regression] ICE: SIGSEGV (infinite recursion in fold_binary_loc / fold_build2_loc / generic_simplify_NE_EXPR)

2022-02-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104644 Jakub Jelinek changed: What|Removed |Added Ever confirmed|0 |1 Target Milestone|---

[Bug target/103069] cmpxchg isn't optimized

2022-02-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103069 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment

[Bug c/104644] New: [12 Regression] ICE: SIGSEGV (infinite recursion in fold_binary_loc / fold_build2_loc / generic_simplify_NE_EXPR)

2022-02-22 Thread zsojka at seznam dot cz via Gcc-bugs
trunk-r12-7349-20220222175310-g54f74502327-checking-yes-rtl-df-extra-nobootstrap-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 12.0.1 20220222 (experimental) (GCC)

[Bug target/88197] ICE in decompose_normal_address, at rtlanal.c:6381

2022-02-22 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88197 Segher Boessenkool changed: What|Removed |Added Resolution|--- |WORKSFORME Status|NEW

[Bug tree-optimization/104639] [12 Regression] Useless loop not fully optimized anymore

2022-02-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104639 --- Comment #6 from Jakub Jelinek --- The #c5 case seems unrelated and started with r12-5358-g32221357007666124409ec3ee0d3a1cf263ebc9e Please file a separate PR for that.

[Bug target/103069] cmpxchg isn't optimized

2022-02-22 Thread thiago at kde dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103069 --- Comment #16 from Thiago Macieira --- Can this option be enabled and disabled with a _Pragma?

[Bug libstdc++/103407] [12 regression] abi_check FAILs on Solaris

2022-02-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103407 --- Comment #3 from Jonathan Wakely --- The new std::from_chars is on trunk, but we still have this in : #if _GLIBCXX_HAVE_USELOCALE Which should be relaxed to not depend on uselocale.

[Bug libstdc++/104217] [12 Regression] gcc-12-20220123 failure to build on Cygwin due to lack of secure_getenv

2022-02-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104217 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/104639] [12 Regression] Useless loop not fully optimized anymore

2022-02-22 Thread denis.campredon at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104639 --- Comment #5 from denis.campredon at gmail dot com --- That peace of code seems related but does not need a loop unlike the original one. -- int foo(unsigned i) { return i ? i % 2 : 0; } -- With trunk 12

[Bug target/104643] New: gcc/config/rs6000/driver-rs6000.cc: 2 * pointless call ?

2022-02-22 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104643 Bug ID: 104643 Summary: gcc/config/rs6000/driver-rs6000.cc: 2 * pointless call ? Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug target/88134] ICE in create_component_ref_by_pieces_1, at tree-ssa-pre.c:2520

2022-02-22 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88134 Segher Boessenkool changed: What|Removed |Added Resolution|--- |FIXED Status|REOPENED

[Bug target/88134] ICE in create_component_ref_by_pieces_1, at tree-ssa-pre.c:2520

2022-02-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88134 --- Comment #33 from CVS Commits --- The master branch has been updated by Segher Boessenkool : https://gcc.gnu.org/g:537c96588026aec09b9a00d6d0f3670f612428b5 commit r12-7346-g537c96588026aec09b9a00d6d0f3670f612428b5 Author: Segher Boessenkool

[Bug target/100757] [12 Regression] arm: ICE (unrecognizable insn) with MVE VPSELQ_S since r12-834-ga6eacbf10

2022-02-22 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100757 Christophe Lyon changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/101325] [12 Regression] arm: Wrong code with MVE vcmpeqq intrinsic since r12-671-gd083fbf72

2022-02-22 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101325 Christophe Lyon changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/104641] Deduction guide for member template class rejected at class scope when used with typename dependant type

2022-02-22 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104641 --- Comment #2 from Patrick Palka --- One workaround is to use a helper member function (defined alongside the nested class template) that performs the CTAD, something like: #include template struct A { template struct B { B(U); };

[Bug target/100757] [12 Regression] arm: ICE (unrecognizable insn) with MVE VPSELQ_S since r12-834-ga6eacbf10

2022-02-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100757 --- Comment #22 from CVS Commits --- The master branch has been updated by Christophe Lyon : https://gcc.gnu.org/g:c6b4ea7ab1aa6c5c07798fa6c6ad15dd1761b5ed commit r12-7344-gc6b4ea7ab1aa6c5c07798fa6c6ad15dd1761b5ed Author: Christophe Lyon

[Bug target/101325] [12 Regression] arm: Wrong code with MVE vcmpeqq intrinsic since r12-671-gd083fbf72

2022-02-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101325 --- Comment #18 from CVS Commits --- The master branch has been updated by Christophe Lyon : https://gcc.gnu.org/g:c6b4ea7ab1aa6c5c07798fa6c6ad15dd1761b5ed commit r12-7344-gc6b4ea7ab1aa6c5c07798fa6c6ad15dd1761b5ed Author: Christophe Lyon

[Bug target/101325] [12 Regression] arm: Wrong code with MVE vcmpeqq intrinsic since r12-671-gd083fbf72

2022-02-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101325 --- Comment #17 from CVS Commits --- The master branch has been updated by Christophe Lyon : https://gcc.gnu.org/g:6a7c13a0cf2290b60ab36f9ce1027b92838586bd commit r12-7343-g6a7c13a0cf2290b60ab36f9ce1027b92838586bd Author: Christophe Lyon

[Bug target/100757] [12 Regression] arm: ICE (unrecognizable insn) with MVE VPSELQ_S since r12-834-ga6eacbf10

2022-02-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100757 --- Comment #21 from CVS Commits --- The master branch has been updated by Christophe Lyon : https://gcc.gnu.org/g:6a7c13a0cf2290b60ab36f9ce1027b92838586bd commit r12-7343-g6a7c13a0cf2290b60ab36f9ce1027b92838586bd Author: Christophe Lyon

[Bug target/100757] [12 Regression] arm: ICE (unrecognizable insn) with MVE VPSELQ_S since r12-834-ga6eacbf10

2022-02-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100757 --- Comment #20 from CVS Commits --- The master branch has been updated by Christophe Lyon : https://gcc.gnu.org/g:724d6566cd11c676f3bc082a9771784c825affb1 commit r12-7342-g724d6566cd11c676f3bc082a9771784c825affb1 Author: Christophe Lyon

[Bug target/101325] [12 Regression] arm: Wrong code with MVE vcmpeqq intrinsic since r12-671-gd083fbf72

2022-02-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101325 --- Comment #16 from CVS Commits --- The master branch has been updated by Christophe Lyon : https://gcc.gnu.org/g:724d6566cd11c676f3bc082a9771784c825affb1 commit r12-7342-g724d6566cd11c676f3bc082a9771784c825affb1 Author: Christophe Lyon

[Bug target/101325] [12 Regression] arm: Wrong code with MVE vcmpeqq intrinsic since r12-671-gd083fbf72

2022-02-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101325 --- Comment #15 from CVS Commits --- The master branch has been updated by Christophe Lyon : https://gcc.gnu.org/g:e6a4aefce8e47a7d3ba781066a1410ebfa963e59 commit r12-7341-ge6a4aefce8e47a7d3ba781066a1410ebfa963e59 Author: Christophe Lyon

[Bug target/100757] [12 Regression] arm: ICE (unrecognizable insn) with MVE VPSELQ_S since r12-834-ga6eacbf10

2022-02-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100757 --- Comment #19 from CVS Commits --- The master branch has been updated by Christophe Lyon : https://gcc.gnu.org/g:e6a4aefce8e47a7d3ba781066a1410ebfa963e59 commit r12-7341-ge6a4aefce8e47a7d3ba781066a1410ebfa963e59 Author: Christophe Lyon

[Bug target/100757] [12 Regression] arm: ICE (unrecognizable insn) with MVE VPSELQ_S since r12-834-ga6eacbf10

2022-02-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100757 --- Comment #18 from CVS Commits --- The master branch has been updated by Christophe Lyon : https://gcc.gnu.org/g:df0e57c2c032cea0f77f2e68231c035f282b26d6 commit r12-7340-gdf0e57c2c032cea0f77f2e68231c035f282b26d6 Author: Christophe Lyon

[Bug target/100757] [12 Regression] arm: ICE (unrecognizable insn) with MVE VPSELQ_S since r12-834-ga6eacbf10

2022-02-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100757 --- Comment #17 from CVS Commits --- The master branch has been updated by Christophe Lyon : https://gcc.gnu.org/g:91224cf625dc90304bb515a0cc602beed48fe3da commit r12-7339-g91224cf625dc90304bb515a0cc602beed48fe3da Author: Christophe Lyon

[Bug target/101325] [12 Regression] arm: Wrong code with MVE vcmpeqq intrinsic since r12-671-gd083fbf72

2022-02-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101325 --- Comment #14 from CVS Commits --- The master branch has been updated by Christophe Lyon : https://gcc.gnu.org/g:91224cf625dc90304bb515a0cc602beed48fe3da commit r12-7339-g91224cf625dc90304bb515a0cc602beed48fe3da Author: Christophe Lyon

[Bug target/100757] [12 Regression] arm: ICE (unrecognizable insn) with MVE VPSELQ_S since r12-834-ga6eacbf10

2022-02-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100757 --- Comment #16 from CVS Commits --- The master branch has been updated by Christophe Lyon : https://gcc.gnu.org/g:884f77b489510e1df9db2889b60c5df6fcda commit r12-7338-g884f77b489510e1df9db2889b60c5df6fcda Author: Christophe Lyon

[Bug target/101325] [12 Regression] arm: Wrong code with MVE vcmpeqq intrinsic since r12-671-gd083fbf72

2022-02-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101325 --- Comment #13 from CVS Commits --- The master branch has been updated by Christophe Lyon : https://gcc.gnu.org/g:884f77b489510e1df9db2889b60c5df6fcda commit r12-7338-g884f77b489510e1df9db2889b60c5df6fcda Author: Christophe Lyon

[Bug tree-optimization/104639] [12 Regression] Useless loop not fully optimized anymore

2022-02-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104639 --- Comment #4 from Jakub Jelinek --- The ranger itself can't, i_2(D) in the PHI arg is ~[4, 4], and _3 is still [0, 1] aka VARYING. Yes, phiopt could handle this by seeing a PHI result is only used in an equality comparison and try to figure

[Bug c++/104624] [10/11/12 Regression] ICE in standard_conversion, at cp/call.cc:1213

2022-02-22 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104624 --- Comment #1 from G. Steinmetz --- > Started between 20200712 and 20200719 : Sorry, a cut from pr104623. It started between 20200419 and 20200509.

[Bug tree-optimization/104639] [12 Regression] Useless loop not fully optimized anymore

2022-02-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104639 --- Comment #3 from Richard Biener --- it's odd that VRP doesn't optimize this though. VRP2 says Exported global range table: i_6 : int ~[4, 4] bool foo (int i) { bool _3; [local count: 118111600]: if

[Bug c++/104641] Deduction guide for member template class rejected at class scope when used with typename dependant type

2022-02-22 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104641 Patrick Palka changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org

[Bug c++/104642] Add __builtin_trap() for missing return at -O0

2022-02-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104642 --- Comment #1 from Richard Biener --- Not sure, people will still see the surprising behavior at -O1+ then and at -O0 we're not exploiting the __builtin_unreachable () in too surprising ways (we'll just fall thru to the next function or so -

[Bug target/99555] [OpenMP/nvptx] Execution-time hang for simple nested OpenMP 'target'/'parallel'/'task' constructs

2022-02-22 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99555 Tom de Vries changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/99555] [OpenMP/nvptx] Execution-time hang for simple nested OpenMP 'target'/'parallel'/'task' constructs

2022-02-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99555 --- Comment #11 from CVS Commits --- The master branch has been updated by Tom de Vries : https://gcc.gnu.org/g:5ed77fb3ed1ee0289a0ec9499ef52b99b39421f1 commit r12-7332-g5ed77fb3ed1ee0289a0ec9499ef52b99b39421f1 Author: Tom de Vries Date:

[Bug tree-optimization/101636] [11/12 Regression] ICE: verify_gimple failed (error: conversion of register to a different size in 'view_convert_expr')

2022-02-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101636 --- Comment #14 from Richard Biener --- Created attachment 52492 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52492=edit GIMPLE testcase So I think that the IL we produce from SLP vectorizing the if-converted loop body is not great and

[Bug c++/104642] New: Add __builtin_trap() for missing return at -O0

2022-02-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104642 Bug ID: 104642 Summary: Add __builtin_trap() for missing return at -O0 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/100983] Deduction guide for member template class rejected at class scope

2022-02-22 Thread gcc at ebasoft dot com.pl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100983 --- Comment #9 from Artur Bać --- created https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104641

[Bug c++/104641] New: Deduction guide for member template class rejected at class scope when used with typename dependant type

2022-02-22 Thread gcc at ebasoft dot com.pl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104641 Bug ID: 104641 Summary: Deduction guide for member template class rejected at class scope when used with typename dependant type Product: gcc Version: 12.0 Status:

[Bug target/104363] hppa: __asm__ directive .global and multiple .symver not supported

2022-02-22 Thread dave.anglin at bell dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104363 --- Comment #11 from dave.anglin at bell dot net --- On 2022-02-22 4:15 a.m., mathieu.malaterre at gmail dot com wrote: > [...] > libkcapi-1.3.1/apps/kcapi-rng.c:302: undefined reference to > `kcapi_rng_generate' >

[Bug c++/104635] for loop optimized into infinite loop

2022-02-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104635 --- Comment #10 from Jonathan Wakely --- (In reply to Szüllő Ádám from comment #8) > Yes, the code as a whole is invalid. > But for(int i=0; i<4; i++) is well defined. No, that's not how undefined behaviour works. It isn't bounded or localised

[Bug c++/104635] for loop optimized into infinite loop

2022-02-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104635 --- Comment #9 from Jonathan Wakely --- (In reply to Szüllő Ádám from comment #4) > i understand that missing return value is undefined behaviour. > my point is, that this should be limited to the act of return (return with > garbage, segfault,

[Bug c++/104635] for loop optimized into infinite loop

2022-02-22 Thread szullo.adam at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104635 --- Comment #8 from Szüllő Ádám --- Yes, the code as a whole is invalid. But for(int i=0; i<4; i++) is well defined.

[Bug c++/104635] for loop optimized into infinite loop

2022-02-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104635 --- Comment #7 from Jonathan Wakely --- It isn't well-defined code though. It's undefined, as you yourself said. It can't be both.

[Bug c++/100983] Deduction guide for member template class rejected at class scope

2022-02-22 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100983 --- Comment #8 from Patrick Palka --- (In reply to Artur Bać from comment #7) > Do I have to open new bug because of You marked it as fixed while it is not > fixed ? Yes please, it'd be easier to track that way.

[Bug c++/104640] New: incomplete unicode support for User-defined literals

2022-02-22 Thread maik.urbannek at cattatech dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104640 Bug ID: 104640 Summary: incomplete unicode support for User-defined literals Product: gcc Version: 11.2.1 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/104635] for loop optimized into infinite loop

2022-02-22 Thread szullo.adam at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104635 --- Comment #6 from Szüllő Ádám --- I'd bothered to read the articles, and there were no new information (nor relevant to this exact case). You are right that this is not a bug, becasue the code is invalid, as myself emphasized too in the

[Bug c++/100983] Deduction guide for member template class rejected at class scope

2022-02-22 Thread gcc at ebasoft dot com.pl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100983 --- Comment #7 from Artur Bać --- Do I have to open new bug because of You marked it as fixed while it is not fixed ?

[Bug rtl-optimization/104596] Means to add a comment in the assembly

2022-02-22 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104596 --- Comment #3 from Tom de Vries --- Submitted patch: https://gcc.gnu.org/pipermail/gcc-patches/2022-February/590721.html

[Bug target/104409] -march=armv8.6-a+ls64 crashes, LS64 builtins causes ICE

2022-02-22 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104409 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org,

[Bug c++/100983] Deduction guide for member template class rejected at class scope

2022-02-22 Thread gcc at ebasoft dot com.pl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100983 --- Comment #6 from Artur Bać --- The typename was from my real code by mistake where value_type s template param. But in real code withing template I have to use typename and it doesn't work with trunk too. https://godbolt.org/z/E6Pavhfza

[Bug c++/100983] Deduction guide for member template class rejected at class scope

2022-02-22 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100983 --- Comment #5 from Patrick Palka --- (In reply to Artur Bać from comment #4) > trunk at compiler explorer still rejects valid code > > https://godbolt.org/z/v4ebhj9Gh, only the message of requirement of > namespace scope is missing from gcc

[Bug tree-optimization/104639] [12 Regression] Useless loop not fully optimized anymore

2022-02-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104639 --- Comment #2 from Jakub Jelinek --- One thing is not threading through loop latches, but in this case once the loop is optimized into straight line code in thread2 we don't thread that further, so end up with if (i_2(D) == 4) goto ;

[Bug tree-optimization/104639] [12 Regression] Useless loop not fully optimized anymore

2022-02-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104639 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/104639] New: Useless loop not fully optimized anymore

2022-02-22 Thread denis.campredon at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104639 Bug ID: 104639 Summary: Useless loop not fully optimized anymore Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

  1   2   >