[Bug tree-optimization/106238] [12 regression] Inline optimization causes dangling pointer warning on "include/c++/12.1.0/bits/stl_tree.h"

2025-04-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106238 Jonathan Wakely changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug tree-optimization/108860] [12/13 regression] New (since gcc 12) false positive null-dereference in vector.resize

2025-04-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108860 Jonathan Wakely changed: What|Removed |Added Keywords|needs-bisection | See Also|

[Bug rtl-optimization/97286] simplified subreg used outside of the loop can cause conflict and cause an extra move inside the loop

2025-04-01 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97286 --- Comment #10 from Richard Sandiford --- (In reply to Richard Sandiford from comment #9) > … Or perhaps we > could do the optimisation in gimple, so that there is only one loop-carried > dependency coming into expand. That is, replace: [loc

[Bug rtl-optimization/97286] simplified subreg used outside of the loop can cause conflict and cause an extra move inside the loop

2025-04-01 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97286 --- Comment #9 from Richard Sandiford --- (In reply to ktkachov from comment #8) > Richard, do you think this is something early-ra in aarch64 is well-placed > to address? Or is there perhaps a realistic IRA solution? I don't think the RAs can ha

[Bug tree-optimization/114945] [14 regression] Sporadic std::vector::resize() -Wstringop-overflow or -Warray-bounds warning with gcc 14

2025-04-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114945 Jonathan Wakely changed: What|Removed |Added Summary|[14/15 regression] Sporadic |[14 regression] Sporadic

[Bug c++/116841] [14 Regression] spurious -Warray-bounds=1 warning when resizing + memcpy-ing into vector

2025-04-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116841 Jonathan Wakely changed: What|Removed |Added Keywords|needs-bisection | --- Comment #5 from Jonathan Wakely

[Bug c++/119574] [14/15 regression] ICE on lambda in default template argument

2025-04-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119574 Andrew Pinski changed: What|Removed |Added Known to fail||15.0 Summary|[15 regression]

[Bug c++/119574] [14/15 regression] ICE on lambda in default template argument

2025-04-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119574 --- Comment #3 from Andrew Pinski --- (In reply to Marek Polacek from comment #2) > Started with r15-3530-gdfb63765e994be. Before that rev we accepted the > code. But GCC 14 also ICEs and GCC 13 says: r15-3530 was backported to 14 branch for

[Bug fortran/119575] ICE parsing expression with overloaded operators

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

[Bug c++/119574] [14/15 regression] ICE on lambda in default template argument

2025-04-01 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119574 --- Comment #5 from Marek Polacek --- Or perhaps this should be a P2. I'm honestly not sure. We should fix it anyway ;).

[Bug c++/119566] internal compiler error: in unify, at cp/pt.cc:25410

2025-04-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119566 --- Comment #3 from Andrew Pinski --- Reducing ...

[Bug fortran/119575] ICE parsing expression with overloaded operators

2025-04-01 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119575 --- Comment #2 from kargls at comcast dot net --- (In reply to kargls from comment #1) > By placing line numbers on every line of the program, once cannot simply > copy and > paste the code into a file for testing. The code as written contains i

[Bug tree-optimization/102805] at -O2, spurious stringop-overflow warning writing to std::vector::back()

2025-04-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102805 Jonathan Wakely changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug c++/119574] [15 regression] ICE on lambda in default template argument

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

[Bug tree-optimization/88443] [meta-bug] bogus/missing -Wstringop-overflow warnings

2025-04-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88443 Bug 88443 depends on bug 102805, which changed state. Bug 102805 Summary: at -O2, spurious stringop-overflow warning writing to std::vector::back() https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102805 What|Removed

[Bug c++/119563] [15 Regression] internal compiler error on large enough vector initialization

2025-04-01 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119563 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug tree-optimization/111499] [12/1/14/15 Regression] -Wstringop-overread warning in std::vector less operator< for __builtin_memcmp call

2025-04-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111499 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug bootstrap/119560] cc1 posix_spawnp compilation error with gcc 14.2.0 on Ubuntu 24.04

2025-04-01 Thread scott at smedleyfamily dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119560 --- Comment #3 from Scott Smedley --- H, I rebuilt from scratch to give you the full build.log but it worked this time! I build it a 3rd time and it worked too, so I can't reproduce the error. Sorry for the kerfuffle.

[Bug ada/119440] --enable-host-pie fails to link (stage1) gnatbind

2025-04-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119440 --- Comment #11 from GCC Commits --- The master branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:358f7a954584ccefeef41390852d002c60ec11c0 commit r15-9139-g358f7a954584ccefeef41390852d002c60ec11c0 Author: Eric Botcazou Date:

[Bug ada/119571] [15 Regression] ggc-none.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used w hen making a PIE object; recompile with -fPIE

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

[Bug middle-end/119482] slow compilation on ladybird interpreter

2025-04-01 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119482 --- Comment #9 from ak at gcc dot gnu.org --- For the ICE i'm not sure why i'm not seeing it. The input file should have had flatten enabled.

[Bug middle-end/119482] slow compilation on ladybird interpreter

2025-04-01 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119482 --- Comment #10 from Sam James --- (In reply to ak from comment #9) > For the ICE i'm not sure why i'm not seeing it. The input file should have > had flatten enabled. > gcc_checking_assert (to->calls_comdat_local); --enable-checking=rel

[Bug target/119308] Cobol ICE on "hello world" on POWER in rs6000_output_function_epilogue

2025-04-01 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119308 --- Comment #3 from Peter Bergner --- I've recreated it too. I'll have someone on my team have a look.

[Bug target/119308] Cobol ICE on "hello world" on POWER in rs6000_output_function_epilogue

2025-04-01 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119308 Peter Bergner changed: What|Removed |Added CC||doko at gcc dot gnu.org,

[Bug c/119582] ICE in gimplify_expr, at gimplify.cc:18708 with -fsanitize=pointer-subtract

2025-04-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119582 Andrew Pinski changed: What|Removed |Added Component|sanitizer |c --- Comment #2 from Andrew Pinski --

[Bug sanitizer/119582] New: ICE in gimplify_expr, at gimplify.cc:18708 with -fsanitize=pointer-subtract

2025-04-01 Thread cmbugz at sent dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119582 Bug ID: 119582 Summary: ICE in gimplify_expr, at gimplify.cc:18708 with -fsanitize=pointer-subtract Product: gcc Version: 14.2.1 Status: UNCONFIRMED Severity:

[Bug c++/119566] internal compiler error: in unify, at cp/pt.cc:25410

2025-04-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119566 --- Comment #5 from Andrew Pinski --- Created attachment 60955 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60955&action=edit Reduced testcase

[Bug c++/119566] internal compiler error: in unify, at cp/pt.cc:25410

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

[Bug bootstrap/119560] cc1 posix_spawnp compilation error with gcc 14.2.0 on Ubuntu 24.04

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

[Bug c++/119580] New: ICE: tree check: expected tree_vec, have error_mark in comp_template_args, at cp/pt.cc:9595

2025-04-01 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119580 Bug ID: 119580 Summary: ICE: tree check: expected tree_vec, have error_mark in comp_template_args, at cp/pt.cc:9595 Product: gcc Version: 15.0 Status: UNCONFIRMED

[Bug rtl-optimization/119583] New: -fomit-frame-pointer does not work as expected for -mavx

2025-04-01 Thread siddhesh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119583 Bug ID: 119583 Summary: -fomit-frame-pointer does not work as expected for -mavx Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Prio

[Bug target/119581] Failure to use vector vandn instruction on RISC-V

2025-04-01 Thread pan2.li at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119581 Li Pan changed: What|Removed |Added CC||pan2.li at intel dot com --- Comment #1 from L

[Bug target/119583] -fomit-frame-pointer does not work as expected for -mavx

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

[Bug c/118118] _Bool extension for C89 is undocumented

2025-04-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118118 --- Comment #2 from GCC Commits --- The master branch has been updated by Sandra Loosemore : https://gcc.gnu.org/g:4c708fa411fa708e7abc717b0880d6f708967a37 commit r15-9140-g4c708fa411fa708e7abc717b0880d6f708967a37 Author: Sandra Loosemore Dat

[Bug target/119581] New: Failure to use vector vandn instruction on RISC-V

2025-04-01 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119581 Bug ID: 119581 Summary: Failure to use vector vandn instruction on RISC-V Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug c/118118] _Bool extension for C89 is undocumented

2025-04-01 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118118 sandra at gcc dot gnu.org changed: What|Removed |Added CC||sandra at gcc dot gnu.org

[Bug c++/119580] [12/13/14/15 Regression] ICE: tree check: expected tree_vec, have error_mark in comp_template_args, at cp/pt.cc:9595

2025-04-01 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119580 Marek Polacek changed: What|Removed |Added Keywords||ice-on-valid-code Ever confirmed|0

[Bug c++/119387] [14/15 Regression] Regression in performance by a factor of 6 when building with debugging symbols since r14-5979

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

[Bug ada/119571] [15 Regression] ggc-none.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used w hen making a PIE object; recompile with -fPIE

2025-04-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119571 --- Comment #6 from GCC Commits --- The master branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:358f7a954584ccefeef41390852d002c60ec11c0 commit r15-9139-g358f7a954584ccefeef41390852d002c60ec11c0 Author: Eric Botcazou Date: W

[Bug sanitizer/119582] ICE in gimplify_expr, at gimplify.cc:18708 with -fsanitize=pointer-subtract

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

[Bug c++/118982] Documentation for constructor and init_priority should be referencing each other

2025-04-01 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118982 sandra at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug c++/118982] Documentation for constructor and init_priority should be referencing each other

2025-04-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118982 --- Comment #2 from GCC Commits --- The master branch has been updated by Sandra Loosemore : https://gcc.gnu.org/g:12533c0c8b27dcbb1b83517bf4eb09faa98bf814 commit r15-9142-g12533c0c8b27dcbb1b83517bf4eb09faa98bf814 Author: Sandra Loosemore Dat

[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-04-01 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119372 Sam James changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug target/119308] Cobol ICE on "hello world" on POWER in rs6000_output_function_epilogue

2025-04-01 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119308 --- Comment #6 from Peter Bergner --- (In reply to Peter Bergner from comment #5) > bergner@kubota:COBOL$ ./a.out > Hello, world! > Segmentation fault (core dumped) The return address at the beginning of main ends up not being the address we e

[Bug tree-optimization/115824] [12 Regression] Strange -Warray-bounds warning when assigning an initializer list to a vector of pointers

2025-04-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115824 Jonathan Wakely changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug fortran/119575] New: ICE parsing expression with overloaded operators

2025-04-01 Thread rnhmjoj at eurofusion dot eu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119575 Bug ID: 119575 Summary: ICE parsing expression with overloaded operators Product: gcc Version: 14.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Componen

[Bug c++/119574] New: [15 regression] ICE on lambda in default template argument

2025-04-01 Thread cmingyi01 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119574 Bug ID: 119574 Summary: [15 regression] ICE on lambda in default template argument Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Pr

[Bug c++/119574] [14/15 regression] ICE on lambda in default template argument

2025-04-01 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119574 Marek Polacek changed: What|Removed |Added CC||ppalka at gcc dot gnu.org Key

[Bug target/119573] New: nvptx: PTX '.const', constant state space

2025-04-01 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119573 Bug ID: 119573 Summary: nvptx: PTX '.const', constant state space Product: gcc Version: 15.0 URL: https://inbox.sourceware.org/87a590lv1b.fsf@dem-tschwi ng-1.schwinge

[Bug target/119572] [15 Regression] Recent change triggers regression on RISC-V vector test

2025-04-01 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119572 ktkachov at gcc dot gnu.org changed: What|Removed |Added CC||ktkachov at gcc dot gnu.org

[Bug tree-optimization/108860] [12/13 regression] New (since gcc 12) false positive null-dereference in vector.resize

2025-04-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108860 --- Comment #6 from Jonathan Wakely --- This fixes it for GCC 14, but I'm not sure why the compiler can't tell this isn't true already: --- a/libstdc++-v3/include/bits/vector.tcc +++ b/libstdc++-v3/include/bits/vector.tcc @@ -833,6 +833,9 @@ _G

[Bug c++/119564] ICE using module including boost headers

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

[Bug middle-end/119576] Please remove -Warray-bounds from -Wall

2025-04-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119576 --- Comment #9 from Andrew Pinski --- (In reply to Arthur O'Dwyer from comment #8) > The Linux kernel disables -Warray-bounds in GCC 9 and later (and > -Wstringop-overflow unconditionally). > https://github.com/openSUSE/kernel/blame/ > 5be5ecdaf

[Bug fortran/119540] [15 Regression] FAIL: gfortran.dg/reduce_1.f90 -O0 execution test

2025-04-01 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119540 --- Comment #5 from anlauf at gcc dot gnu.org --- (In reply to anlauf from comment #4) > (In reply to anlauf from comment #3) > > I might be missing to set some elem_len or span or ... > > Testcase: Running the program (compiled with: -Og -g -f

[Bug c++/119584] New: [14/15 Regression] flatten attribute calling a function with concept requires an ICE during inlining at -O2

2025-04-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119584 Bug ID: 119584 Summary: [14/15 Regression] flatten attribute calling a function with concept requires an ICE during inlining at -O2 Product: gcc Version: 15.0

[Bug c++/119584] [14/15 Regression] flatten attribute calling a function with concept requires an ICE during inlining at -O2

2025-04-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119584 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |14.3 Keywords|

[Bug middle-end/119482] slow compilation on ladybird interpreter

2025-04-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119482 Bug 119482 depends on bug 119584, which changed state. Bug 119584 Summary: [14/15 Regression] flatten attribute calling a function with concept requires an ICE during inlining at -O2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119584

[Bug ipa/103819] [12/13/14/15 Regression] ICE in redirect_callee, at cgraph.c:1389 with __attribute__((flatten)) and -O2 since r11-7940-ge7fd3b783238d034

2025-04-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103819 Andrew Pinski changed: What|Removed |Added CC||pinskia at gcc dot gnu.org --- Comment

[Bug target/119581] Failure to use vector vandn instruction on RISC-V

2025-04-01 Thread pan2.li at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119581 --- Comment #3 from Li Pan --- (In reply to Jeffrey A. Law from comment #2) > Thanks Pan. I've got an intern working in this space, and this may be a > good exercise for them. So definitely reach out before you dive in to see > if she's gotten

[Bug c++/119584] [14/15 Regression] flatten attribute calling a function with concept requires an ICE during inlining at -O2

2025-04-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119584 --- Comment #1 from Andrew Pinski --- The concept causes the function to be in the comdat of the base function rather than just the function itself. That is: Same comdat group as: _Z1dIPiEvT_/7 References: Referring: _Z1dIPiEvT_/7 (ali

[Bug target/119308] Cobol ICE on "hello world" on POWER in rs6000_output_function_epilogue

2025-04-01 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119308 --- Comment #5 from Peter Bergner --- So some AIX documentation specifies a language tag value (7) for Cobol in the traceback table: https://www.ibm.com/docs/en/aix/7.1?topic=ops-tbtag-pseudo-op ...so this fixes the ICE: diff --git a/gcc/co

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

2025-04-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 119584, which changed state. Bug 119584 Summary: [14/15 Regression] flatten attribute calling a function with concept requires an ICE during inlining at -O2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119584

[Bug c++/119584] [14/15 Regression] flatten attribute calling a function with concept requires an ICE during inlining at -O2

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

[Bug target/119583] -fomit-frame-pointer does not work as expected for -mavx

2025-04-01 Thread siddhesh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119583 Siddhesh Poyarekar changed: What|Removed |Added Target|X86_64 |x86-64 --- Comment #1 from Siddhes

[Bug middle-end/119482] slow compilation on ladybird interpreter

2025-04-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119482 --- Comment #11 from GCC Commits --- The trunk branch has been updated by Andi Kleen : https://gcc.gnu.org/g:063fbd5a10d47d4957d605ca917480d02e054249 commit r15-9143-g063fbd5a10d47d4957d605ca917480d02e054249 Author: Andi Kleen Date: Tue Apr

[Bug target/119581] Failure to use vector vandn instruction on RISC-V

2025-04-01 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119581 --- Comment #2 from Jeffrey A. Law --- Thanks Pan. I've got an intern working in this space, and this may be a good exercise for them. So definitely reach out before you dive in to see if she's gotten to this issue yet.

[Bug ipa/103819] [12/13/14/15 Regression] ICE in redirect_callee, at cgraph.c:1389 with __attribute__((flatten)), comdat and aliases and -O2 since r11-7940-ge7fd3b783238d034

2025-04-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103819 --- Comment #12 from Andrew Pinski --- So what is happening is we have an alias for the comdat function that will cause the ICE and also at the same time we remove calls to another comdat function because we prove it is not called and then we ca

[Bug c/119585] New: counted_by in redefined structs.

2025-04-01 Thread uecker at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119585 Bug ID: 119585 Summary: counted_by in redefined structs. Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Ass

[Bug middle-end/114563] ggc_internal_alloc is slow

2025-04-01 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114563 --- Comment #15 from rguenther at suse dot de --- On Tue, 1 Apr 2025, ak at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114563 > > ak at gcc dot gnu.org changed: > >What|Removed |A

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

2025-04-01 Thread chenglulu at loongson dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119408 --- Comment #13 from chenglulu --- There is a problem now. When gcc supports both _Float128 and Q suffixes, the libquadmath library will be automatically linked when the fortran program is compiled using gfortran compiled with this version of gc

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

2025-04-01 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119408 --- Comment #14 from Xi Ruoyao --- (In reply to chenglulu from comment #13) > There is a problem now. When gcc supports both _Float128 and Q suffixes, the > libquadmath library will be automatically linked when the fortran program is > compiled

[Bug c/119585] counted_by in redefined structs.

2025-04-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119585 Richard Biener changed: What|Removed |Added Severity|normal |enhancement

[Bug c++/119564] ICE using module including boost headers

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

[Bug c++/119563] [15 Regression] internal compiler error on large enough vector initialization

2025-04-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119563 --- Comment #4 from Andrew Pinski --- Wait I think there is a typo: diff --git a/gcc/cp/call.cc b/gcc/cp/call.cc index c1c8987ec8b..58774ded3d5 100644 --- a/gcc/cp/call.cc +++ b/gcc/cp/call.cc @@ -917,7 +917,7 @@ build_list_conv (tree type, tree

[Bug c++/119563] [15 Regression] internal compiler error on large enough vector initialization

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

[Bug target/119549] [14/ Regression] SSE4 code inlined into no-sse4 function

2025-04-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119549 Richard Biener changed: What|Removed |Added Summary|[14/15 Regression] SSE4 |[14/ Regression] SSE4 code

[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-04-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119372 --- Comment #3 from GCC Commits --- The releases/gcc-12 branch has been updated by Alfie Richards : https://gcc.gnu.org/g:0c66b2f14b5d4cd46388d79b4a73a77433e1dd22 commit r12-11010-g0c66b2f14b5d4cd46388d79b4a73a77433e1dd22 Author: Andrew Carlot

[Bug middle-end/119559] [15 regression] GOMP: ICE in modify_call_for_omp_dispatch

2025-04-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119559 --- Comment #2 from GCC Commits --- The master branch has been updated by Tobias Burnus : https://gcc.gnu.org/g:de92ac6f11e605987421fe1443b5b81ff172dbb6 commit r15-9120-gde92ac6f11e605987421fe1443b5b81ff172dbb6 Author: Tobias Burnus Date: T

[Bug c++/119567] "unknown operator" in pointer subtraction diagnostic

2025-04-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119567 Andrew Pinski changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug target/119549] [14/15 Regression] SSE4 code inlined into no-sse4 function

2025-04-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119549 --- Comment #4 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:ae2912748b9913fe9cd198db1b3fa704d0cbc728 commit r15-9121-gae2912748b9913fe9cd198db1b3fa704d0cbc728 Author: Richard Biener Date:

[Bug c++/119564] ICE using module including boost headers

2025-04-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119564 --- Comment #3 from Andrew Pinski --- (In reply to Cameron Angus from comment #2) > Yeah I realized afterwards there was a limit so I guess that is why. > Unfortunately even compressed it's a little over 1MB. Can I link to external > hosting?

[Bug libstdc++/118699] [MinGW] std::filesystem::copy doesn't work when the second argument is a directory and the first one is a file

2025-04-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118699 --- Comment #6 from GCC Commits --- The releases/gcc-14 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:5eb93522a661481caa53d4d1a716888b5b11f4da commit r14-11491-g5eb93522a661481caa53d4d1a716888b5b11f4da Author: Jonathan Wak

[Bug ipa/116572] [14/15 Regression] Using a std::string passed to a virtual member function of a side-casted pointer spuriously ICEs (wrong code with checking disable)

2025-04-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116572 --- Comment #8 from GCC Commits --- The releases/gcc-14 branch has been updated by Martin Jambor : https://gcc.gnu.org/g:5312a8f62a6bcae36f6aa40f88c8b58dfae7db21 commit r14-11495-g5312a8f62a6bcae36f6aa40f88c8b58dfae7db21 Author: Martin Jambor

[Bug tree-optimization/119534] [12/13/14/15 regression] ICE when building libaom-3.10.0 since r12-5392

2025-04-01 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119534 --- Comment #10 from Jakub Jelinek --- Though wonder if for the boolean vectors one couldn't actually emit different code altogether. If the whole vec_offset is all falses or all trues, we could just broadcast the same memory, otherwise load bo

[Bug c/119568] New: [avr] ICE: in find_widening_optab_handler_and_mode, at optabs-query.cc:498

2025-04-01 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119568 Bug ID: 119568 Summary: [avr] ICE: in find_widening_optab_handler_and_mode, at optabs-query.cc:498 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: nor

[Bug c++/119561] GCC hasn't completely forbidden user-declared specializations of std::initializer_list

2025-04-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119561 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug rtl-optimization/119554] [risc-v][bug] Unusual Behavior Observed with RISC-V Vector Extension (RVV)

2025-04-01 Thread pan2.li at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119554 Li Pan changed: What|Removed |Added CC||jeffreyalaw at gmail dot com,

[Bug c++/119564] ICE using module including boost headers

2025-04-01 Thread cjangus at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119564 --- Comment #4 from Cameron Angus --- Okay this is rather annoying, this reduced repro no longer crashes on a more recent build, but my original code still does, so the underlying bug is still there. I was told by a contributor that the bug app

[Bug c++/119567] New: "unknown operator" in pointer subtraction diagnostic

2025-04-01 Thread tbaeder at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119567 Bug ID: 119567 Summary: "unknown operator" in pointer subtraction diagnostic Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug c++/119563] [15 Regression] internal compiler error on large enough vector initialization

2025-04-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119563 --- Comment #1 from Andrew Pinski --- Created attachment 60946 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60946&action=edit Semi reduced

[Bug target/119547] RISC-V: VSETVL mistakenly modified other data

2025-04-01 Thread zhijin.zeng at spacemit dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119547 --- Comment #8 from 曾治金 --- This is my temporary patch and may be it's incorrect. Perhaps I am unable to solve this issue, but I would like to offer this patch as a reference. >From 2068f7493da45d67699de587224510659fe776a7 Mon Sep 17 00:00:00

[Bug c++/119563] [15 Regression] internal compiler error on large enough vector initialization

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

[Bug target/119565] New: 13-17% regression of botan CAS128 and DES on zen4

2025-04-01 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119565 Bug ID: 119565 Summary: 13-17% regression of botan CAS128 and DES on zen4 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug c++/119563] [15 Regression] internal compiler error on large enough vector initialization

2025-04-01 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119563 --- Comment #6 from Jakub Jelinek --- Created attachment 60950 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60950&action=edit gcc15-pr119563.patch Untested full patch. Whether it ICEs or not depends on what actually is beyond the alloca

[Bug ipa/116572] [14/15 Regression] Using a std::string passed to a virtual member function of a side-casted pointer spuriously ICEs (wrong code with checking disable)

2025-04-01 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116572 Martin Jambor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/117983] [12/13/14 Regression] -Wstringop-overflow false positive for __builtin_memmove from vector::insert

2025-04-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117983 Jonathan Wakely changed: What|Removed |Added Known to fail||13.1.0, 14.1.0 Target Milestone|13.

[Bug middle-end/114563] ggc_internal_alloc is slow

2025-04-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114563 --- Comment #11 from Richard Biener --- (In reply to Andi Kleen from comment #10) > It doesn't really help for the PR119387 test case, perhaps not surprising > because it optimizes freeing not allocation: > > Summary > ./gcc/cc1plus-opt -w -s

[Bug driver/119576] New: Please remove -Warray-bounds from -Wall

2025-04-01 Thread arthur.j.odwyer at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119576 Bug ID: 119576 Summary: Please remove -Warray-bounds from -Wall Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: drive

[Bug middle-end/119576] Please remove -Warray-bounds from -Wall

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

[Bug c++/119567] "unknown operator" in pointer subtraction diagnostic

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

<    1   2   3   >