[Bug tree-optimization/121345] [16 Regression] obviously incorrect array-bounds warning since r16-577-gc40a4cc2d943d8

2025-07-31 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121345 Sam James changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug middle-end/117009] Wall should be in common.opt rather than the language specific .opt

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

[Bug middle-end/121322] [14/15/16 Regression] UBSAN error in find_bswap_or_nop (shift exponent 64 is too large for 64-bit type 'long unsigned int') since r14-1402

2025-07-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121322 --- Comment #6 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:d8fc7bce9cf722aa73782ba66a74646c8ae545cc commit r16-2701-gd8fc7bce9cf722aa73782ba66a74646c8ae545cc Author: Jakub Jelinek Date: F

[Bug cobol/119221] RFE: fix-it hints for cobol syntax errors

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

[Bug cobol/119336] cobol: missing copybooks break parser

2025-07-31 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119336 --- Comment #3 from Simon Sobisch --- Current output: t.cob:1:25: error: could not open copybook file for '"notthere"' 1 | COPY "notthere". | ^ t.cob:1:35: error: syntax error, unexpected '.', expecting

[Bug tree-optimization/121338] UBSAN error in ivopts (signed integer overflow: 9223372036854775805 + 26 cannot be represented in type 'long int')

2025-07-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121338 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug cobol/119337] cobol: gcobc wrapper should deduce output name

2025-07-31 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119337 Simon Sobisch changed: What|Removed |Added Resolution|--- |FIXED Status|REOPENED

[Bug cobol/120621] COBOL isn't built with STRICT_WARN

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

[Bug cobol/121346] New: FR for dialect mf: support $DISPLAY

2025-07-31 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121346 Bug ID: 121346 Summary: FR for dialect mf: support $DISPLAY Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: cobol

[Bug target/121334] riscv: ICE compiling 523.xalancbmk_r with -fno-vect-cost-model

2025-07-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121334 Richard Biener changed: What|Removed |Added Target||riscv --- Comment #2 from Richard Bien

[Bug target/118280] [14/15/16 Regression] __atomic_test_and_set in Microblaze are broken (exposed by r14-4286)

2025-07-31 Thread gopi at sankhya dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118280 --- Comment #28 from Gopi Kumar Bulusu --- (In reply to Neal Frager from comment #27) > (In reply to Gopi Kumar Bulusu from comment #26) > > Created attachment 61904 [details] > > Revised patch > > > > With this patch g++ compiler can be used t

[Bug middle-end/121159] musttail gives bogus volatile function error message

2025-07-31 Thread lukas.graetz--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121159 --- Comment #26 from Lukas Grätz --- (In reply to Eric Botcazou from comment #25) > > Also, it is important for debugging that code compiled with -O_ is also able > > to compile with -O0. > > Maybe, but honoring -fno-delayed-branch is more imp

[Bug tree-optimization/121345] [16 Regression] obvious incorrect array-bounds warning

2025-07-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121345 --- Comment #5 from Andrew Pinski --- Created attachment 62028 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62028&action=edit Reduced but not cleaned up

[Bug tree-optimization/121345] [16 Regression] obvious incorrect array-bounds warning

2025-07-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121345 --- Comment #4 from Andrew Pinski --- # RANGE [irange] int [-536870912, -8][1, 16] # lane_size_6 = PHI <1(2), lane_size_12(8)> # RANGE [irange] unsigned int [1, 5] # ivtmp_20 = PHI <5(2), ivtmp_21(8)> # RANGE [irange] unsigned int [0,

[Bug tree-optimization/121345] [16 Regression] obvious incorrect array-bounds warning

2025-07-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121345 --- Comment #3 from Andrew Pinski --- ` -fmath-errno -fno-exceptions -O3 -W -Wall`

[Bug tree-optimization/121345] [16 Regression] obvious incorrect array-bounds warning

2025-07-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121345 --- Comment #2 from Andrew Pinski --- Created attachment 62027 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62027&action=edit non-reduced testcase

[Bug tree-optimization/121345] [16 Regression] obvious incorrect array-bounds warning

2025-07-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121345 Andrew Pinski changed: What|Removed |Added Blocks||56456 Version|14.2.0

[Bug tree-optimization/121345] New: [16 Regression] obvious incorrect array-bounds warning

2025-07-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121345 Bug ID: 121345 Summary: [16 Regression] obvious incorrect array-bounds warning Product: gcc Version: 14.2.0 Status: UNCONFIRMED Keywords: needs-bisection, needs-reduction, needs-s

[Bug c++/103524] [meta-bug] modules issue

2025-07-31 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 120377, which changed state. Bug 120377 Summary: ICE with fmtlib and modules https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120377 What|Removed |Added ---

[Bug c++/120377] ICE with fmtlib and modules

2025-07-31 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120377 Nathaniel Shead changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug c++/121238] `-fmodules` causes invalid runtime exceptions with `std::format`

2025-07-31 Thread omerfaruko at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121238 --- Comment #14 from Omer Ozarslan --- Amazing, thank you Nathaniel!

[Bug c++/121238] `-fmodules` causes invalid runtime exceptions with `std::format`

2025-07-31 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121238 --- Comment #13 from Nathaniel Shead --- *** Bug 121254 has been marked as a duplicate of this bug. ***

[Bug c++/103524] [meta-bug] modules issue

2025-07-31 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 121254, which changed state. Bug 121254 Summary: [modules] Specialization for std::formatter in a module causes std::format to throw error during parse https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121254 Wha

[Bug c++/121254] [modules] Specialization for std::formatter in a module causes std::format to throw error during parse

2025-07-31 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121254 Nathaniel Shead changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIR

[Bug c++/121238] `-fmodules` causes invalid runtime exceptions with `std::format`

2025-07-31 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121238 Nathaniel Shead changed: What|Removed |Added Resolution|--- |FIXED Assignee|unassigned a

[Bug c++/120800] [14/15/16 Regression] internal compiler error when using partially initialized class with private constructor and friend

2025-07-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120800 --- Comment #4 from GCC Commits --- The releases/gcc-14 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:000138675af3e1ee587b0fa17709ea62590860cb commit r14-11928-g000138675af3e1ee587b0fa17709ea62590860cb Author: Jason Merrill

[Bug c++/103524] [meta-bug] modules issue

2025-07-31 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 121238, which changed state. Bug 121238 Summary: `-fmodules` causes invalid runtime exceptions with `std::format` https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121238 What|Removed |Add

[Bug c++/108080] ICE: in module.cc:core_vals with -fmodule-header and #pragma GCC target / optimize (shows up in fmt)

2025-07-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108080 --- Comment #22 from GCC Commits --- The releases/gcc-15 branch has been updated by Nathaniel Shead : https://gcc.gnu.org/g:ebfe7bc7d9572c6449848d0362c738b0fafd4fbe commit r15-10183-gebfe7bc7d9572c6449848d0362c738b0fafd4fbe Author: Nathaniel S

[Bug c++/121238] `-fmodules` causes invalid runtime exceptions with `std::format`

2025-07-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121238 --- Comment #11 from GCC Commits --- The releases/gcc-15 branch has been updated by Nathaniel Shead : https://gcc.gnu.org/g:16e8d1479f60ea22ba604ac4217d5745c7c80b98 commit r15-10182-g16e8d1479f60ea22ba604ac4217d5745c7c80b98 Author: Nathaniel S

[Bug c++/108080] ICE: in module.cc:core_vals with -fmodule-header and #pragma GCC target / optimize (shows up in fmt)

2025-07-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108080 --- Comment #21 from GCC Commits --- The master branch has been updated by Nathaniel Shead : https://gcc.gnu.org/g:643c5b42e21dbc02e9bde01865c880b26aa5f938 commit r16-2699-g643c5b42e21dbc02e9bde01865c880b26aa5f938 Author: Nathaniel Shead Date

[Bug c++/121238] `-fmodules` causes invalid runtime exceptions with `std::format`

2025-07-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121238 --- Comment #10 from GCC Commits --- The master branch has been updated by Nathaniel Shead : https://gcc.gnu.org/g:70136bdc76ae1774162ccbeeedd33aa531950e68 commit r16-2698-g70136bdc76ae1774162ccbeeedd33aa531950e68 Author: Nathaniel Shead Date

[Bug ada/120440] [15/16 regression] GNAT tools miscompiled with -march=znver3

2025-07-31 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120440 --- Comment #24 from Sam James --- Indeed it does. Thanks a bunch Eric.

[Bug tree-optimization/113524] FAIL: gcc.dg/torture/pr113026-1.c -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions (test for bogus messages, line 10)

2025-07-31 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113524 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org Targe

[Bug target/118890] ubsan bootstrap failure for powerpc64le-unknown-linux-gnu

2025-07-31 Thread kishan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118890 --- Comment #7 from Kishan Parmar --- I sent a minor follow-up patch to add shift guards. That should wrap it up.

[Bug tree-optimization/121344] New __builtin_clz(0) when compiling with -Os

2025-07-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121344 --- Comment #5 from Andrew Pinski --- (In reply to Krister Walfridsson from comment #4) > Hmm. The discussion in 111280 says it cannot create new basic blocks, but > the compiler is correctly creating a new basic block for the function in > this

[Bug target/118890] ubsan bootstrap failure for powerpc64le-unknown-linux-gnu

2025-07-31 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118890 --- Comment #6 from Segher Boessenkool --- So, is this all done now?

[Bug tree-optimization/121344] New __builtin_clz(0) when compiling with -Os

2025-07-31 Thread kristerw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121344 --- Comment #4 from Krister Walfridsson --- Hmm. The discussion in 111280 says it cannot create new basic blocks, but the compiler is correctly creating a new basic block for the function in this PR when compiled with -O1, -O2, and -O3. So why i

[Bug tree-optimization/121344] New __builtin_clz(0) when compiling with -Os

2025-07-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121344 --- Comment #3 from Andrew Pinski --- (In reply to Andrew Pinski from comment #2) > The problem is the same issue as PR 111280. In both cases > number_of_iterations_cltz_complement produces the condition. > > *** This bug has been marked as a d

[Bug tree-optimization/121344] New __builtin_clz(0) when compiling with -Os

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

[Bug tree-optimization/111280] CLZ(0) generated when CLZ_DEFINED_VALUE_AT_ZERO is false

2025-07-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111280 --- Comment #5 from Andrew Pinski --- *** Bug 121344 has been marked as a duplicate of this bug. ***

[Bug tree-optimization/121344] New __builtin_clz(0) when compiling with -Os

2025-07-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121344 --- Comment #1 from Andrew Pinski --- I thought I had saw this before.

[Bug tree-optimization/121344] New: New __builtin_clz(0) when compiling with -Os

2025-07-31 Thread kristerw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121344 Bug ID: 121344 Summary: New __builtin_clz(0) when compiling with -Os Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tre

[Bug modula2/121314] quotes appearing in concatenated error strings

2025-07-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121314 --- Comment #4 from GCC Commits --- The master branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:aa19c1076f4949c95f4eafb8fbe5a44dfb8ae11c commit r16-2696-gaa19c1076f4949c95f4eafb8fbe5a44dfb8ae11c Author: Gaius Mulley Date: Thu

[Bug libfortran/121234] Bogus diagnostic on READ of string with semicolon.

2025-07-31 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121234 --- Comment #3 from Jerry DeLisle --- 13.10.3.1, paragraph 8 8 If the next effective item is default, ASCII, or ISO 10646 character and • the character sequence does not contain value separators, • the character sequence does not cross a record

[Bug modula2/121314] quotes appearing in concatenated error strings

2025-07-31 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121314 --- Comment #3 from Gaius Mulley --- The multiple single quotes have been removed. There is still the issue of the error message being duplicated but this is a separate issue. $ gm2 badindrtype2.mod badindrtype2.mod:8:6: error: In procedure ‘

[Bug modula2/121314] quotes appearing in concatenated error strings

2025-07-31 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121314 --- Comment #2 from Gaius Mulley --- Created attachment 62026 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62026&action=edit Proposed fix for a string concat bug in bootstrap tool mc The proposed fix which has been bootstrap tested on x

[Bug tree-optimization/119876] suboptimal code for avx512 conditional move

2025-07-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119876 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |16.0

[Bug middle-end/121159] musttail gives bogus volatile function error message

2025-07-31 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121159 --- Comment #25 from Eric Botcazou --- > At least from a user's perspective, that error is not Ok. It does not say > "-fdelayed-branch is needed," it says "target is not able..." Admittedly. > Also, it is important for debugging that code comp

[Bug fortran/121342] polymorphic functions break elemental functions scalarisation

2025-07-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121342 --- Comment #2 from GCC Commits --- The master branch has been updated by Mikael Morin : https://gcc.gnu.org/g:04a1259ffea29718256beeb2aca3f473c1f259e4 commit r16-2695-g04a1259ffea29718256beeb2aca3f473c1f259e4 Author: Mikael Morin Date: Wed

[Bug c++/121244] Wsfinae-incomplete very unhelpfull and probably false positives

2025-07-31 Thread ville.voutilainen at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121244 --- Comment #5 from Ville Voutilainen --- The analysis looks good, and correct. Expecting to see a Qt patch that moves those static_asserts outside the QAnyStringView definition. There's other shenanigans in it, but those probably work due to b

[Bug c++/102775] Error recovery in the C++ parser should use fix-it hints

2025-07-31 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102775 --- Comment #6 from Jonathan Wakely --- Bug 110930 is the one for cstdint for ::int32_t

[Bug target/121343] New: [avr] Use hard-register constraints instead of explicit hard-regs in avr.md

2025-07-31 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121343 Bug ID: 121343 Summary: [avr] Use hard-register constraints instead of explicit hard-regs in avr.md Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: no

[Bug fortran/121342] polymorphic functions break elemental functions scalarisation

2025-07-31 Thread mikael at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121342 Mikael Morin changed: What|Removed |Added Priority|P3 |P4 Keywords|

[Bug fortran/121342] New: polymorphic functions break elemental functions scalarisation

2025-07-31 Thread mikael at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121342 Bug ID: 121342 Summary: polymorphic functions break elemental functions scalarisation Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug middle-end/121159] musttail gives bogus volatile function error message

2025-07-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121159 --- Comment #24 from Andrew Pinski --- (In reply to Lukas Grätz from comment #23) > (In reply to Eric Botcazou from comment #22) > > > I must say I'm not sure how musttail calls work at all on SPARC at -O0. > > > The thing is sparc_function_ok_f

[Bug middle-end/121341] New: function_ok_for_sibcall should return return a string on why the target does not allow the sibcall

2025-07-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121341 Bug ID: 121341 Summary: function_ok_for_sibcall should return return a string on why the target does not allow the sibcall Product: gcc Version: 14.2.0 Status: UNCONFIRM

[Bug rtl-optimization/121340] [avr] Fix some fallout from insn combine

2025-07-31 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121340 Georg-Johann Lay changed: What|Removed |Added Target Milestone|--- |15.2 Resolution|---

[Bug middle-end/121159] musttail gives bogus volatile function error message

2025-07-31 Thread lukas.graetz--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121159 --- Comment #23 from Lukas Grätz --- (In reply to Eric Botcazou from comment #22) > > I must say I'm not sure how musttail calls work at all on SPARC at -O0. > > The thing is sparc_function_ok_for_sibcall depends on flag_delayed_branch > > and t

[Bug rtl-optimization/121340] [avr] Fix some fallout from insn combine

2025-07-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121340 --- Comment #2 from GCC Commits --- The releases/gcc-15 branch has been updated by Georg-Johann Lay : https://gcc.gnu.org/g:fc03165fb8829a78224882d053e7850132bfb9c9 commit r15-10180-gfc03165fb8829a78224882d053e7850132bfb9c9 Author: Georg-Johan

[Bug c++/120620] [13/14/15/16 Regression] Internal Compiler Error in tree.cc, Line #11240

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

[Bug middle-end/121159] musttail gives bogus volatile function error message

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

[Bug c++/120757] [13/14/15/16 Regression] ICE: in tsubst, at cp/pt.cc:16787

2025-07-31 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120757 Patrick Palka changed: What|Removed |Added CC||jason at gcc dot gnu.org,

[Bug rtl-optimization/121340] [avr] Fix some fallout from insn combine

2025-07-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121340 --- Comment #1 from GCC Commits --- The master branch has been updated by Georg-Johann Lay : https://gcc.gnu.org/g:7d75e87f3051fa29d48e923016f04a8042a8ec53 commit r16-2692-g7d75e87f3051fa29d48e923016f04a8042a8ec53 Author: Georg-Johann Lay Dat

[Bug rtl-optimization/121340] New: [avr] Fix some fallout from insn combine

2025-07-31 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121340 Bug ID: 121340 Summary: [avr] Fix some fallout from insn combine Product: gcc Version: 15.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-o

[Bug c++/120800] [14/15/16 Regression] internal compiler error when using partially initialized class with private constructor and friend

2025-07-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120800 --- Comment #3 from GCC Commits --- The releases/gcc-15 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:df63b4a2f77acd6d10aad68fdfbf4d5b698dad5b commit r15-10178-gdf63b4a2f77acd6d10aad68fdfbf4d5b698dad5b Author: Jason Merrill

[Bug c++/120800] [14/15/16 Regression] internal compiler error when using partially initialized class with private constructor and friend

2025-07-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120800 --- Comment #2 from GCC Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:f6462f664725844faa97ae7e8690e4fedee65788 commit r16-2691-gf6462f664725844faa97ae7e8690e4fedee65788 Author: Jason Merrill Date: Th

[Bug c++/121244] Wsfinae-incomplete very unhelpfull and probably false positives

2025-07-31 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121244 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org,

[Bug target/121334] riscv: ICE compiling 523.xalancbmk_r with -fno-vect-cost-model

2025-07-31 Thread rdapp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121334 --- Comment #1 from Robin Dapp --- We actually don't consider the constant legitimate via riscv_legitimate_constant_p but expr.cc says if (!targetm.legitimate_constant_p (mode, y)) { y = force_const_mem (mode, y);

[Bug cobol/121339] extension CALL ... USING fd-name missing

2025-07-31 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121339 --- Comment #1 from Simon Sobisch --- .. and the current diagnostic: > error: DATA-ITEM 'FD-NAME' not found

[Bug cobol/121339] New: extension CALL ... USING fd-name missing

2025-07-31 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121339 Bug ID: 121339 Summary: extension CALL ... USING fd-name missing Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: cobol

[Bug c++/107393] Wrong TLS model for specialized template

2025-07-31 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107393 --- Comment #1 from H.J. Lu --- Created attachment 62024 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62024&action=edit A patch

[Bug c/107419] attributes are ignored when selecting TLS model

2025-07-31 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107419 --- Comment #1 from H.J. Lu --- Created attachment 62025 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62025&action=edit A patch

[Bug fortran/107421] problematic interaction of 'common' and 'threadprivate'

2025-07-31 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107421 --- Comment #1 from H.J. Lu --- Created attachment 62023 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62023&action=edit A patch

[Bug tree-optimization/121338] UBSAN error in ivopts (signed integer overflow: 9223372036854775805 + 26 cannot be represented in type 'long int')

2025-07-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121338 --- Comment #2 from Andrew Pinski --- int64_t niters = (int64_t) avg_loop_niter (data->current_loop); return (cost + (round_up_p ? niters - 1 : 0)) / niters;

[Bug c++/121328] [13/14/15/16 Regression] ICE: Segmentation fault on local lambda constraints with pack expression within local alias

2025-07-31 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121328 Patrick Palka changed: What|Removed |Added Known to fail||10.1.0 CC|

[Bug target/119702] PPCLE: Inefficient auto-vectorization for 64-bit shifts on Power9

2025-07-31 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119702 --- Comment #6 from Peter Bergner --- (In reply to Avinash Jayakar from comment #2) > And should the same behaviour happen with the following code as well? > > 1. a[0] *= 2; a[1] *= 2; > 2. a[0] += a[0]; a[1] += a[1]; > > All of these emit th

[Bug middle-end/121159] musttail gives bogus volatile function error message

2025-07-31 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121159 --- Comment #21 from Jakub Jelinek --- I must say I'm not sure how musttail calls work at all on SPARC at -O0. The thing is sparc_function_ok_for_sibcall depends on flag_delayed_branch and that is only enabled by default for -O1 and higher. Perh

[Bug tree-optimization/121338] UBSAN error in ivopts (signed integer overflow: 9223372036854775805 + 26 cannot be represented in type 'long int')

2025-07-31 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121338 --- Comment #1 from Sam James --- Created attachment 62022 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62022&action=edit zher2k.f.fi.xz

[Bug tree-optimization/121338] New: UBSAN error in ivopts (signed integer overflow: 9223372036854775805 + 26 cannot be represented in type 'long int')

2025-07-31 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121338 Bug ID: 121338 Summary: UBSAN error in ivopts (signed integer overflow: 9223372036854775805 + 26 cannot be represented in type 'long int') Product: gcc Version:

[Bug c++/118374] diagnostic for unknown type of the underlaying type of an enum should be improved

2025-07-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118374 Andrew Pinski changed: What|Removed |Added Summary|Missing fixit for |diagnostic for unknown type

[Bug c++/121328] [13/14/15/16 Regression] ICE: Segmentation fault on local lambda constraints with pack expression

2025-07-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121328 Andrew Pinski changed: What|Removed |Added Known to work||10.5.0 Summary|ICE: Segmenta

[Bug c++/121328] ICE: Segmentation fault on local lambda constraints with pack expression

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

[Bug testsuite/121337] c-c++-common/musttail32.c fail starting with r16-2195-g89b9372d61ccd4

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

[Bug ada/114065] gnat build with -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 fails on 32bit archs

2025-07-31 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114065 --- Comment #58 from Eric Botcazou --- The above commit (r16-2688) was unintentional and has been reverted.

[Bug ada/120440] [15/16 regression] GNAT tools miscompiled with -march=znver3

2025-07-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120440 --- Comment #21 from GCC Commits --- The master branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:0cd52ca158ae74cffd55c480888019990a6bed3f commit r16-2689-g0cd52ca158ae74cffd55c480888019990a6bed3f Author: Eric Botcazou Date:

[Bug ada/120440] [15/16 regression] GNAT tools miscompiled with -march=znver3

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

[Bug testsuite/121337] New: c-c++-common/musttail32.c fail starting with r16-2195-g89b9372d61ccd4

2025-07-31 Thread kishan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121337 Bug ID: 121337 Summary: c-c++-common/musttail32.c fail starting with r16-2195-g89b9372d61ccd4 Product: gcc Version: 16.0 Status: UNCONFIRMED Keywords: testsuit

[Bug ada/120440] [15/16 regression] GNAT tools miscompiled with -march=znver3

2025-07-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120440 --- Comment #22 from GCC Commits --- The releases/gcc-15 branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:4cdf85859b8d19b91de8f2226fc0f0d79b3f2dbb commit r15-10177-g4cdf85859b8d19b91de8f2226fc0f0d79b3f2dbb Author: Eric Botcazou

[Bug ada/114065] gnat build with -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 fails on 32bit archs

2025-07-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114065 --- Comment #57 from GCC Commits --- The master branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:41974d6ed349507ca1532629851b7b5d74f44abc commit r16-2688-g41974d6ed349507ca1532629851b7b5d74f44abc Author: Nicolas Boulenguez Dat

[Bug c/120353] Flex array struct referenced in the middle via type alias of forward declaration is not reported by -Wflex-array-member-not-at-end option

2025-07-31 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120353 --- Comment #10 from qinzhao at gcc dot gnu.org --- (In reply to Jakub Jelinek from comment #9) > (In reply to qinzhao from comment #8) > > > I'd say so, unless other RMs disagree. > > sure, I will revert it. > > I've missed that Joseph acked th

[Bug target/121028] [15/16 Regression] __arm_streaming_compatible vs -fstack-protector-strong; emits smstop but should have changed the arch around it

2025-07-31 Thread sabson at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121028 Spencer Abson changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/121028] [15/16 Regression] __arm_streaming_compatible vs -fstack-protector-strong; emits smstop but should have changed the arch around it

2025-07-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121028 --- Comment #5 from GCC Commits --- The releases/gcc-14 branch has been updated by Spencer Abson : https://gcc.gnu.org/g:23d7aa843b2d8fb792df94beb44b891a5df5cc68 commit r14-11926-g23d7aa843b2d8fb792df94beb44b891a5df5cc68 Author: Spencer Abson

[Bug other/63426] [meta-bug] Issues found with -fsanitize=undefined

2025-07-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63426 Bug 63426 depends on bug 100213, which changed state. Bug 100213 Summary: Signed integer overflow in poly-int.h via alias.c:memrefs_conflict_p https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100213 What|Removed |A

[Bug target/121336] cris-elf fails to build with binutils-2.45 due to ambiguous --em option

2025-07-31 Thread mikpelinux at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121336 --- Comment #1 from Mikael Pettersson --- Patch submitted: https://gcc.gnu.org/pipermail/gcc-patches/2025-July/691317.html

[Bug middle-end/118819] [15 Regression] runtime error: signed integer overflow during bootstrap

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

[Bug rtl-optimization/100213] Signed integer overflow in poly-int.h via alias.c:memrefs_conflict_p

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

[Bug target/119702] PPCLE: Inefficient auto-vectorization for 64-bit shifts on Power9

2025-07-31 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119702 --- Comment #5 from Segher Boessenkool --- But of course we need -mcpu=power8 or later for that insn.

[Bug target/119702] PPCLE: Inefficient auto-vectorization for 64-bit shifts on Power9

2025-07-31 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119702 --- Comment #4 from Segher Boessenkool --- No, we should generate code as Peter says in #c1. Doing a shift is worse code.

[Bug libstdc++/121327] Not-matching concept fails to compile with error "depends on itself"

2025-07-31 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121327 Patrick Palka changed: What|Removed |Added Component|c++ |libstdc++ --- Comment #3 from Patrick P

[Bug cobol/120772] gcobc requires explicit -fPIC

2025-07-31 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120772 Simon Sobisch changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

  1   2   >