[Bug fortran/119419] C prototype generation for functions returning C_FUNPTR incorrect

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

[Bug ada/118939] [14 Regression] ada: executable segfaults on arm-linux-gnueabi when assigning an access to controlled type

2025-03-21 Thread bunk at stusta dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118939 Adrian Bunk changed: What|Removed |Added CC||bunk at stusta dot de --- Comment #6 from

[Bug tree-optimization/119424] New: memcpy->memset optimization should happen even for non-constant form of memcpy

2025-03-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119424 Bug ID: 119424 Summary: memcpy->memset optimization should happen even for non-constant form of memcpy Product: gcc Version: 14.1.0 Status: UNCONFIRMED Keyword

[Bug ada/118939] [14 Regression] ada: executable segfaults on arm-linux-gnueabi when assigning an access to controlled type

2025-03-21 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118939 Sam James changed: What|Removed |Added CC||sjames at gcc dot gnu.org --- Comment #8 fr

[Bug c++/119401] New: [15 regression] ICE when lambda is used as template argument in member function parameter type

2025-03-21 Thread cmingyi01 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119401 Bug ID: 119401 Summary: [15 regression] ICE when lambda is used as template argument in member function parameter type Product: gcc Version: 15.0 Status: UNCONFIRMED

[Bug target/119386] [14/15 Regression][x64] Shared libraries can no longer be compiled with profiling

2025-03-21 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119386 --- Comment #31 from Alexander Monakov --- I am certainly missing some interesting history here, because on one hand, I see that a.out uses call-pop combo in function prologue to find out current PC, and then uses %ebx-relative addressing in PIC

[Bug target/119361] RISC-V: x264 satd_4x4 stack spilling with mtune=generic-ooo for vls code but not on vla code

2025-03-21 Thread rdapp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119361 --- Comment #4 from Robin Dapp --- (In reply to Edwin Lu from comment #3) > I'm not familiar enough with how the two modes interact with each other but > I guess my question is, why do we have so many conversions between the two > modes? What's

[Bug c++/119401] [15 regression] ICE when lambda is used as template argument in member function parameter type

2025-03-21 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119401 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org,

[Bug c++/16994] [meta-bug] VLA and C++

2025-03-21 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=16994 Bug 16994 depends on bug 114292, which changed state. Bug 114292 Summary: [12 Regression] ICE with a generic (templated) lambda capturing a constant for VLA allocation https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114292 What|Remov

[Bug libstdc++/111055] [C++23] Implement P1206R7, Conversions from ranges to containers

2025-03-21 Thread tkaminsk at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111055 --- Comment #16 from Tomasz Kamiński --- The changes are also required for .

[Bug rust/116225] Rust test failures with -D_GLIBCXX_ASSERTIONS

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

[Bug target/119291] [13/14/15 regression] wrong code at -O{2, 3} with "-fno-thread-jumps" on x86_64-linux-gnu since r13-793-g8fb94fc6097c0a

2025-03-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119291 --- Comment #7 from Andrew Pinski --- Created attachment 60839 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60839&action=edit testcase that aborts instead of infinite loop This testcase makes it easier to put into the testsuite. It abor

[Bug target/119386] [14/15 Regression][x64] Shared libraries can no longer be compiled with profiling

2025-03-21 Thread ardb at kernel dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119386 --- Comment #32 from Ard Biesheuvel --- Franz, given that you are building your own compiler, mind checking whether the below fixes the issue for you? --- a/gcc/config/i386/i386.cc +++ b/gcc/config/i386/i386.cc @@ -23154,6 +23154,8 @@ if (fl

[Bug fortran/119403] New: Typo in Interface mismatch in dummy procedure at %L conflichts with %L: %s

2025-03-21 Thread fmarchal at perso dot be via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119403 Bug ID: 119403 Summary: Typo in Interface mismatch in dummy procedure at %L conflichts with %L: %s Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: nor

[Bug target/119291] [12/13/14/15 regression] wrong code at -O{2,3} on x86_64-linux-gnu

2025-03-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119291 Andrew Pinski changed: What|Removed |Added Attachment #60840|0 |1 is obsolete|

[Bug translation/119404] New: Possible typo in: Usa LRA for reload instead of the old reload framework

2025-03-21 Thread fmarchal at perso dot be via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119404 Bug ID: 119404 Summary: Possible typo in: Usa LRA for reload instead of the old reload framework Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: norma

[Bug target/119291] [12/13/14/15 regression] wrong code at -O{2,3} on x86_64-linux-gnu

2025-03-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119291 Andrew Pinski changed: What|Removed |Added Known to work|11.5.0 |8.5.0 Known to fail|12.1.0

[Bug c/119405] New: Missed FMA optimization for C code present in C++

2025-03-21 Thread alexander.grund--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119405 Bug ID: 119405 Summary: Missed FMA optimization for C code present in C++ Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compone

[Bug fortran/119349] [15 Regression] polymorphic array dummy argument with function result actual argument in elemental function

2025-03-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119349 --- Comment #8 from GCC Commits --- The master branch has been updated by Andre Vehreschild : https://gcc.gnu.org/g:0f344846a62c8863375909d8d6b435b4b5fd35a0 commit r15-8481-g0f344846a62c8863375909d8d6b435b4b5fd35a0 Author: Andre Vehreschild D

[Bug target/119404] Possible typo in: Usa LRA for reload instead of the old reload framework

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

[Bug libgcc/119396] libgcc: Shared objects are being built for target that doesn't support shared libs

2025-03-21 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119396 --- Comment #2 from Georg-Johann Lay --- What I have already tried is to set SHLIB_LINK := in t-avr, which should imply enable_shared=no. But it had no effect. Also I don't know where SHLIB_LINK should be set. In the top-level configure.ac ?

[Bug target/119410] New: 5% slowdown of 510.parest_r on Intel Ice Lake

2025-03-21 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119410 Bug ID: 119410 Summary: 5% slowdown of 510.parest_r on Intel Ice Lake Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal

[Bug tree-optimization/119399] Overlap check in vectorized code may invoke UB

2025-03-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119399 Richard Biener changed: What|Removed |Added Last reconfirmed||2025-03-21 Keywords|

[Bug rtl-optimization/101995] [12/13/14/15 Regression] regression built-in memset missed-optimization arm -Os since r9-3594

2025-03-21 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101995 --- Comment #16 from Richard Earnshaw --- Still present. Perhaps more significantly (and possibly related) class x { public: x (); int func (); private: int a; }; int g () { x b; return b.func(); } generates: g(): push

[Bug fortran/119380] [12,13,14,15] Free of procedure pointer components

2025-03-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119380 --- Comment #6 from GCC Commits --- The master branch has been updated by Andre Vehreschild : https://gcc.gnu.org/g:a5c69abf1384ec6163cd5e14146e8b3876e8b95c commit r15-8642-ga5c69abf1384ec6163cd5e14146e8b3876e8b95c Author: Andre Vehreschild D

[Bug target/119386] [14/15 Regression][x64] Shared libraries can no longer be compiled with profiling

2025-03-21 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119386 --- Comment #30 from Alexander Monakov --- Sorry, sent too soon: a.out had the concept of PLT as well as GOT: https://gcc.gnu.org/cgit/gcc/tree/gcc/config/i386/i386.c?id=c98f874233428d7e6ba83def7842fd703ac0ddf1#n820

[Bug fortran/119380] [12,13,14,15] Free of procedure pointer components

2025-03-21 Thread vehre at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119380 Andre Vehreschild changed: What|Removed |Added Status|NEW |WAITING Summary|[12,13,1

[Bug middle-end/117811] [12/13/14/15 Regression] bad code for conditional right shift with autovec and neon since r12-897-gde56f95afaaa22

2025-03-21 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117811 --- Comment #21 from Richard Earnshaw --- Patch posted: https://gcc.gnu.org/pipermail/gcc-patches/2025-March/678597.html

[Bug c++/114292] [12/13 Regression] ICE with a generic (templated) lambda capturing a constant for VLA allocation

2025-03-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114292 --- Comment #14 from GCC Commits --- The releases/gcc-13 branch has been updated by Simon Martin : https://gcc.gnu.org/g:65e998d172e006cdf0dd4d58f83784a5fed61fc5 commit r13-9441-g65e998d172e006cdf0dd4d58f83784a5fed61fc5 Author: Simon Martin D

[Bug ada/105212] -gnatwu gives false error message for certain arrays.

2025-03-21 Thread service at totalplanlos dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105212 Honki Tonk changed: What|Removed |Added Version|13.1.0 |14.2.0 --- Comment #3 from Honki Tonk ---

[Bug libstdc++/119409] New: should not include all of and

2025-03-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119409 Bug ID: 119409 Summary: should not include all of and Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: minor Priority: P3 Compone

[Bug c++/119405] C++ for non gnu mode should set -ffp-contract=off just like C non-gnu modes

2025-03-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119405 --- Comment #7 from Jonathan Wakely --- We already have the -fexcess-precision=standard difference between gnu++ and c++ modes. That only changed recently for C++, which might be why fp-contract isn't the same between C and C++.

[Bug target/119291] [13/14/15 regression] wrong code at -O{2, 3} with "-fno-thread-jumps" on x86_64-linux-gnu since r13-793-g8fb94fc6097c0a

2025-03-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119291 Andrew Pinski changed: What|Removed |Added Attachment #60839|0 |1 is obsolete|

[Bug ipa/119376] [15 Regression] musttail does not get dropped after inlining?

2025-03-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119376 --- Comment #8 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:37ae2e055687a22974d7bcb9e618f258fa49ab1a commit r15-8492-g37ae2e055687a22974d7bcb9e618f258fa49ab1a Author: Jakub Jelinek Date: F

[Bug c/119408] New: LoongArch: Q Suffix for __float128 Literals Not Supported

2025-03-21 Thread wszqkzqk at qq dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119408 Bug ID: 119408 Summary: LoongArch: Q Suffix for __float128 Literals Not Supported Product: gcc Version: 14.2.1 Status: UNCONFIRMED Severity: normal P

[Bug cobol/119390] cobol compiler crashes with buffer overflow

2025-03-21 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119390 --- Comment #3 from Andreas Schwab --- #9 lang_specific_driver (in_decoded_options=0x7fffd970, in_decoded_options_count=0x7fffd97c, in_added_libraries=) at ../../gcc/cobol/gcobolspec.cc:510 510 strcpy(ach, de

[Bug libstdc++/119409] should not include all of and

2025-03-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119409 --- Comment #1 from Jonathan Wakely --- Similarly: include/std/chrono:# include include/std/chrono:# include include/std/chrono:# include include/std/flat_map:#include // not_fn include/std/flat_map:#include // views::zip include/std/flat

[Bug fortran/119349] [15 Regression] polymorphic array dummy argument with function result actual argument in elemental function

2025-03-21 Thread vehre at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119349 Andre Vehreschild changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug c++/119405] Missed FMA optimization for C code present in C++

2025-03-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119405 --- Comment #2 from Andrew Pinski --- If you used -std=gnu11, -std=gnu++11 then the setting would be -ffp-contract=on

[Bug d/118545] d: Not all language options get a url in diagnostics

2025-03-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118545 --- Comment #1 from GCC Commits --- The master branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:47822ef8f1b03ab7124aba694709825a93897994 commit r15-8477-g47822ef8f1b03ab7124aba694709825a93897994 Author: Iain Buclaw Date: Fri M

[Bug c++/119405] Missed FMA optimization for C code present in C++

2025-03-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119405 --- Comment #3 from Andrew Pinski --- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106902#c36 So this is by design. Except maybe C++ front-end should change too.

[Bug c++/119405] C++ for non gnu mode should set -ffp-contract=off just like C non-gnu modes

2025-03-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119405 --- Comment #5 from Andrew Pinski --- I am going to leave this open for a C++ front-end person to decide if they want to make the change to be similar to the C front-end here. BUT the C front-end is doing it by design. If you want something di

[Bug c++/119405] Missed FMA optimization for C code present in C++

2025-03-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119405 --- Comment #4 from Andrew Pinski --- Setting to =off for -std=c* (and not -std=c++*) was done in r0-126303-g6dbe09581a1349.

[Bug c++/119405] Missed FMA optimization for C code present in C++

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

[Bug fortran/119380] [12,13,14,15] Associate malloc error on selector with allocatable and procedure pointer components

2025-03-21 Thread vehre at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119380 --- Comment #4 from Andre Vehreschild --- (In reply to anlauf from comment #1) > Is the known-to-fail list correct? > I do not see failures for 11- and 12-releases. > > The dump tree also changes only between 12 and 13. > To me it looks rather

[Bug cobol/119241] cobol Front end uses host floating point (128b) support

2025-03-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119241 Richard Biener changed: What|Removed |Added Attachment #60834|0 |1 is obsolete|

[Bug cobol/119241] cobol Front end uses host floating point (128b) support

2025-03-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119241 --- Comment #25 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:a62893d71c5f48fd7780957e1ad1a4f38f351728 commit r15-8482-ga62893d71c5f48fd7780957e1ad1a4f38f351728 Author: Richard Biener Date:

[Bug target/119291] [13/14/15 regression] wrong code at -O{2, 3} with "-fno-thread-jumps" on x86_64-linux-gnu since r13-793-g8fb94fc6097c0a

2025-03-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119291 --- Comment #6 from Andrew Pinski --- Note disabling combine (-fdisable-rtl-combine) works around the issue. So we know what is coming out of expand is correct.

[Bug target/119235] Argument pointer survives LRA with -m31 -mzarch

2025-03-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119235 --- Comment #1 from GCC Commits --- The master branch has been updated by Stefan Schulze Frielinghaus : https://gcc.gnu.org/g:2b383ae2a6e5fc0530bfd8b86ad0e6b27e760bd2 commit r15-8483-g2b383ae2a6e5fc0530bfd8b86ad0e6b27e760bd2 Author: Stefan Sch

[Bug c++/119405] C++ for non gnu mode should set -ffp-contract=off just like C non-gnu modes

2025-03-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119405 --- Comment #6 from Richard Biener --- IMO the different behavior between gnu and non-gnu is odd.

[Bug tree-optimization/119399] Overlap check in vectorized code may invoke UB

2025-03-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119399 --- Comment #2 from Richard Biener --- Note the possible UB is in the POINTER_DIFF_EXPR _25 = p_12(D) - _7 which we should arguably not use but instead use an integer type difference when different objects are involved. Still the actual alias c

[Bug fortran/119406] New: Typo in Index variable %qs at %L cannot be specified in alocality-spec

2025-03-21 Thread fmarchal at perso dot be via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119406 Bug ID: 119406 Summary: Typo in Index variable %qs at %L cannot be specified in alocality-spec Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug ipa/119376] [15 Regression] musttail does not get dropped after inlining?

2025-03-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119376 --- Comment #9 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:589c94da22ec71fe8518878e801e88b05deffe18 commit r15-8493-g589c94da22ec71fe8518878e801e88b05deffe18 Author: Jakub Jelinek Date: F

[Bug c/119408] LoongArch: Q Suffix for __float128 Literals Not Supported

2025-03-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119408 --- Comment #1 from Richard Biener --- Q is an extension, 1.1f128 should work. The extension is enabled only for some platforms.

[Bug middle-end/117811] [12/13/14/15 Regression] bad code for conditional right shift with autovec and neon since r12-897-gde56f95afaaa22

2025-03-21 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117811 --- Comment #22 from Christophe Lyon --- Bootstrap on arm-linux-gnueabihf passes, 'make check' too. Sorry for the delay, I was trying to understand an ICE gcc.target/arm/mve/general/preserve_user_namespace_1.c after I bootstrapped with your pat

[Bug cobol/119377] cobol.dg/group1/declarative_1.cob fails (segfaults, uninitialised vars)

2025-03-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119377 Richard Biener changed: What|Removed |Added Keywords||ice-on-valid-code Status|U

[Bug target/119408] LoongArch: Q Suffix for __float128 Literals Not Supported

2025-03-21 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119408 Jakub Jelinek changed: What|Removed |Added Component|c |target CC|

[Bug c/119408] LoongArch: Q Suffix for __float128 Literals Not Supported

2025-03-21 Thread wszqkzqk at qq dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119408 --- Comment #2 from Zhou Qiankang --- (In reply to Richard Biener from comment #1) > Q is an extension, 1.1f128 should work. The extension is enabled only > for some platforms. But this extension (__flaot128) actually enables on LoongArch6

[Bug target/119386] [14/15 Regression][x64] Shared libraries can no longer be compiled with profiling

2025-03-21 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119386 --- Comment #34 from Alexander Monakov --- We have -mcmodel=kernel already, which is incompatible with -fpic. Ard, where is -fpic in the kernel context coming from? Kernel's top-level Makefile passes -fno-PIE, and arch/x86/Makefile passes -mcmo

[Bug cobol/119414] New: cobol driver unconditionally adds platform-specific command line options.

2025-03-21 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119414 Bug ID: 119414 Summary: cobol driver unconditionally adds platform-specific command line options. Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: norm

[Bug target/119408] LoongArch: Q Suffix for __float128 Literals Not Supported

2025-03-21 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119408 Xi Ruoyao changed: What|Removed |Added Target Milestone|--- |14.3 --- Comment #5 from Xi Ruoyao --- (In

[Bug target/119386] [14/15 Regression][x64] Shared libraries can no longer be compiled with profiling

2025-03-21 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119386 --- Comment #38 from Alexander Monakov --- (In reply to Ard Biesheuvel from comment #37) > Yes, we can drop -mcmodel=kernel, and use -mcmodel=small instead. This is > why I'm not keen on relying on that - it is ill-defined and there is really >

[Bug target/119386] [14/15 Regression][x64] Shared libraries can no longer be compiled with profiling

2025-03-21 Thread ardb at kernel dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119386 --- Comment #39 from Ard Biesheuvel --- (In reply to Alexander Monakov from comment #38) > (In reply to Ard Biesheuvel from comment #37) > > Yes, we can drop -mcmodel=kernel, and use -mcmodel=small instead. This is > > why I'm not keen on relyin

[Bug libstdc++/119415] flat_set::insert_range may not handle C++20 common-range

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

[Bug c++/114992] [13/14/15 Regression] ICE during IPA pass: targetclone in add_to_same_comdat_group with calling a target clone with a lamdba in a comdat function

2025-03-21 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114992 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED Assignee|unassigned

[Bug target/119413] New: [15 Regression] 11% slowdown (but only 3% regression against GGC 14) of 507.cactuBSSN_r on Aarch64

2025-03-21 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119413 Bug ID: 119413 Summary: [15 Regression] 11% slowdown (but only 3% regression against GGC 14) of 507.cactuBSSN_r on Aarch64 Product: gcc Version: 15.0 Status: UNCONFIRMED

[Bug fortran/119380] [12,13,14,15] Free of procedure pointer components

2025-03-21 Thread damian at archaeologic dot codes via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119380 --- Comment #7 from Damian Rouson --- Thanks, Andre!

[Bug target/119408] LoongArch: Q Suffix for __float128 Literals Not Supported

2025-03-21 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119408 Xi Ruoyao changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug target/119411] [15 Regression] 5% slowdown of 505.mcf_r on Aarch64

2025-03-21 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119411 Filip Kastl changed: What|Removed |Added Target Milestone|--- |15.0

[Bug target/91614] [12/13/14 regression][arm] gcc.target/arm/unaligned-memcpy-2.c FAIL since r274986

2025-03-21 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91614 Richard Earnshaw changed: What|Removed |Added Summary|[12/13/14/15|[12/13/14 regression][arm]

[Bug tree-optimization/119407] Missed optimization for identical branches

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

[Bug sanitizer/119416] spurious store with null sanitizer

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

[Bug libstdc++/119415] flat_set::insert_range may not handle C++20 common-range

2025-03-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119415 --- Comment #2 from Jonathan Wakely --- There are no "official contributors", anyone who submits patches is a contributor: https://gcc.gnu.org/contribute.html

[Bug c++/114992] [13/14/15 Regression] ICE during IPA pass: targetclone in add_to_same_comdat_group with calling a target clone with a lamdba in a comdat function

2025-03-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114992 --- Comment #6 from GCC Commits --- The releases/gcc-13 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:41db4716a5603052df626a1ab911b0b3fab322b2 commit r13-9442-g41db4716a5603052df626a1ab911b0b3fab322b2 Author: Jason Merrill

[Bug target/119421] New: [avr] Better optimize some operations involving bits

2025-03-21 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119421 Bug ID: 119421 Summary: [avr] Better optimize some operations involving bits Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug tree-optimization/119420] `a >> 1 == 0` should be trasformed into `((unsigned)a) <= 1`

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

[Bug target/119421] [avr] Better optimize some operations involving bits

2025-03-21 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119421 Georg-Johann Lay changed: What|Removed |Added Severity|normal |enhancement Keywords|

[Bug tree-optimization/119420] New: `a >> 1 == 0` should be trasformed into `((unsigned)a) <= 1`

2025-03-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119420 Bug ID: 119420 Summary: `a >> 1 == 0` should be trasformed into `((unsigned)a) <= 1` Product: gcc Version: 14.1.0 Status: UNCONFIRMED Keywords: missed-optimiza

[Bug c++/114292] [12 Regression] ICE with a generic (templated) lambda capturing a constant for VLA allocation

2025-03-21 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114292 Simon Martin changed: What|Removed |Added Summary|[12/13 Regression] ICE with |[12 Regression] ICE with a

[Bug tree-optimization/119417] [14/15 Regression] wrong code with `-O2`, uses uxtw instead of uxth causing different result on ADD instruction

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

[Bug target/119411] New: [15 Regression] 5% slowdown of 505.mcf_r on Aarch64

2025-03-21 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119411 Bug ID: 119411 Summary: [15 Regression] 5% slowdown of 505.mcf_r on Aarch64 Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: missed-optimization, needs-bisection

[Bug target/119411] [15 Regression] 5% slowdown of 505.mcf_r on Aarch64

2025-03-21 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119411 --- Comment #1 from Filip Kastl --- > here there should have been "GCC 14" inserted into my bugreporting template :D

[Bug target/119408] LoongArch: Q Suffix for __float128 Literals Not Supported

2025-03-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119408 --- Comment #6 from Jonathan Wakely --- (In reply to Xi Ruoyao from comment #4) > The reason is we already added __float128 for "compatibility with existing > code" so it makes sense to add Q as well. And we have "use a suffix ‘q’ or > ‘Q’ for

[Bug ada/118939] [14 Regression] ada: executable segfaults on arm-linux-gnueabi when assigning an access to controlled type

2025-03-21 Thread doko at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118939 Matthias Klose changed: What|Removed |Added Status|WAITING |UNCONFIRMED Ever confirmed|1

[Bug target/119412] New: 7% slowdown of 482.sphinx3 on Aarch64

2025-03-21 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119412 Bug ID: 119412 Summary: 7% slowdown of 482.sphinx3 on Aarch64 Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: missed-optimization, needs-bisection Severity: nor

[Bug c++/114992] [13/14/15 Regression] ICE during IPA pass: targetclone in add_to_same_comdat_group with calling a target clone with a lamdba in a comdat function

2025-03-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114992 --- Comment #4 from GCC Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:ab716829da7c885b97ac2649c7c0ff5c7703ffa5 commit r15-8651-gab716829da7c885b97ac2649c7c0ff5c7703ffa5 Author: Jason Merrill Date: Th

[Bug fortran/119406] Typo in Index variable %qs at %L cannot be specified in alocality-spec

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

[Bug fortran/119403] Typo in Interface mismatch in dummy procedure at %L conflichts with %L: %s

2025-03-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119403 --- Comment #2 from GCC Commits --- The master branch has been updated by Jerry DeLisle : https://gcc.gnu.org/g:00cbf03029267b3bdfb696aa09c9a36dbeeb51aa commit r15-8652-g00cbf03029267b3bdfb696aa09c9a36dbeeb51aa Author: Jerry DeLisle Date: F

[Bug fortran/119403] Typo in Interface mismatch in dummy procedure at %L conflichts with %L: %s

2025-03-21 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119403 Jerry DeLisle changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/119422] New: `u <= (u <= (unsigned)b)` can be transform into just `(u <= (unsigned)b)`

2025-03-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119422 Bug ID: 119422 Summary: `u <= (u <= (unsigned)b)` can be transform into just `(u <= (unsigned)b)` Product: gcc Version: 14.1.0 Status: UNCONFIRMED Keywords: mi

[Bug preprocessor/119391] [C++20] Preprocessor tokens should evaluate signed integer expressions in two's complement

2025-03-21 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119391 --- Comment #10 from Jakub Jelinek --- And for GCC 16, perhaps we can keep existing behavior and just set overflow flag on the result whenever it is pedantically invalid. So for the cases like negative shift count or left shift of signed negati

[Bug tree-optimization/119417] [14/15 Regression] -fexpensive-optimizations forces GCC 14 to use uxtw instead of uxth causing different result on ADD instruction

2025-03-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119417 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Component|target

[Bug libstdc++/119415] flat_set::insert_range may not handle C++20 common-range

2025-03-21 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119415 --- Comment #1 from Sam James --- (In reply to 康桓瑋 from comment #0) > As an aside, seems like Tomasz recently became an "official" > contributor/maintainer of libstdc++ based on his numerous valuable libstdc++ > submission. I am just purely curi

[Bug tree-optimization/119407] Missed optimization for identical branches

2025-03-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119407 Andrew Pinski changed: What|Removed |Added Component|c++ |tree-optimization Severity|no

[Bug target/119386] [14/15 Regression][x64] Shared libraries can no longer be compiled with profiling

2025-03-21 Thread ardb at kernel dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119386 --- Comment #35 from Ard Biesheuvel --- (In reply to Alexander Monakov from comment #34) > We have -mcmodel=kernel already, which is incompatible with -fpic. > > Ard, where is -fpic in the kernel context coming from? Kernel's top-level > Makefi

[Bug fortran/119403] Typo in Interface mismatch in dummy procedure at %L conflichts with %L: %s

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

[Bug tree-optimization/119417] New: -fexpensive-optimizations forces GCC 14 to use uxtw instead of uxth causing different result on ADD instruction

2025-03-21 Thread rogerio.souza at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119417 Bug ID: 119417 Summary: -fexpensive-optimizations forces GCC 14 to use uxtw instead of uxth causing different result on ADD instruction Product: gcc Version: 14.

[Bug cobol/119390] stack buffer overflow in gcobol driver

2025-03-21 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119390 Andreas Schwab changed: What|Removed |Added Summary|cobol compiler crashes with |stack buffer overflow in

[Bug target/119417] [14/15 Regression] -fexpensive-optimizations forces GCC 14 to use uxtw instead of uxth causing different result on ADD instruction

2025-03-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119417 Andrew Pinski changed: What|Removed |Added Known to work||13.3.0 Summary|-fexpensive-o

[Bug tree-optimization/119417] [14/15 Regression] -fexpensive-optimizations forces GCC 14 to use uxtw instead of uxth causing different result on ADD instruction

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

  1   2   >