[Bug tree-optimization/118888] New: GCC only optimize 1 bits-manipulation function out of many despite having the same implementations.

2025-02-14 Thread evanhyd2003 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=11 Bug ID: 11 Summary: GCC only optimize 1 bits-manipulation function out of many despite having the same implementations. Product: gcc Version: 14.2.0 Status: UNCONFIR

[Bug target/116594] [meta-bug] xtheadvector brokeness

2025-02-14 Thread majin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116594 --- Comment #3 from Jin Ma --- (In reply to Andrew Pinski from comment #1) > All known brokeness of xtheadvector . Hi, I conducted regression testing on XTheadVector and compared it with rv64gcv_zvfh. The results indicate that XTheadVector has

[Bug target/118886] New: Invalid fusions on RISC-V

2025-02-14 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118886 Bug ID: 118886 Summary: Invalid fusions on RISC-V Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: target As

[Bug rtl-optimization/118887] New: Missed CSE of symbolic address computation

2025-02-14 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118887 Bug ID: 118887 Summary: Missed CSE of symbolic address computation Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: rt

[Bug fortran/118884] [15 regression] lapack fails to compile (Error: Type mismatch at (1) passing global function ‘cslect’ declared at (2) (UNKNOWN/LOGICAL(4)))

2025-02-14 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118884 --- Comment #6 from Jerry DeLisle --- I forgot to mention this is a good hint for Thomas regarding how to tweak the previous fix.

[Bug fortran/118884] [15 regression] lapack fails to compile (Error: Type mismatch at (1) passing global function ‘cslect’ declared at (2) (UNKNOWN/LOGICAL(4)))

2025-02-14 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118884 --- Comment #5 from Jerry DeLisle --- Not disagreeing, however: Warning: Type mismatch at (1) passing global function ‘cslect’ declared at (2) (UNKNOWN/LOGICAL(4)) cget24.f-pp.f:545:32: 237 |IF( CSLECT( W( I ) ) ) |

[Bug fortran/118884] [15 regression] lapack fails to compile (Error: Type mismatch at (1) passing global function ‘cslect’ declared at (2) (UNKNOWN/LOGICAL(4)))

2025-02-14 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118884 kargls at comcast dot net changed: What|Removed |Added CC||kargls at comcast dot net --

[Bug fortran/118884] [15 regression] lapack fails to compile (Error: Type mismatch at (1) passing global function ‘cslect’ declared at (2) (UNKNOWN/LOGICAL(4)))

2025-02-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118884 --- Comment #3 from Sam James --- Should I ask LAPACK upstream to build with -std=legacy?

[Bug target/118885] New: gcc.target/i386/pr90579.c fails with PIE

2025-02-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118885 Bug ID: 118885 Summary: gcc.target/i386/pr90579.c fails with PIE Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: testsuite-fail Severity: normal Prior

[Bug fortran/118884] [15 regression] lapack fails to compile (Error: Type mismatch at (1) passing global function ‘cslect’ declared at (2) (UNKNOWN/LOGICAL(4)))

2025-02-14 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118884 Jerry DeLisle changed: What|Removed |Added CC||jvdelisle at gcc dot gnu.org --- Commen

[Bug tree-optimization/86707] Missed optimization: optimizing set of if statements

2025-02-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86707 --- Comment #3 from Andrew Pinski --- This was fixed in GCC 14.

[Bug tree-optimization/118867] [12/13/14/15 regression] -Wfree-nonheap-object false positive

2025-02-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118867 --- Comment #17 from Andrew Pinski --- (In reply to Andrew Pinski from comment #16) > So one issue with FRE/PRE not figuring out on the predicates is due to the > SSA_NAME NOT being last. I mean the SSA_NAME being last and NOT first is getting

[Bug tree-optimization/118867] [12/13/14/15 regression] -Wfree-nonheap-object false positive

2025-02-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118867 --- Comment #16 from Andrew Pinski --- Created attachment 60503 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60503&action=edit Patch for the canonical of variants (In reply to Richard Biener from comment #14) > We have helpers for foldi

[Bug c++/104426] -fsanitize=undefined causes constexpr failures

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

[Bug sanitizer/71962] error: ‘((& x) != 0u)’ is not a constant expression with fsanitize=undefined

2025-02-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71962 Andrew Pinski changed: What|Removed |Added CC||ivan.lazaric.gcc at gmail dot com --- C

[Bug c++/113826] string_view::find sometimes not working in constexpr contexts under -fsanitize=undefined

2025-02-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113826 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRME

[Bug c++/108617] nullptr comparision in constexpr function reported as not constexpr when using -fsanitize=returns-nonnull-attribute

2025-02-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108617 Bug 108617 depends on bug 104426, which changed state. Bug 104426 Summary: -fsanitize=undefined causes constexpr failures https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104426 What|Removed |Added

[Bug sanitizer/71962] error: ‘((& x) != 0u)’ is not a constant expression

2025-02-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71962 Andrew Pinski changed: What|Removed |Added CC||pdimov at gmail dot com --- Comment #14

[Bug c++/55004] [meta-bug] constexpr issues

2025-02-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Bug 55004 depends on bug 108617, which changed state. Bug 108617 Summary: nullptr comparision in constexpr function reported as not constexpr when using -fsanitize=returns-nonnull-attribute https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108617

[Bug sanitizer/71962] error: ‘((& x) != 0u)’ is not a constant expression

2025-02-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71962 Andrew Pinski changed: What|Removed |Added CC||andre.schackier at gmail dot com --- Co

[Bug c++/108617] nullptr comparision in constexpr function reported as not constexpr when using -fsanitize=returns-nonnull-attribute

2025-02-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108617 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRME

[Bug fortran/118845] [15 regression] ICE when building lapack-3.12.0 on x86 (compare_parameter, at fortran/interface.cc:2521)

2025-02-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118845 --- Comment #10 from Sam James --- Thanks. It doesn't ICE anymore, but it does get rejected: PR118884.

[Bug fortran/118884] [15 regression] lapack fails to compile (Error: Type mismatch at (1) passing global function ‘cslect’ declared at (2) (UNKNOWN/LOGICAL(4)))

2025-02-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118884 --- Comment #1 from Sam James --- Created attachment 60502 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60502&action=edit cget24.f-pp.f.xz

[Bug fortran/118884] New: [15 regression] lapack fails to compile (Error: Type mismatch at (1) passing global function ‘cslect’ declared at (2) (UNKNOWN/LOGICAL(4)))

2025-02-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
vtv --with-zstd --without-isl --enable-default-pie --enable-host-pie --disable-host-bind-now --enable-default-ssp --disable-fixincludes --with-build-config='bootstrap-O3 bootstrap-lto' Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 15.0.1 20250214 (ex

[Bug c++/118883] [C++17] Incorrectly requires initializer for static constexpr class-member

2025-02-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118883 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug c++/118883] [C++17] Incorrectly requires initializer for static constexpr class-member

2025-02-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118883 --- Comment #1 from Andrew Pinski --- https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0386r2.pdf

[Bug c++/118883] New: [C++17] Incorrectly requires initializer for static constexpr class-member

2025-02-14 Thread foom at fuhm dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118883 Bug ID: 118883 Summary: [C++17] Incorrectly requires initializer for static constexpr class-member Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: nor

[Bug middle-end/99098] [meta-bug] invalid/missing -Wfree-nonheap-object warnings

2025-02-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99098 Bug 99098 depends on bug 118865, which changed state. Bug 118865 Summary: [12/13/14/15 regression] -Wfree-nonheap-object false positive https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118865 What|Removed |Added -

[Bug tree-optimization/118865] [12/13/14/15 regression] -Wfree-nonheap-object false positive

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

[Bug tree-optimization/118867] [12/13/14/15 regression] -Wfree-nonheap-object false positive

2025-02-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118867 --- Comment #15 from GCC Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:0c3cc57f0e71a7a945fb10c817260dd8a7894e7f commit r15-7547-g0c3cc57f0e71a7a945fb10c817260dd8a7894e7f Author: Andrew Pinski Date: T

[Bug tree-optimization/118865] [12/13/14/15 regression] -Wfree-nonheap-object false positive

2025-02-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118865 --- Comment #11 from GCC Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:0c3cc57f0e71a7a945fb10c817260dd8a7894e7f commit r15-7547-g0c3cc57f0e71a7a945fb10c817260dd8a7894e7f Author: Andrew Pinski Date: T

[Bug target/113331] AMDGCN: Compilation failure due to duplicate .LEHB/.LEHE symbols

2025-02-14 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113331 Thomas Schwinge changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |tschwinge at gcc dot gnu.org

[Bug tree-optimization/110503] [13/14/15 Regression] Dead Code Elimination Regression at -O3 since r13-322-g7f04b0d786e

2025-02-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110503 --- Comment #10 from Andrew Pinski --- One thing we should note is that VRP and forwprop go and forth between: ``` # RANGE [irange] int [0, 1] _11 = 1 % _10; _3 = (unsigned int) _11; # RANGE [irange] unsigned int [0, 0][+INF, +INF] _14

[Bug c++/106980] Concept on a variadig template

2025-02-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106980 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org Last reco

[Bug c++/118856] [15 Regression] ICE in gimplify_var_or_parm_decl at gimplify.cc:3346 on mesonlsp-4.3.7 since r15-7481

2025-02-14 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118856 --- Comment #12 from Sergei Trofimovich --- The change fixes mesonlsp-4.3.7 tests for me. Thank you!

[Bug c++/106685] ICE with concepts and ptr to member functions in requires

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

[Bug c++/55004] [meta-bug] constexpr issues

2025-02-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Bug 55004 depends on bug 83144, which changed state. Bug 83144 Summary: ICE using trailing return type and constexpr with GCC 7.X https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83144 What|Removed |Added --

[Bug c++/83144] ICE using trailing return type and constexpr with GCC 7.X

2025-02-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83144 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/83144] ICE using trailing return type and constexpr with GCC 7.X

2025-02-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83144 --- Comment #5 from GCC Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:8e44f7ecb7b9ad6893f7784b1a303a5463b46cd5 commit r15-7546-g8e44f7ecb7b9ad6893f7784b1a303a5463b46cd5 Author: Marek Polacek Date: Fri

[Bug c++/83144] ICE using trailing return type and constexpr with GCC 7.X

2025-02-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83144 --- Comment #4 from Marek Polacek --- template class tuple; struct _Head_base { int _M_head_impl; }; template struct _Tuple_impl; template struct _Tuple_impl<_Idx, _Head, _Tail...> : _Head_base {}; template struct tuple<_T1, _T2> : _Tuple_i

[Bug c++/96364] ICE on valid code in cp_finish_decl with auto return type and double attributes

2025-02-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96364 Marek Polacek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org

[Bug c++/92431] ICE with spaceship in constexpr evaluation

2025-02-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92431 Marek Polacek changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/94282] [amdgcn] ld: error: undefined symbol: __gxx_personality_v0

2025-02-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94282 --- Comment #10 from GCC Commits --- The trunk branch has been updated by Thomas Schwinge : https://gcc.gnu.org/g:2b9bdb2d286e6872f4195ba2e710130cf6b2805d commit r15-7543-g2b9bdb2d286e6872f4195ba2e710130cf6b2805d Author: Thomas Schwinge Date:

[Bug c++/96676] Segmentation fault on parsing simple variadic template function call

2025-02-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96676 Marek Polacek changed: What|Removed |Added Last reconfirmed|2021-10-01 00:00:00 |2025-2-14 --- Comment #4 from Marek Pola

[Bug c++/55004] [meta-bug] constexpr issues

2025-02-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Bug 55004 depends on bug 92431, which changed state. Bug 92431 Summary: ICE with spaceship in constexpr evaluation https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92431 What|Removed |Added -

[Bug target/113331] AMDGCN: Compilation failure due to duplicate .LEHB/.LEHE symbols

2025-02-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113331 --- Comment #5 from GCC Commits --- The trunk branch has been updated by Thomas Schwinge : https://gcc.gnu.org/g:2b9bdb2d286e6872f4195ba2e710130cf6b2805d commit r15-7543-g2b9bdb2d286e6872f4195ba2e710130cf6b2805d Author: Thomas Schwinge Date:

[Bug other/118878] [ice][avr] internal compiler error: in avr_out_plus_1, at config/avr/avr.cc:8801

2025-02-14 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118878 Georg-Johann Lay changed: What|Removed |Added Status|NEW |RESOLVED Target Milestone|---

[Bug other/118878] [ice][avr] internal compiler error: in avr_out_plus_1, at config/avr/avr.cc:8801

2025-02-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118878 --- Comment #1 from GCC Commits --- The master branch has been updated by Georg-Johann Lay : https://gcc.gnu.org/g:1dc4e220ca2272d668ddb3041ccd9e69b968e532 commit r15-7544-g1dc4e220ca2272d668ddb3041ccd9e69b968e532 Author: Georg-Johann Lay Dat

[Bug c++/115486] ICE: Segfault while compiling partial template specialization with expanded parameter pack of function pointers

2025-02-14 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115486 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org Resol

[Bug c++/101603] [meta-bug] pointer to member functions issues

2025-02-14 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101603 Bug 101603 depends on bug 100538, which changed state. Bug 100538 Summary: g++ miscompile / ICE with variadic member function pointer argument list https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100538 What|Removed

[Bug c++/100538] g++ miscompile / ICE with variadic member function pointer argument list

2025-02-14 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100538 Patrick Palka changed: What|Removed |Added Target Milestone|--- |15.0 Resolution|---

[Bug middle-end/86660] libgomp.c++/for-15.C ICEs with nvptx offloading

2025-02-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86660 --- Comment #22 from GCC Commits --- The trunk branch has been updated by Thomas Schwinge : https://gcc.gnu.org/g:9611ce687904a22da2febbc97acba2ae0f0c3780 commit r15-7542-g9611ce687904a22da2febbc97acba2ae0f0c3780 Author: Thomas Schwinge Date:

[Bug c++/92969] Segmentation fault compiling partial specialization of auto-deduced member function pointers

2025-02-14 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92969 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org St

[Bug c++/101603] [meta-bug] pointer to member functions issues

2025-02-14 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101603 Bug 101603 depends on bug 92969, which changed state. Bug 92969 Summary: Segmentation fault compiling partial specialization of auto-deduced member function pointers https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92969 What|Removed

[Bug c++/102626] [c++20] compiler crash when invoking constexpr function in the constructor of template class

2025-02-14 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102626 Patrick Palka changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/118265] Failure in resolving non-type template parameters with nested parameter pack of form ...B>

2025-02-14 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118265 Patrick Palka changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug c++/86933] GCC fails to recognize specialization of variadic non-type template parameter declared with `auto`

2025-02-14 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86933 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org Target Miles

[Bug c++/86933] GCC fails to recognize specialization of variadic non-type template parameter declared with `auto`

2025-02-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86933 --- Comment #2 from GCC Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:80b9c9c844458779556995a5be7c08a8894d0f96 commit r15-7539-g80b9c9c844458779556995a5be7c08a8894d0f96 Author: Patrick Palka Date: Fr

[Bug c++/83144] ICE using trailing return type and constexpr with GCC 7.X

2025-02-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83144 Marek Polacek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org

[Bug tree-optimization/110503] [13/14/15 Regression] Dead Code Elimination Regression at -O3 since r13-322-g7f04b0d786e

2025-02-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110503 --- Comment #9 from Andrew Pinski --- Looking into this again, we have: # RANGE [irange] int [0, 1] _11 = 1 % _10; Which is just `_10 != 1` But that does not fix the situtation fully. I guess for GCC 16, I will finish up my test_for_si

[Bug c++/82936] Segment fault crash for non-type template parameter(test case small enough)

2025-02-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82936 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/82936] Segment fault crash for non-type template parameter(test case small enough)

2025-02-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82936 --- Comment #6 from GCC Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:dfd1b1abab9d3159e6f43e234ab78638f92d613e commit r15-7538-gdfd1b1abab9d3159e6f43e234ab78638f92d613e Author: Marek Polacek Date: Fri

[Bug c++/118856] [15 Regression] ICE in gimplify_var_or_parm_decl at gimplify.cc:3346 on mesonlsp-4.3.7 since r15-7481

2025-02-14 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118856 Jason Merrill changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/82936] Segment fault crash for non-type template parameter(test case small enough)

2025-02-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82936 Marek Polacek changed: What|Removed |Added Keywords|needs-bisection | Status|NEW

[Bug c++/82794] ICE: Cannot allocate memory for concept with default argument

2025-02-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82794 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/82794] ICE: Cannot allocate memory for concept with default argument

2025-02-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82794 --- Comment #5 from GCC Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:77ba1ab85d3a45005bfff90b2fd262e102e5383a commit r15-7537-g77ba1ab85d3a45005bfff90b2fd262e102e5383a Author: Marek Polacek Date: Fri

[Bug c++/67491] [meta-bug] concepts issues

2025-02-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 82794, which changed state. Bug 82794 Summary: ICE: Cannot allocate memory for concept with default argument https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82794 What|Removed |Added --

[Bug c++/82794] ICE: Cannot allocate memory for concept with default argument

2025-02-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82794 Marek Polacek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org

[Bug c++/67491] [meta-bug] concepts issues

2025-02-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 70037, which changed state. Bug 70037 Summary: [concepts] comdat group error and an ICE with a conceptified tuple implementation https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70037 What|Removed

[Bug c++/70037] [concepts] comdat group error and an ICE with a conceptified tuple implementation

2025-02-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70037 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/70037] [concepts] comdat group error and an ICE with a conceptified tuple implementation

2025-02-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70037 --- Comment #8 from GCC Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:9fd4e414830bb84b1cf1a7df4945d26c078729c9 commit r15-7536-g9fd4e414830bb84b1cf1a7df4945d26c078729c9 Author: Marek Polacek Date: Fri

[Bug c++/70037] [concepts] comdat group error and an ICE with a conceptified tuple implementation

2025-02-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70037 Marek Polacek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org

[Bug fortran/118862] UBSAN: shift exponent too large since r15-7345-gc2a0ee58865c5a

2025-02-14 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118862 --- Comment #6 from Thomas Koenig --- > I'll take a look. Found it, will probably submit tomorrow.

[Bug c++/118876] [15 Regression][OpenMP] ICE in add_stmt, at cp/semantics.cc:551 - register_dtor_fn

2025-02-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118876 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug c++/118876] [15 Regression][OpenMP] ICE in add_stmt, at cp/semantics.cc:551 - register_dtor_fn

2025-02-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118876 --- Comment #2 from Andrew Pinski --- Created attachment 60501 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60501&action=edit Reduced testcase

[Bug c++/118876] [15 Regression][OpenMP] ICE in add_stmt, at cp/semantics.cc:551 - register_dtor_fn

2025-02-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118876 --- Comment #1 from Andrew Pinski --- Created attachment 60500 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60500&action=edit testcase (not preprocessed though)

[Bug c/118868] __builtin_assoc_barrier with pointers cause ICE

2025-02-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118868 --- Comment #4 from Andrew Pinski --- (In reply to Richard Biener from comment #3) > Hmm, I'm not sure the GIMPLE verification is sensible, I'd have simply > required compatible types. Right, I agree; I suspect I missed that PAREN_EXPR is not f

[Bug middle-end/118869] infinite recusion in gimplifier with __builtin_assoc_barrier and structs

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

[Bug middle-end/118869] infinite recusion in gimplifier with __builtin_assoc_barrier and structs

2025-02-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118869 --- Comment #4 from Andrew Pinski --- *** Bug 118870 has been marked as a duplicate of this bug. ***

[Bug middle-end/118870] ICE in force_constant_size with __builtin_assoc_barrier and VLA inside struct

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

[Bug c/118882] New: __has_builtin is confusing with `#pragma omp target`

2025-02-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118882 Bug ID: 118882 Summary: __has_builtin is confusing with `#pragma omp target` Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug middle-end/118864] Add nomerge attribute

2025-02-14 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118864 ak at gcc dot gnu.org changed: What|Removed |Added CC||ak at gcc dot gnu.org --- Commen

[Bug fortran/118080] OPTIONAL, VALUE mishandled: type(c_ptr) – hidden argument missing, ICE with derived type

2025-02-14 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118080 --- Comment #5 from anlauf at gcc dot gnu.org --- Submitted: https://gcc.gnu.org/pipermail/fortran/2025-February/061745.html

[Bug modula2/118761] gm2 driver doesn't behave as gcc for --help=BLA

2025-02-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118761 --- Comment #7 from GCC Commits --- The releases/gcc-14 branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:9c38d0a79caef1909df9f51ec8d17c5f8cfecabd commit r14-11310-g9c38d0a79caef1909df9f51ec8d17c5f8cfecabd Author: Gaius Mulley D

[Bug middle-end/118864] Add nomerge attribute

2025-02-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118864 --- Comment #2 from Andrew Pinski --- (In reply to Richard Biener from comment #1) > Confirmed. Does the clang version work for function pointer types and > indirect calls? Yes but in an interesting way it seems. The examples from their docume

[Bug middle-end/118879] Missed optimisation: std::in_range simpler size check

2025-02-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118879 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Assignee|unassign

[Bug middle-end/118879] Missed optimisation: std::in_range simpler size check

2025-02-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118879 --- Comment #2 from Andrew Pinski --- ``` int f0(long long v) { unsigned long long t = v; t += 0x80'00'00'00ull; if (t <= 0xff'ff'ff'ff) return v; return 0; } ```

[Bug c++/66878] Segmentation fault when compiling

2025-02-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66878 Marek Polacek changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/66878] Segmentation fault when compiling

2025-02-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66878 --- Comment #7 from GCC Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:720137f4ee6e80de5c22b9f9c9750f13b2132fe6 commit r15-7535-g720137f4ee6e80de5c22b9f9c9750f13b2132fe6 Author: Marek Polacek Date: Fri

[Bug sarif-replay/118881] New: sarif-replay doesn't yet handle "annotations" (§3.28.6)

2025-02-14 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118881 Bug ID: 118881 Summary: sarif-replay doesn't yet handle "annotations" (§3.28.6) Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Pr

[Bug c++/66519] [C++14] ICE when using decltype to detect callable return type during SFINAE

2025-02-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66519 Marek Polacek changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/66519] [C++14] ICE when using decltype to detect callable return type during SFINAE

2025-02-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66519 --- Comment #5 from GCC Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:9a6758edc229abc0ed0f5ce65958082b3e8a8502 commit r15-7534-g9a6758edc229abc0ed0f5ce65958082b3e8a8502 Author: Marek Polacek Date: Fri

[Bug fortran/118862] UBSAN: shift exponent too large since r15-7345-gc2a0ee58865c5a

2025-02-14 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118862 --- Comment #5 from Thomas Koenig --- (In reply to Jakub Jelinek from comment #4) > Completely untested. This regresses in unsigned_43.f90, on the test case unsigned(kind=1) :: x, r1, r2, r3, r4 unsigned(kind=1) :: n x = 0u_1

[Bug c++/110584] [12/13/14/15 Regression] Constant is not visible in nested lambda with outer lambda having a default capture

2025-02-14 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110584 Simon Martin changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |simartin at gcc dot gnu.org

[Bug target/118880] New: bug 81268, which was supposedly fixed with gcc v8 is still present

2025-02-14 Thread ulinl--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118880 Bug ID: 118880 Summary: bug 81268, which was supposedly fixed with gcc v8 is still present Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/118852] [15 regression] Train run of 502.gcc_r compiled with -Ofast -fprofile-generate -march=x86_64-v3 fails

2025-02-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118852 --- Comment #16 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:589d79e6268b055422a7b6c11cd0a8a4f2531a8c commit r15-7533-g589d79e6268b055422a7b6c11cd0a8a4f2531a8c Author: Richard Biener Date:

[Bug c++/56832] g++-4.7.2 falls over when compiling vector intialization list

2025-02-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56832 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED CC|

[Bug target/118879] Missed optimisation: std::in_range simpler size check

2025-02-14 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118879 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug fortran/59252] [F03] wrong code generation for allocatable character component

2025-02-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59252 --- Comment #9 from GCC Commits --- The releases/gcc-14 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:5ec7193faa7a5a78dd5382aec220a49f4a76a976 commit r14-11309-g5ec7193faa7a5a78dd5382aec220a49f4a76a976 Author: Harald Anlauf

[Bug target/118879] New: Missed optimisation: std::in_range simpler size check

2025-02-14 Thread thiago at kde dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118879 Bug ID: 118879 Summary: Missed optimisation: std::in_range simpler size check Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Co

  1   2   >