[Bug target/98734] ABI diagnostics emitted despite always_inline attribute

2025-08-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98734 Andrew Pinski changed: What|Removed |Added CC||mkretz at gcc dot gnu.org --- Comment #3

[Bug target/121669] -Wpsabi warnings should be suppressed for always_inline functions

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

[Bug target/121669] New: -Wpsabi warnings should be suppressed for always_inline functions

2025-08-25 Thread mkretz at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121669 Bug ID: 121669 Summary: -Wpsabi warnings should be suppressed for always_inline functions Product: gcc Version: 16.0 Status: UNCONFIRMED Keywords: diagnostic

[Bug middle-end/121661] [13/14/15/16 Regression] miscompilation involving complex and nested functions since r13-1762-gf9d4c3b45c5ed5

2025-08-25 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121661 --- Comment #6 from Hongtao Liu --- Looks correct in the gimple int main (int argc, char * * D.3685) { [local count: 1073741824]: # DEBUG BEGIN_STMT # DEBUG val => __complex__ (1.0e+0, 0.0) # DEBUG INLINE_ENTRY fun1 __builtin_dwarf_c

[Bug driver/121667] -static-libstdc++ not fully work when some so linked depends on libstdc++.so

2025-08-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121667 --- Comment #3 from Andrew Pinski --- For me it is : /usr/bin/ld: /home/apinski/src/upstream-cross-aarch64/pr121667/libb.so: undefined reference to `std::ios_base_library_init()@GLIBCXX_3.4.32' Also it is not just with -W,--exclude-libs,ALL but

[Bug driver/121667] -static-libstdc++ not fully work when some so linked depends on libstdc++.so

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

[Bug tree-optimization/93504] Missed reassociation with constants and not of that constant with IORs

2025-08-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93504 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug target/121520] [16 regression] g++.dg/DRs/dr2575.C FAIL

2025-08-25 Thread kishan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121520 Kishan Parmar changed: What|Removed |Added Resolution|FIXED |--- Status|RESOLVED

[Bug c/79674] Missed optimisation when no sequence point present

2025-08-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79674 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization Severity|n

[Bug target/121658] [16 Regression] ICE: in extract_insn, at recog.cc:2884 (unrecognizable insn) with -O -mavx512f -mgfni by r16-3364-g001cd39749f94e

2025-08-25 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121658 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/121658] [16 Regression] ICE: in extract_insn, at recog.cc:2884 (unrecognizable insn) with -O -mavx512f -mgfni by r16-3364-g001cd39749f94e

2025-08-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121658 --- Comment #3 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:d551f88f88b821dc80de9d39c5b275a3678b3e31 commit r16-3386-gd551f88f88b821dc80de9d39c5b275a3678b3e31 Author: Jakub Jelinek Date: T

[Bug target/121652] [15/16 Regression] round builtin does not raise FE_INVALID for signaling NaN

2025-08-25 Thread rsworktech at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121652 --- Comment #9 from Levi Zim --- (In reply to Vineet Gupta from comment #3) > Can you provide the exact flags used to build the test. Also will be handy > the fragment of preprocessed test specifically around SNAN_TESTS. Thx. The exact commands

[Bug target/121652] [15/16 Regression] round builtin does not raise FE_INVALID for signaling NaN

2025-08-25 Thread rsworktech at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121652 --- Comment #8 from Levi Zim --- Created attachment 62200 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62200&action=edit Preprocessed source code of test-nearbyint-except

[Bug preprocessor/33877] Request for __VA_ARGC__

2025-08-25 Thread foss+gcc--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33877 --- Comment #8 from Alejandro Colomar --- (In reply to Harald van Dijk from comment #7) > (In reply to Alejandro Colomar from comment #6) > > Please make sure to differentiate correctly the case of 0 and 1 arguments. > > > > #define foo(...)

[Bug tree-optimization/92038] Extremely inefficient x86_64 code for trivally copyable types passed in registers.

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

[Bug tree-optimization/92038] Extremely inefficient x86_64 code for trivally copyable types passed in registers.

2025-08-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92038 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |15.0 --- Comment #12 from Andrew Pinski

[Bug tree-optimization/121653] Bloaty initialization of two-register structs under -Os on x86-64

2025-08-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121653 Andrew Pinski changed: What|Removed |Added Component|middle-end |tree-optimization --- Comment #2 from A

[Bug c++/121351] [15 Regression] Ambiguous resolution of constrained overloads imported from base class

2025-08-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121351 --- Comment #9 from GCC Commits --- The releases/gcc-15 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:ab7ce5ddb774594a4d82dda65bc4bf83a3d673b3 commit r15-10261-gab7ce5ddb774594a4d82dda65bc4bf83a3d673b3 Author: Patrick Palka

[Bug target/121668] [16 regression] ICE when building ocaml-5.3.0 with -Og -g -fPIC -mtls-dialect=gnu

2025-08-25 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121668 --- Comment #4 from Sam James --- The loop does: while (insn && !NONDEBUG_INSN_P (insn)) { gcc_assert (NOTE_P (insn) && (NOTE_KIND (insn) == NOTE_INSN_FUNCTION_BEG

[Bug target/121668] [16 regression] ICE when building ocaml-5.3.0 with -Og -g -fPIC -mtls-dialect=gnu

2025-08-25 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121668 --- Comment #3 from Sam James --- (In reply to Sam James from comment #1) > -g is important. Is it complaining about a debug insn and the assert should > just be tweaked? (gdb) s NEXT_INSN (insn=0x7fffe93f0578) at /usr/src/debug/sys-devel/gcc-1

[Bug driver/121667] -static-libstdc++ not fully work when some so linked depends on libstdc++.so

2025-08-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121667 Andrew Pinski changed: What|Removed |Added Component|c++ |driver --- Comment #1 from Andrew Pinsk

[Bug target/121668] [16 regression] ICE when building ocaml-5.3.0 with -Og -g -fPIC -mtls-dialect=gnu

2025-08-25 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121668 --- Comment #2 from Sam James --- typedef int caml_domain_state; thread_local caml_domain_state caml_state; void caml_empty_mark_stack () { while (caml_state) caml_state = 0; }

[Bug target/121668] [16 regression] ICE when building ocaml-5.3.0 with -Og -g -fPIC -mtls-dialect=gnu

2025-08-25 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121668 Sam James changed: What|Removed |Added Target Milestone|--- |16.0

[Bug target/121668] [16 regression] ICE when building ocaml-5.3.0 with -Og -g -fPIC -mtls-dialect=gnu

2025-08-25 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121668 --- Comment #1 from Sam James --- -g is important. Is it complaining about a debug insn and the assert should just be tweaked?

[Bug target/121668] New: [16 regression] ICE when building ocaml-5.3.0 with -Og -g -fPIC -mtls-dialect=gnu

2025-08-25 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121668 Bug ID: 121668 Summary: [16 regression] ICE when building ocaml-5.3.0 with -Og -g -fPIC -mtls-dialect=gnu Product: gcc Version: 16.0 Status: UNCONFIRMED Keywor

[Bug c++/121667] New: -static-libstdc++ not fully work when some so linked depends on libstdc++.so

2025-08-25 Thread niqingliang2003 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121667 Bug ID: 121667 Summary: -static-libstdc++ not fully work when some so linked depends on libstdc++.so Product: gcc Version: 15.1.1 Status: UNCONFIRMED Severity:

[Bug target/121652] [15/16 Regression] round builtin does not raise FE_INVALID for signaling NaN

2025-08-25 Thread andrew at sifive dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121652 --- Comment #7 from Andrew Waterman --- Ah, thanks. Regardless, it seems the `feq` scheme is the preferable one.

[Bug target/121652] [15/16 Regression] round builtin does not raise FE_INVALID for signaling NaN

2025-08-25 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121652 --- Comment #6 from Xi Ruoyao --- (In reply to Andrew Waterman from comment #5) > My recollection is that Annex F leaves signaling NaN behavior > implementation-defined, and so setting the invalid flag on signaling NaN is > permitted but not req

[Bug preprocessor/33877] Request for __VA_ARGC__

2025-08-25 Thread harald at gigawatt dot nl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33877 Harald van Dijk changed: What|Removed |Added CC||harald at gigawatt dot nl --- Comment

[Bug target/121652] [15/16 Regression] round builtin does not raise FE_INVALID for signaling NaN

2025-08-25 Thread andrew at sifive dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121652 Andrew Waterman changed: What|Removed |Added CC||andrew at sifive dot com --- Comment

[Bug target/121548] [15/16 Regression] ICE: SIGSEGV in satisfies_constraint_vu (constraints.md:199) with -O -mrvv-vector-bits=zvl -march=rv64gv

2025-08-25 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121548 --- Comment #1 from Jeffrey A. Law --- It looks like we're unconditionally trying to get the merge_op_idx on an insn that doesn't support that: (insn 16 15 17 2 (set (subreg:V1DF (reg:RVVM1DF 149 [ _4 ]) 0) (mem:V1DF (reg/f:DI 151 [ q

[Bug target/121548] [15/16 Regression] ICE: SIGSEGV in satisfies_constraint_vu (constraints.md:199) with -O -mrvv-vector-bits=zvl -march=rv64gv

2025-08-25 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121548 Jeffrey A. Law changed: What|Removed |Added Last reconfirmed||2025-08-25 Ever confirmed|0

[Bug middle-end/121453] [OpenMP] 'omp simd' with 'collapse' – variable '.count' uninitialized, but used as 'if (.iter.14 == .count.15)'

2025-08-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121453 --- Comment #5 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:948f20cc520e50968f8759b173096358dcbba3de commit r16-3381-g948f20cc520e50968f8759b173096358dcbba3de Author: Jakub Jelinek Date: T

[Bug middle-end/106010] Miss vectorization for complex type copy.

2025-08-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106010 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.0

[Bug tree-optimization/121656] [16 regression] wrong code at -O{1,2,3} on x86_64-linux-gnu

2025-08-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121656 --- Comment #3 from GCC Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:1b6b27536311afefaebf57ff77ed20a8bb41eadd commit r16-3380-g1b6b27536311afefaebf57ff77ed20a8bb41eadd Author: H.J. Lu Date: Mon Aug 25 08

[Bug c/121666] __builtin_expect_with_probability accepts non constant expression

2025-08-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121666 --- Comment #2 from Andrew Pinski --- So it looks like we only verify in some cases: https://inbox.sourceware.org/gcc-patches/3bf1c657-c5cd-5e87-5f36-064abf1b5...@suse.cz/

[Bug c/121666] __builtin_expect_with_probability accepts non constant expression

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

[Bug c/121666] New: __builtin_expect_with_probability accepts non constant expression

2025-08-25 Thread vincent at vvhe dot ca via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121666 Bug ID: 121666 Summary: __builtin_expect_with_probability accepts non constant expression Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/121661] [13/14/15/16 Regression] miscompilation involving complex and nested functions

2025-08-25 Thread mikpelinux at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121661 Mikael Pettersson changed: What|Removed |Added CC||mikpelinux at gmail dot com --- Com

[Bug preprocessor/33877] Request for __VA_ARGC__

2025-08-25 Thread foss+gcc--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33877 --- Comment #6 from Alejandro Colomar --- (In reply to Michael FIG from comment #0) > It would be really convenient if the C preprocessor exposed the number of > variable arguments supplied to a variadic macro as an integer. I tried to > come up

[Bug middle-end/118748] Segmentation fault in qt apps in aarch64

2025-08-25 Thread user3mila at disroot dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118748 --- Comment #17 from user3mila at disroot dot org --- Do you want me to rebuild and recheck? I used the options from comment 15.

[Bug preprocessor/33877] Request for __VA_ARGC__

2025-08-25 Thread foss+gcc--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33877 --- Comment #5 from Alejandro Colomar --- gnulib uses a macro to get this value, so this is something real that projects are using. I know other projects also use it.

[Bug debug/121411] ctf type size truncated for large data types

2025-08-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121411 --- Comment #6 from GCC Commits --- The master branch has been updated by David Faust : https://gcc.gnu.org/g:c77d79785d32b30502c8bcd6aa53b63d715bb124 commit r16-3379-gc77d79785d32b30502c8bcd6aa53b63d715bb124 Author: David Faust Date: Wed A

[Bug preprocessor/121665] __VA_COUNT__: Count number of variadic arguments in a variadic macro

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

[Bug c/33877] Request for __VA_ARGC__

2025-08-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33877 Andrew Pinski changed: What|Removed |Added CC||foss+gcc@alejandro-colomar.

[Bug preprocessor/121665] New: __VA_COUNT__: Count number of variadic arguments in a variadic macro

2025-08-25 Thread foss+gcc--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121665 Bug ID: 121665 Summary: __VA_COUNT__: Count number of variadic arguments in a variadic macro Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/117760] `a != b` implies that a or b is also non-zero

2025-08-25 Thread matteo.nicoli001 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117760 Matteo Nicoli changed: What|Removed |Added CC||matteo.nicoli001 at gmail dot com ---

[Bug target/121652] [15/16 Regression] round builtin does not raise FE_INVALID for signaling NaN

2025-08-25 Thread vineetg at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121652 --- Comment #4 from Vineet Gupta --- Also I'm thinking to model this based on existing libc implementation which has been around for a while and should hopefully be correct. What glibc does is early check for nan and return x + x if so. See [1]

[Bug middle-end/121663] [16 Regression] ICE for line directive with large argument

2025-08-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121663 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2025-08-25 Status|UNCONFIRM

[Bug preprocessor/121663] [16 Regression] ICE for line directive with large argument

2025-08-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121663 Andrew Pinski changed: What|Removed |Added Summary|ICE for line directive with |[16 Regression] ICE for

[Bug middle-end/121664] New: [Nvptx][OpenMP] 'omp target ... simd' with 'collapse' – leads to illegal memory access

2025-08-25 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121664 Bug ID: 121664 Summary: [Nvptx][OpenMP] 'omp target ... simd' with 'collapse' – leads to illegal memory access Product: gcc Version: 16.0 Status: UNCONFIRMED K

[Bug c/121663] New: ICE for line directive with large argument

2025-08-25 Thread uecker at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121663 Bug ID: 121663 Summary: ICE for line directive with large argument Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug middle-end/121661] [13/14/15/16 Regression] miscompilation involving complex and nested functions

2025-08-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121661 --- Comment #4 from Andrew Pinski --- I suspect r13-1762-gf9d4c3b45c5ed5 .

[Bug middle-end/121661] [13/14/15/16 Regression] miscompilation involving complex and nested functions

2025-08-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121661 --- Comment #3 from Andrew Pinski --- Created attachment 62195 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62195&action=edit Self contained testcase

[Bug target/121662] New: Unnecessary data dependant branches with avx512 masks

2025-08-25 Thread andi-gcc at firstfloor dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121662 Bug ID: 121662 Summary: Unnecessary data dependant branches with avx512 masks Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compo

[Bug middle-end/121661] [13/14/15/16 Regression] miscompilation involving complex and nested functions

2025-08-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121661 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.5 Known to work|

[Bug middle-end/121661] miscompilation involving complex and nested functions

2025-08-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121661 Andrew Pinski changed: What|Removed |Added CC||pinskia at gcc dot gnu.org Ke

[Bug c/121661] New: miscompilation involving complex and nested functions

2025-08-25 Thread uecker at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121661 Bug ID: 121661 Summary: miscompilation involving complex and nested functions Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Co

[Bug target/121658] [16 Regression] ICE: in extract_insn, at recog.cc:2884 (unrecognizable insn) with -O -mavx512f -mgfni by r16-3364-g001cd39749f94e

2025-08-25 Thread andi-gcc at firstfloor dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121658 --- Comment #2 from Andi Kleen --- Created attachment 62194 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62194&action=edit Fix Still need to run full test suite.

[Bug c++/121637] Anonymous structs with GCC are broken

2025-08-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121637 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/121658] [16 Regression] ICE: in extract_insn, at recog.cc:2884 (unrecognizable insn) with -O -mavx512f -mgfni by r16-3364-g001cd39749f94e

2025-08-25 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121658 --- Comment #1 from Jakub Jelinek --- Created attachment 62193 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62193&action=edit gcc16-pr121658.patch Untested fix.

[Bug target/110812] Check availability of builtins at expand time

2025-08-25 Thread kito at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110812 --- Comment #20 from Kito Cheng --- Created attachment 62192 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62192&action=edit v2-0001-RISC-V-Always-register-vector-built-in-function-a.patch V2 patch, verified with my latest reduced case,

[Bug middle-end/121659] [16 Regression] RISC-V: internal compiler error: Segmentation fault

2025-08-25 Thread rdapp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121659 Robin Dapp changed: What|Removed |Added Last reconfirmed||2025-8-25 CC|

[Bug rtl-optimization/40209] stale REG_UNUSED note vs single_set

2025-08-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40209 --- Comment #11 from Andrew Pinski --- If nobody gets to this before the 2025 GNU tools cauldron, I will take this up. It has been sitting around too long and there has been too many latent bugs due to it.

[Bug target/121658] [16 Regression] ICE: in extract_insn, at recog.cc:2884 (unrecognizable insn) with -O -mavx512f -mgfni by r16-3364-g001cd39749f94e

2025-08-25 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121658 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org

[Bug c++/121641] Rejects valid constexpr explicitly defaulted constructor which is never a constant expression (P2448R2)

2025-08-25 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121641 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org A

[Bug c++/121657] wrong parsing of alignas in struct declaration

2025-08-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121657 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Blocks|

[Bug c++/121657] wrong parsing of alignas in struct declaration

2025-08-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121657 Andrew Pinski changed: What|Removed |Added Depends on||89683 --- Comment #1 from Andrew Pinski

[Bug tree-optimization/121279] [14/15 Regression] wrong code due to load of a bool from an union being pulled out of loop

2025-08-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121279 Andrew Pinski changed: What|Removed |Added Summary|[14/15/16 Regression] wrong |[14/15 Regression] wrong

[Bug tree-optimization/121279] [14/15/16 Regression] wrong code due to load of a bool from an union being pulled out of loop

2025-08-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121279 --- Comment #15 from GCC Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:7269aa0765415df071778b92bd9ecea82f8ea5b2 commit r16-3374-g7269aa0765415df071778b92bd9ecea82f8ea5b2 Author: Andrew Pinski Date: F

[Bug target/121659] [16 Regression] RISC-V: internal compiler error: Segmentation fault

2025-08-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121659 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |16.0

[Bug tree-optimization/121660] [16 Regression] RISC-V: internal compiler error: in apply_scale, at profile-count.h:1187

2025-08-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121660 Andrew Pinski changed: What|Removed |Added Depends on||121523 --- Comment #2 from Andrew Pinsk

[Bug tree-optimization/121660] [16 Regression] RISC-V: internal compiler error: in apply_scale, at profile-count.h:1187

2025-08-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121660 Andrew Pinski changed: What|Removed |Added Component|target |tree-optimization CC|

[Bug target/121660] [16 Regression] RISC-V: internal compiler error: in apply_scale, at profile-count.h:1187

2025-08-25 Thread skothadiya at whileone dot in via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121660 --- Comment #1 from Sujay Kothadiya --- Created attachment 62191 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62191&action=edit Testcase

[Bug target/121660] New: [16 Regression] RISC-V: internal compiler error: in apply_scale, at profile-count.h:1187

2025-08-25 Thread skothadiya at whileone dot in via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121660 Bug ID: 121660 Summary: [16 Regression] RISC-V: internal compiler error: in apply_scale, at profile-count.h:1187 Product: gcc Version: 16.0 Status: UNCONFIRMED

[Bug c++/121601] [16 Regression] ICE when exception is thrown from static_assert message expression

2025-08-25 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121601 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/121659] [16 Regression] RISC-V: ICE in operator[], at vec.h:911

2025-08-25 Thread skothadiya at whileone dot in via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121659 --- Comment #1 from Sujay Kothadiya --- Created attachment 62189 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62189&action=edit Testcase

[Bug target/121659] New: [16 Regression] RISC-V: ICE in operator[], at vec.h:911

2025-08-25 Thread skothadiya at whileone dot in via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121659 Bug ID: 121659 Summary: [16 Regression] RISC-V: ICE in operator[], at vec.h:911 Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Prior

[Bug target/121658] [16 Regression] ICE: in extract_insn, at recog.cc:2884 (unrecognizable insn) with -O -mavx512f -mgfni by r16-3364-g001cd39749f94e

2025-08-25 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121658 H.J. Lu changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug c++/121601] [16 Regression] ICE when exception is thrown from static_assert message expression

2025-08-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121601 --- Comment #3 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:52c29a6a9dac6caec24b75cae17ecb3558c39504 commit r16-3368-g52c29a6a9dac6caec24b75cae17ecb3558c39504 Author: Jakub Jelinek Date: M

[Bug middle-end/121453] [OpenMP] 'omp simd' with 'collapse' – variable '.count' uninitialized, but used as 'if (.iter.14 == .count.15)'

2025-08-25 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121453 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug tree-optimization/121656] [16 regression] wrong code at -O{1,2,3} on x86_64-linux-gnu

2025-08-25 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121656 Jeffrey A. Law changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/121658] [16 Regression] ICE: in extract_insn, at recog.cc:2884 (unrecognizable insn) with -O -mavx512f -mgfni

2025-08-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121658 Richard Biener changed: What|Removed |Added Target Milestone|--- |16.0

[Bug tree-optimization/121638] [16 Regression] wrong code at -O3 with "-fno-tree-vrp -fno-tree-scev-cprop" on x86_64-linux-gnu

2025-08-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121638 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/121638] [16 Regression] wrong code at -O3 with "-fno-tree-vrp -fno-tree-scev-cprop" on x86_64-linux-gnu

2025-08-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121638 --- Comment #4 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:2d4b7b983c7232325a9a7659e37143bdd5112dcc commit r16-3367-g2d4b7b983c7232325a9a7659e37143bdd5112dcc Author: Richard Biener Date:

[Bug target/121658] New: [16 Regression] ICE: in extract_insn, at recog.cc:2884 (unrecognizable insn) with -O -mavx512f -mgfni

2025-08-25 Thread zsojka at seznam dot cz via Gcc-bugs
20250825110703-r16-3365-gd914cb6743d887-checking-yes-rtl-df-extra-nobootstrap-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 16.0.0 20250825 (experimental) (GCC)

[Bug target/121604] [15/16 Regression] Wrong folding of svbrkb intrinsic since r15-5957-g5289540ed58e42

2025-08-25 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121604 --- Comment #3 from Alex Coplan --- (In reply to Jennifer Schmitz from comment #2) > Thanks for catching this. > Both svbrka and svbrkb produce wrong code with _m predication. Same for > svpmov_lane with _m and a pfalse predicate. > The problem

[Bug libstdc++/121374] wrong value std::numeric_limits<__float128>::max_digits10

2025-08-25 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121374 --- Comment #7 from Jonathan Wakely --- Yes, maybe I looked it up and forgot to include the implicit leading 1.

[Bug c++/121657] New: wrong parsing of alignas in struct declaration

2025-08-25 Thread hanicka at hanicka dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121657 Bug ID: 121657 Summary: wrong parsing of alignas in struct declaration Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug tree-optimization/121656] [16 regression] wrong code at -O{1,2,3} on x86_64-linux-gnu

2025-08-25 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121656 Sam James changed: What|Removed |Added Keywords||wrong-code Priority|P3

[Bug target/121512] internal compiler error: in generate_insn, at config/riscv/riscv-vector-builtins.cc:4470

2025-08-25 Thread xypron.glpk at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121512 --- Comment #3 from Heinrich Schuchardt --- The problem is reproducible with gcc (Ubuntu 15.2.0-1ubuntu1) 15.2.0. $ gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/riscv64-linux-gnu/15/lto-wrapper Target: riscv

[Bug tree-optimization/121656] New: wrong code at -O{1,2,3} on x86_64-linux-gnu

2025-08-25 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121656 Bug ID: 121656 Summary: wrong code at -O{1,2,3} on x86_64-linux-gnu Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: t

[Bug target/121512] internal compiler error: in generate_insn, at config/riscv/riscv-vector-builtins.cc:4470

2025-08-25 Thread xypron.glpk at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121512 Heinrich Schuchardt changed: What|Removed |Added CC||xypron.glpk at gmx dot de --- Com

[Bug libstdc++/90192] std::vector::resize(n, v) requires more than it should (CopyInsertable)

2025-08-25 Thread tkaminsk at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90192 Tomasz Kamiński changed: What|Removed |Added CC||tkaminsk at gcc dot gnu.org

[Bug rtl-optimization/121649] [16 Regression] wrong code with _BitInt() conversions (?) at -O2 since r16-2382

2025-08-25 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121649 Jakub Jelinek changed: What|Removed |Added CC||law at gcc dot gnu.org --- Comment #4 f

[Bug target/121652] [15/16 Regression] round builtin does not raise FE_INVALID for signaling NaN

2025-08-25 Thread vineetg at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121652 --- Comment #3 from Vineet Gupta --- Can you provide the exact flags used to build the test. Also will be handy the fragment of preprocessed test specifically around SNAN_TESTS. Thx.

[Bug rtl-optimization/121649] [16 Regression] wrong code with _BitInt() conversions (?) at -O2 since r16-2382

2025-08-25 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121649 --- Comment #3 from ktkachov at gcc dot gnu.org --- r16-2382-gf87b632f98dc6d5cf8ed75d57d15adb8d7ffea6e only refactored the backend RTX costs slightly, it seems that it exposed another bug elsewhere, in CSE or RTL folding perhaps?

[Bug tree-optimization/121649] [16 Regression] wrong code with _BitInt() conversions (?) at -O2 since r16-2382

2025-08-25 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121649 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P1 CC|

[Bug c++/83161] Feature request: add a builtin for printing structs and classes

2025-08-25 Thread ujjwal.shekhar at research dot iiit.ac.in via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83161 Ujjwal Shekhar changed: What|Removed |Added CC||ujjwal.shekhar at research dot iii

[Bug rtl-optimization/121648] [13/14/15/16 Regression] wrong code at -O{s, 2, 3} with "-fno-tree-loop-im -fno-gcse -fno-code-hoisting -fno-tree-fre -fno-tree-pre -fno-tree-dominator-opts" on x86_64-li

2025-08-25 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121648 --- Comment #6 from Richard Sandiford --- (In reply to Sam James from comment #5) > (In reply to Andrew Pinski from comment #3) > > My gut feeling is this is another REG_UNUSED issue but I could be wrong. > > The div/mod here is an important. >

  1   2   >