[Bug bootstrap/119430] profiledbootstrap fails on armv7a-unknown-linux-gnueabhif (crashes in elists__append_elmt during stagefeedback)

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

[Bug rtl-optimization/101882] [16 Regression] combine vs. insn with earlyclobber and input and output set to a hard register

2025-07-05 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101882 --- Comment #16 from Segher Boessenkool --- It is allowed by recog(). Most likely your pattern is incorrect, but it is not completely impossible there is something wrong in genrecog.cc -- but that isn't combine either.

[Bug rtl-optimization/101882] [16 Regression] combine vs. insn with earlyclobber and input and output set to a hard register

2025-07-05 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101882 --- Comment #15 from Xi Ruoyao --- (In reply to Segher Boessenkool from comment #14) > (match_operand:DI 1 "register_operand" "r0") > > That means either a general register ("r"), or the same thing as operand 0 > (that's what

[Bug bootstrap/119430] profiledbootstrap fails on armv7a-unknown-linux-gnueabhif (crashes in elists__append_elmt during stagefeedback)

2025-07-05 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119430 --- Comment #10 from Alexandre Oliva --- Sorry, I'd missed the build scripts, that presumably would have enabled me to trigger the problem more readily. Anyhow, this explains why lto and PIE are both needed to trigger the problem. As for a sol

[Bug bootstrap/119430] profiledbootstrap fails on armv7a-unknown-linux-gnueabhif (crashes in elists__append_elmt during stagefeedback)

2025-07-05 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119430 --- Comment #9 from Alexandre Oliva --- I'm not sure I've run into the same problem, but the one I'm looking at is in the training stage, in ali.o, one of many that raise an assertion failure from SInput.Get_Source_File_Index.Assertions. Intere

[Bug target/120941] [16 Regression] 24-40% slowdown of 519.lbm_r on Zen2 and 470.lbm on Zen5 since r16-1644-gaba3b9d3a48a07

2025-07-05 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120941 --- Comment #10 from H.J. Lu --- (In reply to Filip Kastl from comment #8) > The same commit (r16-1644-gaba3b9d3a48a07) causes ~20% slowdown of 470lbm > from 2006 SPEC on Zen5 with -Ofast -march=native -flto -fprofile-use. > > https://lnt.opens

[Bug middle-end/120709] [15/16 Regression] ICE in expand_builtin_crc_table_based with __builtin_crc8_data8 and non constant poly argument

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

[Bug c++/90569] __STDCPP_DEFAULT_NEW_ALIGNMENT__ is wrong for i386-pc-solaris2.11

2025-07-05 Thread mirh at protonmail dot ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90569 mirh at protonmail dot ch changed: What|Removed |Added CC||mirh at protonmail dot ch ---

[Bug c++/120917] warning: use of 'auto' in template argument only available with '-fconcepts-ts'

2025-07-05 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120917 --- Comment #18 from Frank Heckenbach --- (In reply to Frank Heckenbach from comment #17) > Maybe I've found a work-around. I took the is_instance_of_v template from > https://indii.org/blog/is-type-instantiation-of-template/ and turned it into

[Bug c++/116928] Error on NTTP with '>' in braced default

2025-07-05 Thread eczbek.void at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116928 --- Comment #2 from eczbek.void at gmail dot com --- I made a patch: https://gcc.gnu.org/pipermail/gcc-patches/2025-June/685831.html

[Bug c++/120969] two consecutive '[' shall only introduce an attribute before '[' token

2025-07-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120969 --- Comment #11 from Andrew Pinski --- (In reply to Frank Heckenbach from comment #10) > > So "most" means "some of the features of the standard plus some non-standard > features which will then suddenly be withdrawn"? YES. Especially based on

[Bug c++/120969] two consecutive '[' shall only introduce an attribute before '[' token

2025-07-05 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120969 --- Comment #10 from Frank Heckenbach --- (In reply to Andrew Pinski from comment #7) > From > https://gcc.gnu.org/onlinedocs/gcc-15.1.0/gcc/Standards.html#C_002b_002b- > Language : > Another revised ISO C++ standard was published in 2020 as ISO

[Bug c++/118697] static_assert message is not escaped

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

[Bug c++/120969] two consecutive '[' shall only introduce an attribute before '[' token

2025-07-05 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120969 --- Comment #9 from Frank Heckenbach --- (In reply to Andrew Pinski from comment #6) > (In reply to Frank Heckenbach from comment #5) > > I never used "-fconcepts-ts" until now that GCC forces me to. > > Not exactly. The code was accepted by ac

[Bug c++/120969] two consecutive '[' shall only introduce an attribute before '[' token

2025-07-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120969 --- Comment #8 from Andrew Pinski --- Also from https://gcc.gnu.org/projects/cxx-status.html#cxx20 : Important: Because the ISO C++20 standard is recent, GCC's support is experimental.

[Bug c++/120969] two consecutive '[' shall only introduce an attribute before '[' token

2025-07-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120969 --- Comment #7 from Andrew Pinski --- From https://gcc.gnu.org/onlinedocs/gcc-15.1.0/gcc/Standards.html#C_002b_002b-Language : Another revised ISO C++ standard was published in 2020 as ISO/IEC 14882:2020, and is referred to as C++20; before its

[Bug c++/120969] two consecutive '[' shall only introduce an attribute before '[' token

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

[Bug c++/120969] two consecutive '[' shall only introduce an attribute before '[' token

2025-07-05 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120969 --- Comment #5 from Frank Heckenbach --- (In reply to Andrew Pinski from comment #3) > (In reply to Frank Heckenbach from comment #2) > > (In reply to Andrew Pinski from comment #1) > > > I am almost want to close this as won't fix since -fconce

[Bug c++/120969] two consecutive '[' shall only introduce an attribute before '[' token

2025-07-05 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120969 --- Comment #4 from Frank Heckenbach --- (In reply to Andrew Pinski from comment #3) > (In reply to Frank Heckenbach from comment #2) > > (In reply to Andrew Pinski from comment #1) > > > I am almost want to close this as won't fix since -fconce

[Bug c++/120969] two consecutive '[' shall only introduce an attribute before '[' token

2025-07-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120969 --- Comment #3 from Andrew Pinski --- (In reply to Frank Heckenbach from comment #2) > (In reply to Andrew Pinski from comment #1) > > I am almost want to close this as won't fix since -fconcepts-ts has already > > been removed in GCC 15 which w

[Bug c++/120969] two consecutive '[' shall only introduce an attribute before '[' token

2025-07-05 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120969 --- Comment #2 from Frank Heckenbach --- (In reply to Andrew Pinski from comment #1) > I am almost want to close this as won't fix since -fconcepts-ts has already > been removed in GCC 15 which was released 3 months ago. So much for the "deprec

[Bug c++/120969] two consecutive '[' shall only introduce an attribute before '[' token

2025-07-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120969 --- Comment #1 from Andrew Pinski --- I am almost want to close this as won't fix since -fconcepts-ts has already been removed in GCC 15 which was released 3 months ago.

[Bug c++/120969] New: two consecutive '[' shall only introduce an attribute before '[' token

2025-07-05 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120969 Bug ID: 120969 Summary: two consecutive '[' shall only introduce an attribute before '[' token Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity: norma

[Bug middle-end/120918] -Wreturn-type warning location is seemly wrong

2025-07-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120918 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug c++/120968] New: Using global C name with import std recommends using the same undeclared name

2025-07-05 Thread luigighiron at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120968 Bug ID: 120968 Summary: Using global C name with import std recommends using the same undeclared name Product: gcc Version: 16.0 Status: UNCONFIRMED Severity:

[Bug c/120921] gimple verifier (and gimple FE) accepts CST on LHS

2025-07-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120921 --- Comment #5 from Andrew Pinski --- Created attachment 61808 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61808&action=edit Patch which I am testing

[Bug c/120921] gimple verifier (and gimple FE) accepts CST on LHS

2025-07-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120921 --- Comment #4 from Andrew Pinski --- Created attachment 61807 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61807&action=edit testcases for the invalid cases

[Bug rtl-optimization/101882] [16 Regression] combine vs. insn with earlyclobber and input and output set to a hard register

2025-07-05 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101882 --- Comment #14 from Segher Boessenkool --- (match_operand:DI 1 "register_operand" "r0") That means either a general register ("r"), or the same thing as operand 0 (that's what "0" means)! So the backend explicitly allows it

[Bug c/120921] gimple verifier (and gimple FE) accepts CST on LHS

2025-07-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120921 --- Comment #3 from Andrew Pinski --- So looking into this further, the problem is only with verify_gimple_assign_single where the issue is. Another testcase: ``` void __GIMPLE b(int t, int t1) { &t1 = &t; } ``` And another one: ``` #define

[Bug libstdc++/120967] New: std::format produces incorrect results when printing large floating point numbers when using the alternate flag and precision set to 0

2025-07-05 Thread dominick.allen1989 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120967 Bug ID: 120967 Summary: std::format produces incorrect results when printing large floating point numbers when using the alternate flag and precision set to 0 Product: gcc

[Bug other/120905] Unable to compile GCC 6.5.0 with GCC 5.5.0 on Solaris 10 SPARC (linker error?)

2025-07-05 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120905 --- Comment #16 from Eric Botcazou --- > I'll try to recompile GCC 6.5 with GCC 5.5 again, but this time not with > just '--with-gnu-as', buth with also '--with-as=/usr/local/bin/as'. Perhaps > that will fix this. Yes, that's the right thing to

[Bug rtl-optimization/101882] [16 Regression] combine vs. insn with earlyclobber and input and output set to a hard register

2025-07-05 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101882 Xi Ruoyao changed: What|Removed |Added Last reconfirmed|2021-08-12 00:00:00 |2025-7-5 Component|target

[Bug tree-optimization/120951] [16 regression] error: gimple cond condition cannot throw

2025-07-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120951 --- Comment #10 from Andrew Pinski --- Patch posted: https://gcc.gnu.org/pipermail/gcc-patches/2025-July/688651.html

[Bug c/120966] ++/-- for short still uses unsigned types even if sizeof(int) == sizeof(short)

2025-07-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120966 Andrew Pinski changed: What|Removed |Added Summary|-Waggressive-loop-optimizat |++/-- for short still uses

[Bug c++/120942] internal compiler error happend when i lose include some file

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

[Bug target/120782] RISC-V: vector-strict-align not working for spec17 521 ref size

2025-07-05 Thread rdapp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120782 --- Comment #8 from Robin Dapp --- The vlse comes from a vec_duplicate:V2DI that has a reg pointing to a "real(kind=4)", so a float. What's interesting, though, is that the MEM is supposedly 64-bit aligned (see below, A64). (insn 285 282 287 1

[Bug target/118891] [14/15/16 regression] gcc 14 fails to build from source on aarch64_be: "error: ‘dynamic_cast’ not permitted with ‘-fno-rtti’"

2025-07-05 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118891 --- Comment #26 from Sam James --- *** Bug 120965 has been marked as a duplicate of this bug. ***

[Bug target/120965] gcc 14.3 aarch64 be failed with pr78542.c

2025-07-05 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120965 Sam James changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/120964] aarch64 be failed with pr78542.c

2025-07-05 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120964 Sam James changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/118891] [14/15/16 regression] gcc 14 fails to build from source on aarch64_be: "error: ‘dynamic_cast’ not permitted with ‘-fno-rtti’"

2025-07-05 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118891 Sam James changed: What|Removed |Added CC||hanwei62 at huawei dot com --- Comment #25

[Bug other/120905] Unable to compile GCC 6.5.0 with GCC 5.5.0 on Solaris 10 SPARC (linker error?)

2025-07-05 Thread tch at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120905 --- Comment #15 from TCH --- I'll try to recompile GCC 6.5 with GCC 5.5 again, but this time not with just '--with-gnu-as', buth with also '--with-as=/usr/local/bin/as'. Perhaps that will fix this.

[Bug bootstrap/56954] Bootstrap failure: ./auto-host.h:1994:16: error: declaration does not declare anything [-fpermissive]

2025-07-05 Thread tch at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56954 TCH changed: What|Removed |Added CC||tch at protonmail dot com --- Comment #5 from TCH

[Bug other/120905] Unable to compile GCC 6.5.0 with GCC 5.5.0 on Solaris 10 SPARC (linker error?)

2025-07-05 Thread tch at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120905 --- Comment #14 from TCH --- The resulting binary however has a problem: it tries to use the non-GNU assembler under '/usr/ccs/bin/as', instead of using the GNU assembler under '/usr/local/as', despite being configured to use the GNU assembler a

[Bug other/120905] Unable to compile GCC 6.5.0 with GCC 5.5.0 on Solaris 10 SPARC (linker error?)

2025-07-05 Thread tch at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120905 --- Comment #13 from TCH --- @Eric Botcazou: You were right: using the GNU assembler, but not using the GNU linker did the trick. (I tried to compile GCC6 without using neither of the GNU assembler nor the linker before, but then the assembler e

[Bug c++/120942] internal compiler error happend when i lose include some file

2025-07-05 Thread q1210081098 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120942 --- Comment #6 from Renze Lin --- (In reply to Andrew Pinski from comment #5) > (In reply to Renze Lin from comment #4) > > (In reply to Andrew Pinski from comment #2) > > > Also can you provide the full output of "gcc -v" ? > > > > The output

[Bug tree-optimization/120948] Cannot detect potential division-by-zero when numerator is 1 and denominator is variable

2025-07-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120948 --- Comment #6 from Andrew Pinski --- (In reply to Richard Biener from comment #5) > But of course if we'd want to expose > this to the user it might instead be > > x = __builtin_assume (x != 0); I dont see why we want to expose this to the u

[Bug other/120905] Unable to compile GCC 6.5.0 with GCC 5.5.0 on Solaris 10 SPARC (linker error?)

2025-07-05 Thread tch at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120905 --- Comment #12 from TCH --- Created attachment 61805 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61805&action=edit Fixes all of the errors of compiling GCC6 on Solaris 10 SPARC The fix of the 'NAN' and 'INFINITY' problem is an ugly 'u

[Bug bootstrap/86615] gcc build failure: auto-host.h error: declaration does not declare anything [-fpermissive]

2025-07-05 Thread tch at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86615 TCH changed: What|Removed |Added CC||tch at protonmail dot com --- Comment #3 from TCH

[Bug c/120966] -Waggressive-loop-optimizations warns for int but not for short overflow

2025-07-05 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120966 --- Comment #1 from Andreas Schwab --- There is no short overflow due to integer promotion.

[Bug tree-optimization/120954] [12/13/14/15 Regression] False positive -Warray-bounds=2 warning

2025-07-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120954 Jakub Jelinek changed: What|Removed |Added Target Milestone|15.2|12.5 Summary|[15/16 Regressi

[Bug target/120870] [16 regression] CPython miscompiled with preserve_none and CFLAGS="-O2 -march=znver2 -ggdb3"

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

[Bug c/120966] New: -Waggressive-loop-optimizations warns for int but not for short overflow

2025-07-05 Thread tvijlbrief at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120966 Bug ID: 120966 Summary: -Waggressive-loop-optimizations warns for int but not for short overflow Product: gcc Version: 13.3.0 Status: UNCONFIRMED Severity: nor

[Bug c++/120955] [15/16 Regression] 50 % increase in data segment size on avr-gcc for -Os

2025-07-05 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120955 --- Comment #4 from Georg-Johann Lay --- (In reply to fiesh from comment #3) > Is there some other output, like nm or objdump, that could help? Not very helpful IMO. You can try the following steps: 1) It's unlikely that LTO is essential. Thu

[Bug target/120959] [16 Regression] 9% slowdown of 549.fotonik3d_r on Zen5 since r16-1645-g309dbcea2cabb3

2025-07-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120959 --- Comment #3 from Richard Biener --- (In reply to Richard Biener from comment #2) > That change shouldn't have caused code generation changes IIRC. That is, I would have expected RTL expansion to expand the division/multiplications as shifts.

[Bug target/120959] [16 Regression] 9% slowdown of 549.fotonik3d_r on Zen5 since r16-1645-g309dbcea2cabb3

2025-07-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120959 Richard Biener changed: What|Removed |Added Target Milestone|--- |16.0 --- Comment #2 from Richard Biene

[Bug tree-optimization/120954] [15/16 Regression] False positive -Warray-bounds=2 warning

2025-07-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120954 Richard Biener changed: What|Removed |Added Target Milestone|--- |15.2

[Bug tree-optimization/120948] Cannot detect potential division-by-zero when numerator is 1 and denominator is variable

2025-07-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120948 --- Comment #5 from Richard Biener --- A better representation than if (...) __builtin_unrechable (); for asserts would be nice. We have with __builtin_assume_aligned something very related. So in GIMPLE we could have _2 = .ASSUME (_1, !=, 0);

[Bug target/120782] RISC-V: vector-strict-align not working for spec17 521 ref size

2025-07-05 Thread rdapp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120782 --- Comment #7 from Robin Dapp --- Ok, I was able to reproduce it with r15-9904-g2498cbbcdb23da.

[Bug c/120965] New: gcc 14.3 aarch64 be failed with pr78542.c

2025-07-05 Thread hanwei62 at huawei dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120965 Bug ID: 120965 Summary: gcc 14.3 aarch64 be failed with pr78542.c Product: gcc Version: 14.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c/120964] New: aarch64 be failed with pr78542.c

2025-07-05 Thread hanwei62 at huawei dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120964 Bug ID: 120964 Summary: aarch64 be failed with pr78542.c Product: gcc Version: 14.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c A

[Bug libstdc++/120949] [16 regression] rejected with clang-20.1.7

2025-07-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120949 --- Comment #6 from Jonathan Wakely --- I think https://github.com/llvm/llvm-project/pull/133107 fixed clang trunk.

[Bug target/118891] [14/15/16 regression] gcc 14 fails to build from source on aarch64_be: "error: ‘dynamic_cast’ not permitted with ‘-fno-rtti’"

2025-07-05 Thread marcus at mc dot pp.se via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118891 --- Comment #24 from marcus at mc dot pp.se --- I can confirm that with those two patches a 3-stage build of 14.2.1 completes with stage 2 and 3 compared as equal. The number of failed tests with "vect" somewhere in the name is down to 6: FAIL:

[Bug libstdc++/118681] [C++17] unsynchronized_pool_resource may fail to respect alignment

2025-07-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118681 --- Comment #10 from Jonathan Wakely --- Patch posted: https://gcc.gnu.org/pipermail/gcc-patches/2025-July/688627.html

[Bug libstdc++/120949] [16 regression] rejected with clang-20.1.7

2025-07-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120949 --- Comment #5 from Jonathan Wakely --- But not with Clang 20: :5:34: error: an attribute list cannot appear here 5 | __attribute__((always_inline)) [[nodiscard]] friend inline int baz () { return 42; } |

[Bug c++/120955] [15/16 Regression] 50 % increase in data segment size on avr-gcc for -Os

2025-07-05 Thread fiesh at zefix dot tv via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120955 --- Comment #3 from fiesh at zefix dot tv --- Thank you for the feedback. I tried to generate a test case, but it proved really hard for me. Is there some other output, like nm or objdump, that could help?