[Bug middle-end/110282] Segmentation fault with specific optimizations

2025-04-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110282 --- Comment #13 from Sam James --- No problem -- you may want to do -Werror=return-type -Werror=uninitialized -Werror=sequence-point as well to reduce the chance of reducing to something bogus. (-Werror=return-type would catch that issue I menti

[Bug c++/119829] New: Internal Compiler Error with braced initialization and designated initializers

2025-04-15 Thread amir.ahmed.ansari at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119829 Bug ID: 119829 Summary: Internal Compiler Error with braced initialization and designated initializers Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severit

[Bug sanitizer/119801] [15 Regression] Rejects-valid with musttail attribute and -fsanitize=thread

2025-04-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119801 --- Comment #3 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:07565115371ea5cdf9e6d75ea3777540d1d31bda commit r15-9481-g07565115371ea5cdf9e6d75ea3777540d1d31bda Author: Jakub Jelinek Date: T

[Bug sanitizer/119801] [15 Regression] Rejects-valid with musttail attribute and -fsanitize=thread

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

[Bug middle-end/119808] wrong code with _BitInt() and -ftree-coalesce-vars -fstack-protector-strong

2025-04-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119808 --- Comment #2 from Jakub Jelinek --- The bug is in bitint.4 ={v} {CLOBBER(eos)}; That shouldn't have been emitted after bitint.4 to bitint.4 copy for the b.0_6 = b_5; copy. I guess for -O1 we should just omit any code for the copy when bot

[Bug d/119817] d: internal compiler error: in dwarf2out_imported_module_or_decl, at dwarf2out.cc:27676

2025-04-15 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119817 Iain Buclaw changed: What|Removed |Added Last reconfirmed||2025-04-15 Status|UNCONFIRMED

[Bug rtl-optimization/119815] [14/15 regression] wrong code at -O{1,2,3} since r14-2709

2025-04-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119815 --- Comment #3 from Richard Biener --- looks like another trigger for the latent SCEV issues

[Bug d/119817] d: internal compiler error: in dwarf2out_imported_module_or_decl, at dwarf2out.cc:27676

2025-04-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119817 --- Comment #2 from GCC Commits --- The master branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:f5ed7d19c965de9ccb158d77e929b17459bf65b5 commit r15-9483-gf5ed7d19c965de9ccb158d77e929b17459bf65b5 Author: Iain Buclaw Date: Tue A

[Bug c++/112288] [12/13 Regression] ICE - internal compiler error: in instantiate_decl, at cp/pt.cc:26861 since r6-6830-g20a0c6f9bdbd78

2025-04-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112288 --- Comment #16 from GCC Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:369461d0749790f1291f76096064d583d2547934 commit r15-9484-g369461d0749790f1291f76096064d583d2547934 Author: Patrick Palka Date:

[Bug c++/119807] [14/15 Regression] constexpr counter thing causes checking ICE: in instantiate_decl, at cp/pt.cc:27844 since r15-2120

2025-04-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119807 --- Comment #7 from GCC Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:369461d0749790f1291f76096064d583d2547934 commit r15-9484-g369461d0749790f1291f76096064d583d2547934 Author: Patrick Palka Date: T

[Bug c++/119807] [14 Regression] constexpr counter thing causes checking ICE: in instantiate_decl, at cp/pt.cc:27844 since r15-2120

2025-04-15 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119807 Patrick Palka changed: What|Removed |Added Known to work||15.0 Summary|[14/15 Regressi

[Bug middle-end/119808] wrong code with _BitInt() and -ftree-coalesce-vars -fstack-protector-strong

2025-04-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119808 --- Comment #3 from Jakub Jelinek --- The clobber is emitted when processing b.1_1 = (unsigned _BitInt(129)) b.0_6; and the rules covering it are if (m_first && m_single_use_names && m_vars[p] != m_lhs && m_af

[Bug libstdc++/119754] std::uninitialized_value_construct does not begin lifetime of trivial types

2025-04-15 Thread tkaminsk at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119754 Tomasz Kamiński changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug target/119628] Need better mechanisms to manage register saves in callee for tail calls (inc. preserve_none for x86_64?)

2025-04-15 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119628 --- Comment #11 from H.J. Lu --- (In reply to Ken Jin from comment #9) > I tried this out with CPython's interpreter that uses tail calls with the > patch at > https://gitlab.com/x86-gcc/gcc/-/tree/users/hjl/saved/master?ref_type=heads > applied

[Bug ipa/119803] [15 regression] ICE on valid code at -O{2,3} on x86_64-linux-gnu: in verify_mask, at value-range.cc:2484 since r15-9427

2025-04-15 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119803 --- Comment #9 from Martin Jambor --- I have posted a patch with the change proposed by Jakub to the mailing list: https://inbox.sourceware.org/gcc-patches/ri67c3lbm7q@virgil.suse.cz/T/#u

[Bug c++/119814] requires-clauses think void can be passed to ...

2025-04-15 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119814 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org --- Comment #

[Bug libstdc++/119754] std::uninitialized_value_construct does not begin lifetime of trivial types

2025-04-15 Thread tkaminsk at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119754 --- Comment #3 from Tomasz Kamiński --- Except that `::operator new` does not perform implicit object creation at compile time per https://eel.is/c++draft/intro.object#14: > Except during constant evaluation, any implicit or explicit invocation

[Bug d/119799] d: internal compiler error: in visit, at d/decl.cc:838

2025-04-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119799 --- Comment #1 from GCC Commits --- The master branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:074b2b0f91f948fe3488ada91ec6a8576c684dea commit r15-9485-g074b2b0f91f948fe3488ada91ec6a8576c684dea Author: Iain Buclaw Date: Tue A

[Bug ipa/119803] [15 regression] ICE on valid code at -O{2,3} on x86_64-linux-gnu: in verify_mask, at value-range.cc:2484 since r15-9427

2025-04-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119803 --- Comment #8 from Jakub Jelinek --- So full patch would be --- gcc/ipa-cp.cc.jj2025-04-15 14:56:26.861419422 +0200 +++ gcc/ipa-cp.cc 2025-04-15 15:10:05.270414498 +0200 @@ -933,13 +933,13 @@ ipcp_bits_lattice::meet_with_1 (widest_i

[Bug testsuite/119818] New: FAIL: cobol.dg/group2/FUNCTION_DATE___TIME_OMNIBUS.cob -O0 execution test

2025-04-15 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119818 Bug ID: 119818 Summary: FAIL: cobol.dg/group2/FUNCTION_DATE___TIME_OMNIBUS.cob -O0 execution test Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: n

[Bug ipa/119803] [15 regression] ICE on valid code at -O{2,3} on x86_64-linux-gnu: in verify_mask, at value-range.cc:2484 since r15-9427

2025-04-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119803 --- Comment #10 from GCC Commits --- The master branch has been updated by Martin Jambor : https://gcc.gnu.org/g:b4cf69503bcb32491dbd7ab63fe7f0f9fcdcca38 commit r15-9486-gb4cf69503bcb32491dbd7ab63fe7f0f9fcdcca38 Author: Martin Jambor Date:

[Bug tree-optimization/119614] [15 regression] protobuf-29.4 fails to build with -O2 (error: cannot tail-call: call and return value are different)

2025-04-15 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119614 --- Comment #33 from Martin Jambor --- The patch from comment #32 passes LTO-bootstrap and profiled-LTO-bootstrap on x86_64-linux. I have asked Honza to look at it and comment, especially on the decision to put the return VR into clone_info des

[Bug c++/99214] Incorrect template arguments shown in constraint satisfaction failure diagnostic

2025-04-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99214 --- Comment #4 from GCC Commits --- The releases/gcc-14 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:3dc43f7f4394f8705090232e3506e1e94f484877 commit r14-11616-g3dc43f7f4394f8705090232e3506e1e94f484877 Author: Patrick Palka

[Bug ipa/119803] [15 regression] ICE on valid code at -O{2,3} on x86_64-linux-gnu: in verify_mask, at value-range.cc:2484 since r15-9427

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

[Bug c++/119819] New: ICE on unexpanded template parameter pack

2025-04-15 Thread eczbek.void at gmail dot com via Gcc-bugs
specs. COLLECT_GCC=/opt/compiler-explorer/gcc-snapshot/bin/g++ Target: x86_64-linux-gnu Configured with: ../gcc-trunk-20250415/configure --prefix=/opt/compiler-explorer/gcc-build/staging --enable-libstdcxx-backtrace=yes --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --d

[Bug ipa/119318] [15 Regression] wrong code with vector arithmetics at -O2 since r15-6294-g96fb71883d438b

2025-04-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119318 --- Comment #15 from GCC Commits --- The master branch has been updated by Martin Jambor : https://gcc.gnu.org/g:b4cf69503bcb32491dbd7ab63fe7f0f9fcdcca38 commit r15-9486-gb4cf69503bcb32491dbd7ab63fe7f0f9fcdcca38 Author: Martin Jambor Date:

[Bug cobol/119809] FE internal_error internal compiler error: in digits_from_float128, at cobol/genapi.cc:15293 (bit data items)

2025-04-15 Thread rdubner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119809 Robert Dubner changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug cobol/119809] FE internal_error internal compiler error: in digits_from_float128, at cobol/genapi.cc:15293 (bit data items)

2025-04-15 Thread rdubner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119809 Robert Dubner changed: What|Removed |Added Assignee|rdubner at gcc dot gnu.org |jklowden at gcc dot gnu.org ---

[Bug ada/81087] array index out of range in gnatlink, making test always false

2025-04-15 Thread nicolas at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81087 Nicolas Boulenguez changed: What|Removed |Added Attachment #58152|0 |1 is obsolete|

[Bug c++/118809] Excessive memory usage with global std::vector> in C++20 mode

2025-04-15 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118809 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org Resolu

[Bug c++/113835] [13/14/15 Regression] compiling std::vector with const size in C++20 is slow

2025-04-15 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113835 Jason Merrill changed: What|Removed |Added CC||daklishch at gmail dot com --- Comment

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

2025-04-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119547 --- Comment #17 from GCC Commits --- The master branch has been updated by Robin Dapp : https://gcc.gnu.org/g:517f7e3f02b4c945d2b4bdabb490961cf986391e commit r15-9491-g517f7e3f02b4c945d2b4bdabb490961cf986391e Author: Robin Dapp Date: Fri Ap

[Bug libstdc++/109162] C++23 improvements to std::format

2025-04-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109162 --- Comment #11 from GCC Commits --- The master branch has been updated by Tomasz Kaminski : https://gcc.gnu.org/g:f62e5d720de829cf346b799f3463fee53728ba6c commit r15-9490-gf62e5d720de829cf346b799f3463fee53728ba6c Author: Tomasz KamiÅski Date

[Bug modula2/119751] There's a need to tidy up m2 subdirectories' contents

2025-04-15 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119751 --- Comment #16 from Gaius Mulley --- RE: ASM examples probably easier to continue this thread over at PR modula2/119779

[Bug testsuite/108150] gcc.dg/attr-aligned.c fails with incorrect max alignment

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

[Bug middle-end/110282] Segmentation fault with specific optimizations

2025-04-15 Thread mcccs at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110282 --- Comment #10 from mcccs at gmx dot com --- Bad commit: https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=ff6686d2e5f797d6c6a36ad14a7084bc1dc350e4 Minimal testcase: int a[]; short b, c; long d; __attribute__((noipa)) long(e)() {} static int f(in

[Bug tree-optimization/119614] [15 regression] protobuf-29.4 fails to build with -O2 (error: cannot tail-call: call and return value are different)

2025-04-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119614 --- Comment #40 from Sam James --- Created attachment 61131 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61131&action=edit p.ii.xz Reduction is pretty slow, but: ``` $ g++ p.ii -w -flto=auto -O3 -shared p.ii: In function ‘MpRepeatedStri

[Bug c/119828] New: RISC-V gcc rv64gc fails to optimize away stack frame

2025-04-15 Thread konstantin.vladimirov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119828 Bug ID: 119828 Summary: RISC-V gcc rv64gc fails to optimize away stack frame Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Comp

[Bug middle-end/119828] RISC-V gcc rv64gc fails to optimize away stack frame

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

[Bug middle-end/108016] RISC-V:Bad codegen in scalar code comparing to LLVM

2025-04-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108016 Andrew Pinski changed: What|Removed |Added CC||konstantin.vladimirov@gmail

[Bug middle-end/119828] RISC-V gcc rv64gc fails to optimize away stack frame

2025-04-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119828 Andrew Pinski changed: What|Removed |Added Component|c |middle-end --- Comment #1 from Andrew P

[Bug target/118182] RISC-V: Miscompile for 410.bwaves, 416.gamess and 465.tonto from spec2006

2025-04-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118182 --- Comment #10 from GCC Commits --- The releases/gcc-14 branch has been updated by Alexandre Oliva : https://gcc.gnu.org/g:b7b1aeea684a8191d1503b4022cea8d0d218ca65 commit r14-11619-gb7b1aeea684a8191d1503b4022cea8d0d218ca65 Author: Alexandre O

[Bug target/118601] [15] RISC-V: unrecognizable insn ICE in xtheadvector/pr114194.c on 32bit targets

2025-04-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118601 --- Comment #4 from GCC Commits --- The releases/gcc-14 branch has been updated by Alexandre Oliva : https://gcc.gnu.org/g:56b3858b6a1118d2e27e3047d5ee52faec7aac83 commit r14-11620-g56b3858b6a1118d2e27e3047d5ee52faec7aac83 Author: Alexandre Ol

[Bug cobol/119825] gcobol XML generate forces bug report

2025-04-15 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119825 --- Comment #2 from Simon Sobisch --- looks like the error comes from name resolution and is also reproducible with a much more simple Program-id. NofBug. Data division. Working-storage section. 01 billTo.

[Bug cobol/119825] gcobol XML generate forces bug report

2025-04-15 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119825 Simon Sobisch changed: What|Removed |Added CC||jklowden at gcc dot gnu.org --- Comment

[Bug tree-optimization/116125] [12/13/14 Regression] Does not fully checking for overlapping memory regions with the vectorizer

2025-04-15 Thread kito at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116125 --- Comment #10 from Kito Cheng --- ping, does it possible to back port to release branches? it seems land on trunk for a while :)

[Bug tree-optimization/116093] wrong code with -Og -ftree-vrp -fno-tree-dce

2025-04-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116093 Jakub Jelinek changed: What|Removed |Added Keywords|needs-bisection | Resolution|---

[Bug tree-optimization/119722] wrong code with _BitInt(), __builtin_stdc_rotate_left() at -O2 -fno-tree-forwprop -fno-tree-copy-prop -fno-tree-fre

2025-04-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119722 --- Comment #5 from Jakub Jelinek --- *** Bug 116093 has been marked as a duplicate of this bug. ***

[Bug middle-end/110282] Segmentation fault with specific optimizations

2025-04-15 Thread mcccs at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110282 --- Comment #12 from mcccs at gmx dot com --- Thanks Sam, I'm restarting reduction this time checking if it compiles with trunk GCC as well

[Bug middle-end/110282] Segmentation fault with specific optimizations

2025-04-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110282 --- Comment #11 from Sam James --- (In reply to mcccs from comment #10) Using the return value of e() when it didn't return anything is undefined.

[Bug tree-optimization/116093] wrong code with -Og -ftree-vrp -fno-tree-dce

2025-04-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116093 --- Comment #4 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:45a708d7bf8369930f4f770bbb7047941727ba41 commit r15-9513-g45a708d7bf8369930f4f770bbb7047941727ba41 Author: Jakub Jelinek Date: W

[Bug libstdc++/119822] New: Linker failure with std::stacktrace

2025-04-15 Thread terra at gnome dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119822 Bug ID: 119822 Summary: Linker failure with std::stacktrace Product: gcc Version: 14.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++

[Bug tree-optimization/119614] [15 regression] protobuf-29.4 fails to build with -O2 (error: cannot tail-call: call and return value are different)

2025-04-15 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119614 --- Comment #36 from Jan Hubicka --- Created attachment 61127 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61127&action=edit patch (untested)

[Bug c++/119824] New: initialization of a static member variable with type auto or decltype(auto) is not accepted

2025-04-15 Thread heiko at hexco dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119824 Bug ID: 119824 Summary: initialization of a static member variable with type auto or decltype(auto) is not accepted Product: gcc Version: 15.0 Status: UNCONFIRMED

[Bug tree-optimization/119614] [15 regression] protobuf-29.4 fails to build with -O2 (error: cannot tail-call: call and return value are different)

2025-04-15 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119614 --- Comment #37 from Jan Hubicka --- Created attachment 61128 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61128&action=edit updated patch (regtests and bootstraps) Updated patch. Streaming summaries seems to work and fixes the testcase

[Bug cobol/119825] New: gcobol XML generate forces bug report

2025-04-15 Thread mickey1956 at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119825 Bug ID: 119825 Summary: gcobol XML generate forces bug report Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: cobol

[Bug cobol/119302] cobol.3 manpage is installed without program_transform_name

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

[Bug cobol/119211] [15 Regression] Cobol GCC 15 release checklist

2025-04-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119211 Bug 119211 depends on bug 119302, which changed state. Bug 119302 Summary: cobol.3 manpage is installed without program_transform_name https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119302 What|Removed |Added ---

[Bug cobol/119302] cobol.3 manpage is installed without program_transform_name

2025-04-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119302 --- Comment #4 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:248e228fecdfb68833481eff8c3c0c7aa9703a8d commit r15-9497-g248e228fecdfb68833481eff8c3c0c7aa9703a8d Author: Richard Biener Date:

[Bug libstdc++/119822] Linker failure with std::stacktrace

2025-04-15 Thread terra at gnome dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119822 --- Comment #3 from M Welinder --- Thanks. Confirmed working.

[Bug c++/111075] [13/14/15 Regression] ICE on g++.dg/torture/tail-padding1.C on darwin since r13-6145-gb2287a4d9a640fdc2caef6a067830ea65044deb7

2025-04-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111075 --- Comment #13 from GCC Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:628aecb050bbbc4bb0bd4468c474623e20d64e21 commit r15-9501-g628aecb050bbbc4bb0bd4468c474623e20d64e21 Author: Jason Merrill Date: T

[Bug tree-optimization/71094] Documentation: -fivopts is enabled at -O1+, -Os and -Ofast

2025-04-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71094 --- Comment #4 from GCC Commits --- The master branch has been updated by Sandra Loosemore : https://gcc.gnu.org/g:d91aab4dd6814ca54c211a93fec3f072745a52c4 commit r15-9502-gd91aab4dd6814ca54c211a93fec3f072745a52c4 Author: Sandra Loosemore Date

[Bug target/119784] -mapxf saves registers beyond red zone

2025-04-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119784 --- Comment #3 from GCC Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:5ed2fa4768f3d318b8ace5bd4a095596e06fad7b commit r15-9503-g5ed2fa4768f3d318b8ace5bd4a095596e06fad7b Author: H.J. Lu Date: Mon Apr 14 15

[Bug c++/119824] initialization of a static member variable with type auto or decltype(auto) is not accepted

2025-04-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119824 --- Comment #1 from Andrew Pinski --- Even simplier is rejected: ``` extern unsigned t; auto t = 1u; ```

[Bug c++/119824] initialization of a static member variable with type auto or decltype(auto) is not accepted

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

[Bug c++/78217] Duplicate decls handling with auto

2025-04-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78217 Andrew Pinski changed: What|Removed |Added CC||heiko at hexco dot de --- Comment #6 fro

[Bug middle-end/113546] [13 Regression] aarch64: bootstrap-debug-lean broken with -fcompare-debug failure since r13-2921-gf1adf45b17f7f1

2025-04-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113546 Andrew Pinski changed: What|Removed |Added Known to work||14.2.1 Summary|[13/14 Regres

[Bug c++/79009] Missing 'inconsistent deduction for ‘auto’' error when having a dependent initializer and a nondependent one in the same declaration

2025-04-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79009 Andrew Pinski changed: What|Removed |Added Alias||cwg1347 Blocks|

[Bug target/116827] New C++ failures in macOS 15

2025-04-15 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116827 --- Comment #10 from Iain Sandoe --- fixed on trunk, backports to follow.

[Bug target/116827] New C++ failures in macOS 15

2025-04-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116827 --- Comment #9 from GCC Commits --- The master branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:9cf6b52d04df22726d88eef113211b3cc08515de commit r15-9499-g9cf6b52d04df22726d88eef113211b3cc08515de Author: Iain Sandoe Date: Sun

[Bug fortran/106948] pure subroutine with pure procedure as dummy

2025-04-15 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106948 anlauf at gcc dot gnu.org changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |anlauf at gcc dot gnu

[Bug libstdc++/119822] Linker failure with std::stacktrace

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

[Bug tree-optimization/71094] Documentation: -fivopts is enabled at -O1+, -Os and -Ofast

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

[Bug c++/111075] [13/14/15 Regression] ICE on g++.dg/torture/tail-padding1.C on darwin since r13-6145-gb2287a4d9a640fdc2caef6a067830ea65044deb7

2025-04-15 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111075 --- Comment #12 from Iain Sandoe --- (In reply to Jason Merrill from comment #11) > Created attachment 61123 [details] > fix > > This seems like an appropriate fix, can someone test it on an affected > target? A spot-check on x86_64 darwin21 s

[Bug libstdc++/119822] Linker failure with std::stacktrace

2025-04-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119822 --- Comment #2 from Andrew Pinski --- Sorry it is documented here: https://gcc.gnu.org/onlinedocs/gcc-14.2.0/libstdc++/manual/manual/using.html#manual.intro.using.flags

[Bug driver/119823] New: -Q --help=optimizers output is misleading for -O0 + inconsistent docs in the manual

2025-04-15 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119823 Bug ID: 119823 Summary: -Q --help=optimizers output is misleading for -O0 + inconsistent docs in the manual Product: gcc Version: 15.0 Status: UNCONFIRMED Keyw

[Bug tree-optimization/71094] Documentation: -fivopts is enabled at -O1+, -Os and -Ofast

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

[Bug middle-end/119808] wrong code with _BitInt() and -ftree-coalesce-vars -fstack-protector-strong

2025-04-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119808 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug tree-optimization/71094] Documentation: -fivopts is enabled at -O1+, -Os and -Ofast

2025-04-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71094 Sam James changed: What|Removed |Added Target Milestone|--- |15.0

[Bug middle-end/113546] [13/14 Regression] aarch64: bootstrap-debug-lean broken with -fcompare-debug failure since r13-2921-gf1adf45b17f7f1

2025-04-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113546 --- Comment #15 from GCC Commits --- The releases/gcc-14 branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:5f6285f2918f1835ec7c35c37cbec8c10a091b57 commit r14-11617-g5f6285f2918f1835ec7c35c37cbec8c10a091b57 Author: Andrew Pinski

[Bug c/119717] ICE in gimplify_expr, at gimplify.cc:20339 due to counted_by attribute

2025-04-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119717 --- Comment #4 from GCC Commits --- The master branch has been updated by Qing Zhao : https://gcc.gnu.org/g:727f330f9ac661339af1121fc5c9b67dd0d35872 commit r15-9505-g727f330f9ac661339af1121fc5c9b67dd0d35872 Author: Qing Zhao Date: Mon Apr 1

[Bug c/119717] ICE in gimplify_expr, at gimplify.cc:20339 due to counted_by attribute

2025-04-15 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119717 qinzhao at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution

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

2025-04-15 Thread rdapp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119547 Robin Dapp changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/119533] RISC-V: libgo build failures (ICE) with Vector enabled

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

[Bug target/119298] [15 Regression] 538.imagick_r is faster when compiled with GCC 14.2 and -Ofast -flto -march=native than with master on Zen5 since r15-3441-g4292297a0f938f

2025-04-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119298 --- Comment #19 from GCC Commits --- The master branch has been updated by Jan Hubicka : https://gcc.gnu.org/g:e2011ab13de3e70774f869b356f5f9c750780b34 commit r15-9495-ge2011ab13de3e70774f869b356f5f9c750780b34 Author: Jan Hubicka Date: Tue

[Bug modula2/119779] ASM examples no longer work

2025-04-15 Thread zbigniew2011 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119779 Zbigniew changed: What|Removed |Added CC||zbigniew2011 at gmail dot com --- Comment #6

[Bug lto/119816] Lto regression in 15-20250413 (worked in 15-20250407)

2025-04-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119816 --- Comment #6 from Andrew Pinski --- The other thing is `-fuse-ld=gold`, the gold linker itself has been deprecated in binutils upstream. You could also try removing that too.

[Bug cobol/119821] New: FE (parser): CONFIGURATION SECTION rejects valid code - empty paragraphs

2025-04-15 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119821 Bug ID: 119821 Summary: FE (parser): CONFIGURATION SECTION rejects valid code - empty paragraphs Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: norma

[Bug libstdc++/119820] Formatting ranges make a subrange via ranges::subrange (__first, __first + __n)

2025-04-15 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119820 --- Comment #1 from 康桓瑋 --- An example I can think of could be: struct I { using difference_type = int; using value_type = char; value_type operator*() const; I& operator++(); I operator++(int); I& operator--(); I operator--(int);

[Bug tree-optimization/119614] [15 regression] protobuf-29.4 fails to build with -O2 (error: cannot tail-call: call and return value are different)

2025-04-15 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119614 --- Comment #34 from Jan Hubicka --- I there is only problem that ipa_return_value_sum value sum does not survive from compile time to WPA then we only need to add streaming code for it. This should be straightforward and there is no need to add

[Bug c++/111075] [13/14/15 Regression] ICE on g++.dg/torture/tail-padding1.C on darwin since r13-6145-gb2287a4d9a640fdc2caef6a067830ea65044deb7

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

[Bug c++/111075] [13/14/15 Regression] ICE on g++.dg/torture/tail-padding1.C on darwin since r13-6145-gb2287a4d9a640fdc2caef6a067830ea65044deb7

2025-04-15 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111075 Jason Merrill changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org

[Bug target/119628] Need better mechanisms to manage register saves in callee for tail calls (inc. preserve_none for x86_64?)

2025-04-15 Thread hjl.tools at gmail dot com via Gcc-bugs
.cfi_startproc subq$8, %rsp .cfi_def_cfa_offset 16 callboring addq$8, %rsp .cfi_def_cfa_offset 8 jmp continuation .cfi_endproc .LFE0: .size entry, .-entry .ident "GCC: (GNU) 15.0.1 20250415 (experimen

[Bug libstdc++/119820] New: Formatting ranges make a subrange via ranges::subrange (__first, __first + __n)

2025-04-15 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119820 Bug ID: 119820 Summary: Formatting ranges make a subrange via ranges::subrange (__first, __first + __n) Product: gcc Version: 15.0 Status: UNCONFIRMED Severity

[Bug target/119628] Need better mechanisms to manage register saves in callee for tail calls (inc. preserve_none for x86_64?)

2025-04-15 Thread kenjin4096 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119628 --- Comment #9 from Ken Jin --- I tried this out with CPython's interpreter that uses tail calls with the patch at https://gitlab.com/x86-gcc/gcc/-/tree/users/hjl/saved/master?ref_type=heads applied. I get a roughly 10% speedup on the pystones

[Bug cobol/119244] cobol/libgcobol should allow libquadmath to provide 128b floating support.

2025-04-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119244 Jakub Jelinek changed: What|Removed |Added Target Milestone|--- |15.0 Status|NEW

[Bug cobol/119296] cobol, libgcobol the library uses strfromf* which are C23 and not generally available outside GLIBC

2025-04-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119296 Bug 119296 depends on bug 119244, which changed state. Bug 119244 Summary: cobol/libgcobol should allow libquadmath to provide 128b floating support. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119244 What|Removed

[Bug cobol/119296] cobol, libgcobol the library uses strfromf* which are C23 and not generally available outside GLIBC

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

[Bug libstdc++/119813] std::is_invocable thinks void can be passed to ...

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

[Bug target/119628] Need better mechanisms to manage register saves in callee for tail calls (inc. preserve_none for x86_64?)

2025-04-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119628 --- Comment #10 from Andrew Pinski --- (In reply to Ken Jin from comment #9) > : >0: 55 pushq %rbp >1: 48 89 e5movq%rsp, %rbp >4: 48 89 f

  1   2   >