[Bug target/113076] [14] RISC-V: gfortran.dg/dec_io_1.f90 runtime error after r14-4972-g8aa47713701

2025-03-19 Thread ewlu at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113076 Edwin Lu changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/119373] RISC-V: missed unrolling opportunity

2025-03-19 Thread parras at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119373 --- Comment #4 from Paul-Antoine Arras --- Comment on attachment 60821 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60821 Excerpt of the AArch64 assembly $ aarch64-linux-gnu-gcc -S -fverbose-asm -Ofast -mabi=lp64 -march=armv9-a+sve2 -ms

[Bug rtl-optimization/116028] [15 Regression] gcc.dg/pr10474.c test failure since r15-1619-g3b9b8d6cfdf593

2025-03-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116028 --- Comment #22 from Jakub Jelinek --- Also, I wonder about different calls in the same function with different ABIs (whether from IPA-RA which finds out some call doesn't clobber some reg while another one does, or function attributes, ...).

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

2025-03-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119241 --- Comment #15 from Jakub Jelinek --- (In reply to Robert Dubner from comment #14) > It has taken me a ridiculously long time to figure out that you are creating > trees for numeric values, and then doing arithmetic on those trees at > compile

[Bug c++/119062] [C++26] P3475R2 - Defang and deprecate memory_order::consume

2025-03-19 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119062 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #2

[Bug target/119373] RISC-V: missed unrolling opportunity

2025-03-19 Thread parras at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119373 --- Comment #2 from Paul-Antoine Arras --- Created attachment 60822 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60822&action=edit Excerpt of the RISC-V assembly

[Bug testsuite/113634] FAIL: gcc.dg/Wfree-nonheap-object-7.c, incorrect declaration for calloc()

2025-03-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113634 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Version|unknown

[Bug testsuite/113634] FAIL: gcc.dg/Wfree-nonheap-object-7.c, incorrect declaration for calloc()

2025-03-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113634 --- Comment #2 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:12b2c414b6d0e0d1b3d328b58d654c19c30bee8c commit r15-8445-g12b2c414b6d0e0d1b3d328b58d654c19c30bee8c Author: Richard Biener Date:

[Bug rust/119353] [15 regression] Rust fails to build (build failure: error[E0554]: `#![feature]` may not be used on the stable release channel)

2025-03-19 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119353 Eric Botcazou changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/101544] [OpenMP][AMDGCN][nvptx] C++ offloading: unresolved _Znwm = "operator new(unsigned long)"

2025-03-19 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101544 --- Comment #22 from Thomas Schwinge --- Context of the following (sub-)task: nvptx is '!TARGET_SUPPORTS_ALIASES', but the host usually is 'TARGET_SUPPORTS_ALIASES', and therefore invokes the 'gcc/cp/optimize.cc:can_alias_cdtor' optimization, so

[Bug target/119373] New: RISC-V: missed unrolling opportunity

2025-03-19 Thread parras at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119373 Bug ID: 119373 Summary: RISC-V: missed unrolling opportunity Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug target/119373] RISC-V: missed unrolling opportunity

2025-03-19 Thread parras at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119373 --- Comment #1 from Paul-Antoine Arras --- Created attachment 60821 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60821&action=edit Excerpt of the AArch64 assembly

[Bug rtl-optimization/118615] [15 Regression] Bootstrap failure on aarch64 after r15-2810

2025-03-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118615 --- Comment #26 from Jakub Jelinek --- So, I'd at least suggest: --- gcc/lra-constraints.cc.jj 2025-02-01 00:47:07.926078697 +0100 +++ gcc/lra-constraints.cc 2025-03-19 18:54:08.035516274 +0100 @@ -152,6 +152,9 @@ static machine_mode curr

[Bug rust/119353] [15 regression] Rust fails to build (build failure: error[E0554]: `#![feature]` may not be used on the stable release channel)

2025-03-19 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119353 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org --- Comment #10 f

[Bug rtl-optimization/116028] [15 Regression] gcc.dg/pr10474.c test failure since r15-1619-g3b9b8d6cfdf593

2025-03-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116028 --- Comment #24 from Andrew Pinski --- (In reply to Jakub Jelinek from comment #21) > Andrew, any progress on bisecting the bootstrap failure? I put all of the details I have found about the bisect in PR 118615. Including the small testcase whi

[Bug target/119373] RISC-V: missed unrolling opportunity

2025-03-19 Thread parras at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119373 --- Comment #3 from Paul-Antoine Arras --- Comment on attachment 60822 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60822 Excerpt of the RISC-V assembly $ riscv64-linux-gnu-gcc -S -fverbose-asm -Ofast -mabi=lp64d -march=rv64gcv_zvl256b_

[Bug c++/119370] [15 Regression][OpenMP] ICE in gimple_add_tmp_var, at gimplify.cc:834 for omptest's xt-declare-target-ctors since r15-2799

2025-03-19 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119370 --- Comment #3 from Tobias Burnus --- > Reduced testcase: > ... > S a[3]; Array size 1 is enough. My reduced testcase was: #pragma omp declare target struct SSD { SSD(); } sd[1]; #pragma omp end declare target input1.ii.018t.ompex

[Bug c++/119370] [15 Regression][OpenMP] ICE in gimple_add_tmp_var, at gimplify.cc:834 for omptest's xt-declare-target-ctors since r15-2799

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

[Bug target/119374] New: armv7ve+neon-vfpv4: Miscompilation with -O2

2025-03-19 Thread myokaski at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119374 Bug ID: 119374 Summary: armv7ve+neon-vfpv4: Miscompilation with -O2 Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ta

[Bug gcov-profile/119375] New: Some autofdo test cases fail

2025-03-19 Thread andi-gcc at firstfloor dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119375 Bug ID: 119375 Summary: Some autofdo test cases fail Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: gcov-profile

[Bug gcov-profile/119375] Some autofdo test cases fail

2025-03-19 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119375 --- Comment #1 from Sam James --- Do the PR117790 fixes help this?

[Bug c++/105848] [12 Regression] undefined reference for default template argument of function type

2025-03-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105848 --- Comment #8 from GCC Commits --- The releases/gcc-14 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:9a69c36417ad597ea2dce20fd704878c3727bc38 commit r14-11422-g9a69c36417ad597ea2dce20fd704878c3727bc38 Author: Patrick Palka

[Bug target/119374] [12/13/14/15 regression] armv7ve+neon-vfpv4: Miscompilation with -O2

2025-03-19 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119374 Sam James changed: What|Removed |Added Keywords||wrong-code Target Milestone|---

[Bug target/119374] [12/13/14/15 regression] armv7ve+neon-vfpv4: Miscompilation with -O2

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

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

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

[Bug target/119374] [12/13/14/15 regression] armv7ve+neon-vfpv4: Miscompilation with -O2

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

[Bug target/119374] [12/13/14/15 regression] armv7ve+neon-vfpv4: Miscompilation with -O2

2025-03-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119374 --- Comment #2 from Andrew Pinski --- ;; shift_36 = 19 - _8; (insn 20 19 0 (set (reg/v:SI 133 [ shiftD.6157 ]) (minus:SI (const_int 19 [0x13]) (reg:SI 121 [ _8 ]))) "/app/example.cpp":33:11 discrim 1 -1 (nil)) ;; vec

[Bug c/119366] [15 Regression] ICE: "free(): invalid pointer" in diagnostic_context::finish() (diagnostic.cc:427) with -Wfatal-errors

2025-03-19 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119366 David Malcolm changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

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

2025-03-19 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119349 --- Comment #4 from Jerry DeLisle --- (In reply to anlauf from comment #3) > Looks related to pr118747, where an elemental subroutine was used > instead of a function. It has some similarities. Since Andre did the fix on that one, we need to se

[Bug target/119372] [12/13/14 Regression] Aarch64: Compiling with -march=armv8-a+pauth -mbranch-protection=standard produces autiasp and retaa in the function epilogue

2025-03-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119372 Andrew Pinski changed: What|Removed |Added Known to fail||11.1.0 Keywords|needs-bisecti

[Bug target/119372] [12/13/14 Regression] Aarch64: Compiling with -march=armv8-a+pauth -mbranch-protection=standard produces autiasp and retaa in the function epilogue

2025-03-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119372 --- Comment #1 from Andrew Pinski --- This was fixed by r15-6779-g20385cb92cbd4a . Which means the workaround is to use `-march=armv8.3-a+pauth`.

[Bug testsuite/108152] gcc.dg/pr71558.c fails for LLP64

2025-03-19 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108152 --- Comment #4 from nightstrike --- >From Andrew on IRC: use __extension__ before __SIZE_TYPE__ This should alleviate the pedantic warnings while (I believe) not invalidating the point of the test.

[Bug c++/119376] New: protobuf-29.2 fails to build (error: cannot tail-call: call may throw exception that does not propagate)

2025-03-19 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119376 Bug ID: 119376 Summary: protobuf-29.2 fails to build (error: cannot tail-call: call may throw exception that does not propagate) Product: gcc Version: 15.0 Status: UNCON

[Bug ipa/119376] protobuf-29.2 fails to build (error: cannot tail-call: call may throw exception that does not propagate)

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

[Bug fortran/116706] Unable to fill allocatable array component of a derived type instance in a pointer array within a derived type

2025-03-19 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116706 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org --

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

2025-03-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119376 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug target/119270] [15 Regression] 5% slowdown of 507.cactuBSSN_r on Intel Ice Lake

2025-03-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119270 --- Comment #4 from GCC Commits --- The master branch has been updated by Vladimir Makarov : https://gcc.gnu.org/g:6c443e128802bd93158a3db7c4edf5fc1fc76c8d commit r15-8449-g6c443e128802bd93158a3db7c4edf5fc1fc76c8d Author: Vladimir N. Makarov

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

2025-03-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119376 --- Comment #3 from Andrew Pinski --- here is a better example: ``` void f(int *); inline __attribute__((always_inline)) void h(int *b) { [[clang::musttail]] return f(b); } void g(int *b) { int a; h(&a); [[clang::musttail]]

[Bug c++/119370] [15 Regression][OpenMP] ICE in gimple_add_tmp_var, at gimplify.cc:834 for omptest's xt-declare-target-ctors since r15-2799

2025-03-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119370 --- Comment #4 from Jakub Jelinek --- Guess the bug is in emit_partial_init_fini_fn /* We will emit 'init' twice, and it is modified in-place during gimplification. Make a copy here. */ if (omp_target) {

[Bug rust/119353] [15 regression] Rust fails to build (build failure: error[E0554]: `#![feature]` may not be used on the stable release channel)

2025-03-19 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119353 Eric Botcazou changed: What|Removed |Added CC||ebotcazou at gcc dot gnu.org

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

2025-03-19 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 #60817|0 |1 is obsolete|

[Bug c++/119370] [15 Regression][OpenMP] ICE in gimple_add_tmp_var, at gimplify.cc:834 for omptest's xt-declare-target-ctors

2025-03-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119370 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1

[Bug libstdc++/119358] _M_rehash_insert of unordered multiset/maps misses casting of difference_type

2025-03-19 Thread tkaminsk at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119358 Tomasz KamiƄski changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/119357] [15 regression] ICE when building highway-1.0.7 on x86

2025-03-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119357 --- Comment #10 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:9030c54d3ff983cf07752173737f627a2e458426 commit r15-8295-g9030c54d3ff983cf07752173737f627a2e458426 Author: Jakub Jelinek Date:

[Bug rtl-optimization/116028] [15 Regression] gcc.dg/pr10474.c test failure since r15-1619-g3b9b8d6cfdf593

2025-03-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116028 Jakub Jelinek changed: What|Removed |Added CC||law at gcc dot gnu.org --- Comment #23

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

2025-03-19 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119349 --- Comment #3 from anlauf at gcc dot gnu.org --- Looks related to pr118747, where an elemental subroutine was used instead of a function.

[Bug c/119350] flexible array initialization is allowed when initialized with `{}` with C23

2025-03-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119350 Jakub Jelinek changed: What|Removed |Added Target Milestone|--- |15.0 Resolution|---

[Bug c/119350] flexible array initialization is allowed when initialized with `{}` with C23

2025-03-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119350 --- Comment #2 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:7ecf468c9a30b5a6da86812b912fe3368437c8b9 commit r15-8446-g7ecf468c9a30b5a6da86812b912fe3368437c8b9 Author: Jakub Jelinek Date: W

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

2025-03-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119241 --- Comment #16 from Richard Biener --- (In reply to Robert Dubner from comment #14) > "Wait for me! I am your leader!" > > I am not *used* to this. > > What I *am* used to is people telling me there's a problem in my code, and > then standin

[Bug c++/119233] [12/13/14/15 Regression] templated member function used as a template argument via pointer to member function from inside a template causes an undefined symbol since r12-6075-g2decd2c

2025-03-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119233 --- Comment #10 from GCC Commits --- The releases/gcc-14 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:9a69c36417ad597ea2dce20fd704878c3727bc38 commit r14-11422-g9a69c36417ad597ea2dce20fd704878c3727bc38 Author: Patrick Palka

[Bug c++/119233] [12/13 Regression] templated member function used as a template argument via pointer to member function from inside a template causes an undefined symbol since r12-6075-g2decd2cabe5a4

2025-03-19 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119233 Patrick Palka changed: What|Removed |Added Summary|[12/13/14/15 Regression]|[12/13 Regression] |t

<    1   2