[Bug target/120326] problems with attribute __ms_struct__

2025-05-19 Thread uecker at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120326 --- Comment #3 from uecker at gcc dot gnu.org --- Those should not get the same TYPE_CANONICAL. tagged_types_tu_compatible_p should be changed to detect this case which is due to different packing of bit fields. It works correctly for this: stru

[Bug target/120360] Horrible code generation for trivial decrement with test

2025-05-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120360 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW CC|

[Bug tree-optimization/120358] [15/16 regression] qtbase-6.9.0 miscompiled since r15-580-gf3e5f4c58591f5

2025-05-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120358 Richard Biener changed: What|Removed |Added Priority|P3 |P2 CC|

[Bug tree-optimization/120357] [16 Regression] RISC-V: ICE in vect pass "error: definition in block 9 does not dominate use in block 3"

2025-05-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120357 Richard Biener changed: What|Removed |Added CC||rguenth at gcc dot gnu.org K

[Bug target/120351] [15 regression] Assemble failure on armv7-a with -mfpu=neon (ldrex r1, [s14], invalid use of NEON registers) since r15-1579-g792f97b44ffc5e

2025-05-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120351 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Known to work|

[Bug tree-optimization/120341] [15/16 Regregression] wrong code at -O1 and above with "-fallow-store-data-races" on x86_64-linux-gnu

2025-05-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120341 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug fortran/106035] F2018 allows an IMPORT statement within the BLOCK construct.

2025-05-19 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106035 --- Comment #12 from Paul Thomas --- (In reply to kargls from comment #11) > (In reply to Paul Thomas from comment #9) > > Created attachment 61467 [details] > > Test vehicle for my f2018 import patch > > > > Hi Steve, > > > > Note the section

[Bug target/120361] Why does prefetch_write() not generate a PREFETCHW instruction?

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

[Bug c/120361] New: Why does prefetch_write() not generate a PREFETCHW instruction?

2025-05-19 Thread LYN_2019 at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120361 Bug ID: 120361 Summary: Why does prefetch_write() not generate a PREFETCHW instruction? Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug c++/120349] [16 regression] std::println link fail with std module since r16-688-gc875748cdc468e

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

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

2025-05-19 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 120349, which changed state. Bug 120349 Summary: [16 regression] std::println link fail with std module since r16-688-gc875748cdc468e https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120349 What|Removed

[Bug c++/120349] [16 regression] std::println link fail with std module since r16-688-gc875748cdc468e

2025-05-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120349 --- Comment #2 from GCC Commits --- The master branch has been updated by Nathaniel Shead : https://gcc.gnu.org/g:870e66a3fcbde185c086f10e63ac1c9fe946e233 commit r16-754-g870e66a3fcbde185c086f10e63ac1c9fe946e233 Author: Nathaniel Shead Date:

[Bug target/120360] New: Horrible code generation for trivial decrement with test

2025-05-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120360 Bug ID: 120360 Summary: Horrible code generation for trivial decrement with test Product: gcc Version: 16.0 Status: UNCONFIRMED Keywords: missed-optimization

[Bug fortran/120049] ICE when using IS_C_ASSOCIATED ()

2025-05-19 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120049 Jerry DeLisle changed: What|Removed |Added Attachment #61445|0 |1 is obsolete|

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

2025-05-19 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 120350, which changed state. Bug 120350 Summary: [modules] address taken but ‘TREE_ADDRESSABLE’ bit not set for imported inline ref of typeid https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120350 What|Remo

[Bug c++/120350] [modules] address taken but ‘TREE_ADDRESSABLE’ bit not set for imported inline ref of typeid

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

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

2025-05-19 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 120013, which changed state. Bug 120013 Summary: SIGSEGV ICE with modules related to instantiation of templates across partition units https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120013 What|Removed

[Bug c++/120013] SIGSEGV ICE with modules related to instantiation of templates across partition units

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

[Bug c++/120013] SIGSEGV ICE with modules related to instantiation of templates across partition units

2025-05-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120013 --- Comment #11 from GCC Commits --- The releases/gcc-15 branch has been updated by Nathaniel Shead : https://gcc.gnu.org/g:2d1244a5b2dca62b97656cdfa28cd99af583aaa8 commit r15-9714-g2d1244a5b2dca62b97656cdfa28cd99af583aaa8 Author: Nathaniel Sh

[Bug target/120356] [15/16 Regression] RISC-V: Miscompile at -O[23] since r15-6881-g7b815107f40

2025-05-19 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120356 Jeffrey A. Law changed: What|Removed |Added Last reconfirmed||2025-05-20 Status|UNCONFIR

[Bug c++/120350] [modules] address taken but ‘TREE_ADDRESSABLE’ bit not set for imported inline ref of typeid

2025-05-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120350 --- Comment #2 from GCC Commits --- The releases/gcc-15 branch has been updated by Nathaniel Shead : https://gcc.gnu.org/g:3ba1b0ac7ccbe7b01811302dc1d50dcdbd7dc2ac commit r15-9713-g3ba1b0ac7ccbe7b01811302dc1d50dcdbd7dc2ac Author: Nathaniel She

[Bug c++/120350] [modules] address taken but ‘TREE_ADDRESSABLE’ bit not set for imported inline ref of typeid

2025-05-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120350 --- Comment #1 from GCC Commits --- The master branch has been updated by Nathaniel Shead : https://gcc.gnu.org/g:9a6e5a437f0416627ee516f6ef5929cb30c5e498 commit r16-751-g9a6e5a437f0416627ee516f6ef5929cb30c5e498 Author: Nathaniel Shead Date:

[Bug c++/120013] SIGSEGV ICE with modules related to instantiation of templates across partition units

2025-05-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120013 --- Comment #10 from GCC Commits --- The master branch has been updated by Nathaniel Shead : https://gcc.gnu.org/g:b0de7297f2b5670386472229ab795a577c288ecf commit r16-752-gb0de7297f2b5670386472229ab795a577c288ecf Author: Nathaniel Shead Date:

[Bug target/103771] [12/13/14 Regression] Missed vectorization under -mavx512f -mavx512vl after r12-5489

2025-05-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103771 --- Comment #46 from GCC Commits --- The master branch has been updated by hongtao Liu : https://gcc.gnu.org/g:1e579e2eb5bf69419222a10afc854565b6bc0d78 commit r16-750-g1e579e2eb5bf69419222a10afc854565b6bc0d78 Author: liuhongt Date: Sun May

[Bug tree-optimization/120359] -Wtype-limits misses a warning when comparing enums

2025-05-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120359 Andrew Pinski changed: What|Removed |Added Depends on|33738 | See Also|

[Bug target/120297] [15/16 Regression] RISC-V: Miscompile at -O3

2025-05-19 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120297 Jeffrey A. Law changed: What|Removed |Added Last reconfirmed||2025-05-19 Status|UNCONFIR

[Bug tree-optimization/120359] -Wtype-limits misses a warning when comparing enums

2025-05-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120359 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization --- Comment #1 from

[Bug tree-optimization/120359] New: -Wtype-limits misses a warning when comparing enums

2025-05-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120359 Bug ID: 120359 Summary: -Wtype-limits misses a warning when comparing enums Product: gcc Version: 16.0 Status: UNCONFIRMED Keywords: diagnostic, testsuite-fail, xfail Se

[Bug target/120333] [16 Regression] RISC-V: Wrong code with bitmanip extension

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

[Bug target/120333] [16 Regression] RISC-V: Wrong code with bitmanip extension

2025-05-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120333 --- Comment #3 from GCC Commits --- The master branch has been updated by Jeff Law : https://gcc.gnu.org/g:38fa6c0455ec14f2f42310a817b90765ad894aa4 commit r16-740-g38fa6c0455ec14f2f42310a817b90765ad894aa4 Author: Jeff Law Date: Mon May 19 1

[Bug tree-optimization/120358] [15/16 regression] qtbase-6.9.0 miscompiled since r15-580-gf3e5f4c58591f5

2025-05-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120358 --- Comment #4 from Andrew Pinski --- (In reply to Sam James from comment #3) > Created attachment 61474 [details] > tst_qstringtokenizer.cpp.ii.xz Just a quick note -march=znver2 is needed to compile this preprocessed source. Even though -marc

[Bug tree-optimization/120358] [15/16 regression] qtbase-6.9.0 miscompiled since r15-580-gf3e5f4c58591f5

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

[Bug tree-optimization/120358] [15/16 regression] qtbase-6.9.0 miscompiled since r15-580-gf3e5f4c58591f5

2025-05-19 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120358 Sam James changed: What|Removed |Added Attachment #61472|0 |1 is obsolete|

[Bug tree-optimization/120358] [15/16 regression] qtbase-6.9.0 miscompiled since r15-580-gf3e5f4c58591f5

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

[Bug cobol/119637] link error for LINAGE-COUNTER

2025-05-19 Thread jklowden at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119637 --- Comment #2 from James K. Lowden --- The parser will emit a "sorry, unimplemented" LINAGE message for the time being.

[Bug cobol/119636] compile error: gcobol1 does not find file descriptions in case of obsolete FD phrases

2025-05-19 Thread jklowden at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119636 James K. Lowden changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jklowden at gcc dot gnu.org

[Bug tree-optimization/120296] Missed VRP with __builtin_popcount() when bitshift with __builtin_{ctzg, clzg}

2025-05-19 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120296 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com Last

[Bug ipa/110282] [12/13/14/15 regression] Segmentation fault with specific optimizations since r10-3311-gff6686d2e5f797

2025-05-19 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110282 --- Comment #20 from Martin Jambor --- (In reply to mcccs from comment #17) > [...] > > The problem is that the parameter pointer is not set to the argument so > dereferencing it causes a segfault. Dumping all the passes, this problem is > firs

[Bug cobol/119695] Incorrect diagnostic format specifiers in COBOL FE

2025-05-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119695 --- Comment #3 from Jakub Jelinek --- (In reply to James K. Lowden from comment #2) > > The ones mentioning 'z' are gettext fault, %zd/%zu is supported in > > gcc-internal-format. > > gettext "15.3.1 C Format Strings" references POSIX, > > h

[Bug cobol/119695] Incorrect diagnostic format specifiers in COBOL FE

2025-05-19 Thread jklowden at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119695 James K. Lowden changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug tree-optimization/120358] [15/16 regression] qtbase-6.9.0 miscompiled since r15-580-gf3e5f4c58591f5

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

[Bug tree-optimization/120358] [15/16 regression] qtbase-6.9.0 miscompiled since r15-580-gf3e5f4c58591f5

2025-05-19 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120358 --- Comment #1 from Sam James --- Created attachment 61473 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61473&action=edit build.sh

[Bug tree-optimization/120358] New: [15/16 regression] qtbase-6.9.0 miscompiled since r15-580-gf3e5f4c58591f5

2025-05-19 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120358 Bug ID: 120358 Summary: [15/16 regression] qtbase-6.9.0 miscompiled since r15-580-gf3e5f4c58591f5 Product: gcc Version: 16.0 Status: UNCONFIRMED Keywords: need

[Bug target/120347] [15/16 regression] invalid arm32/thumb assembly output

2025-05-19 Thread arnd at linaro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120347 --- Comment #8 from Arnd Bergmann --- My mistake, I accidentally reintroduced the kernel bug from https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54983 while debugging another issue, so the code in comment #4 does not actually appear in the Linux k

[Bug tree-optimization/14295] [tree-ssa] copy propagation for aggregates

2025-05-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14295 --- Comment #15 from Andrew Pinski --- Patch posted: https://gcc.gnu.org/pipermail/gcc-patches/2025-May/684017.html

[Bug middle-end/50481] builtin to reverse the bit order

2025-05-19 Thread aleks at physik dot tu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50481 Alexander Kleinsorge changed: What|Removed |Added CC||aleks at physik dot tu-berlin.de

[Bug target/120333] [16 Regression] RISC-V: Wrong code with bitmanip extension

2025-05-19 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120333 Jeffrey A. Law changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #2 from Jeffrey A

[Bug cobol/119770] FLOAT-DECIMAL support + "cannot MOVE '_stack1'"

2025-05-19 Thread jklowden at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119770 James K. Lowden changed: What|Removed |Added Last reconfirmed||2025-05-19 Status|UNCONFI

[Bug tree-optimization/22237] [4.0/4.1 Regression] struct copy inlining generates overlapping memcpy

2025-05-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=22237 --- Comment #9 from Andrew Pinski --- Just an FYI, LLVM uses memmove here instead of 2 memcpy. If we care about how memcpy we do, we can extend https://gcc.gnu.org/pipermail/gcc-patches/2025-May/684017.html to do the memmove for: ``` + /* For

[Bug target/120308] 'TYPE_EMPTY_P' vs. code offloading

2025-05-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120308 --- Comment #4 from GCC Commits --- The trunk branch has been updated by Thomas Schwinge : https://gcc.gnu.org/g:9063810c86beee6274d745b91d8fb43a81c9683e commit r16-738-g9063810c86beee6274d745b91d8fb43a81c9683e Author: Thomas Schwinge Date:

[Bug fortran/120355] [15/16 Regression] Type mismatch for passed external function, if external function appears in the same source file

2025-05-19 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120355 --- Comment #1 from anlauf at gcc dot gnu.org --- Workaround: don't use the result clause in the external function, e.g. integer function s(x) implicit none integer, intent(in) :: x s = 1 - x end function s

[Bug fortran/120355] [15/16 Regression] Type mismatch for passed external function, if external function appears in the same source file

2025-05-19 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120355 anlauf at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P4

[Bug fortran/120355] [15/16 Regression] Type mismatch for passed external function, if external function appears in the same source file

2025-05-19 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120355 anlauf at gcc dot gnu.org changed: What|Removed |Added Summary|Type mismatch for passed|[15/16 Regression] Type

[Bug target/120347] [15/16 regression] invalid arm32/thumb assembly output

2025-05-19 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120347 --- Comment #7 from Richard Earnshaw --- The address in offsettable_address is always validated as a 'byte' sized address (it's generic code). So it's not generally useful to use this on Arm for validating anything that's more restricted than l

[Bug ipa/120345] array subscript is partly outside array bounds

2025-05-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120345 Andrew Pinski changed: What|Removed |Added Component|tree-optimization |ipa Keywords|

[Bug target/120357] New: [16 Regression] RISC-V: ICE in vect pass "error: definition in block 9 does not dominate use in block 3"

2025-05-19 Thread ewlu at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120357 Bug ID: 120357 Summary: [16 Regression] RISC-V: ICE in vect pass "error: definition in block 9 does not dominate use in block 3" Product: gcc Version: 16.0

[Bug fortran/120099] [16 regression] gfortran.dg/specifics_1.f90 FAILs since r16-372-g064cac730f88dc

2025-05-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120099 --- Comment #22 from GCC Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:bf98b735ae01c652f641b824a7c4e1d575b5b6d8 commit r16-734-gbf98b735ae01c652f641b824a7c4e1d575b5b6d8 Author: Harald Anlauf Date: S

[Bug tree-optimization/120345] array subscript is partly outside array bounds

2025-05-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120345 Andrew Pinski changed: What|Removed |Added URL|https://godbolt.org/z/Pa8xh | |5T5n

[Bug target/120347] [15/16 regression] invalid arm32/thumb assembly output

2025-05-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120347 --- Comment #6 from Andrew Pinski --- (In reply to Arnd Bergmann from comment #4) > I have reduced another build failure (in some configurations but many files) > and found that also to be caused by -flate-combine-instructions > > https://godbo

[Bug target/120347] [15/16 regression] invalid arm32/thumb assembly output

2025-05-19 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120347 --- Comment #5 from Richard Earnshaw --- (In reply to Arnd Bergmann from comment #4) > I have reduced another build failure (in some configurations but many files) > and found that also to be caused by -flate-combine-instructions > > https://go

[Bug target/120351] [15 regression] Assemble failure on armv7-a with -mfpu=neon (ldrex r1, [s14], invalid use of NEON registers) since r15-1579-g792f97b44ffc5e

2025-05-19 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120351 Richard Earnshaw changed: What|Removed |Added Summary|[15/16 regression] Assemble |[15 regression] Assemble

[Bug target/120351] [15/16 regression] Assemble failure on armv7-a with -mfpu=neon (ldrex r1, [s14], invalid use of NEON registers) since r15-1579-g792f97b44ffc5e

2025-05-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120351 --- Comment #7 from GCC Commits --- The master branch has been updated by Richard Earnshaw : https://gcc.gnu.org/g:e5bb7a328eb71daa02d15b48d3a6c6b8cd24abc5 commit r16-733-ge5bb7a328eb71daa02d15b48d3a6c6b8cd24abc5 Author: Richard Earnshaw Date

[Bug target/120356] [15/16 Regression] RISC-V: Miscompile at -O[23] since r15-6881-g7b815107f40

2025-05-19 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120356 Sam James changed: What|Removed |Added Keywords||wrong-code Summary|[16 Regressio

[Bug target/120326] problems with attribute __ms_struct__

2025-05-19 Thread jsm28 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120326 Joseph S. Myers changed: What|Removed |Added Last reconfirmed||2025-05-19 Ever confirmed|0

[Bug target/120356] New: [16 Regression] RISC-V: Miscompile at -O[23]

2025-05-19 Thread ewlu at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120356 Bug ID: 120356 Summary: [16 Regression] RISC-V: Miscompile at -O[23] Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tar

[Bug fortran/120355] New: Type mismatch for passed external function, if external function appears in the same source file

2025-05-19 Thread jsberg at bnl dot gov via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120355 Bug ID: 120355 Summary: Type mismatch for passed external function, if external function appears in the same source file Product: gcc Version: 15.1.0 Status: UNCONFIRMED

[Bug middle-end/118694] OpenMP: target/metadirective/teams directive nesting gives error

2025-05-19 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118694 --- Comment #4 from sandra at gcc dot gnu.org --- The nesting error is diagnosed in omp-low.cc. By this time the gimplifier has already replaced the metadirective with a conditional. Since it's a static selector, it'll be resolved to a constant

[Bug fortran/106035] F2018 allows an IMPORT statement within the BLOCK construct.

2025-05-19 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106035 --- Comment #11 from kargls at comcast dot net --- (In reply to Paul Thomas from comment #9) > Created attachment 61467 [details] > Test vehicle for my f2018 import patch > > Hi Steve, > > Note the sections marked WRINKLE. ifx considers an asso

[Bug fortran/106035] F2018 allows an IMPORT statement within the BLOCK construct.

2025-05-19 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106035 --- Comment #10 from kargls at comcast dot net --- (In reply to Paul Thomas from comment #8) > Created attachment 61466 [details] > > As I wrote elsewhere, I should have checked if anybody else is working on > import. Apologies for treading on yo

[Bug target/120351] [15/16 regression] Assemble failure on armv7-a with -mfpu=neon (ldrex r1, [s14], invalid use of NEON registers) since r15-1579-g792f97b44ffc5e

2025-05-19 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120351 Richard Earnshaw changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rearnsha at gcc dot gnu.org

[Bug target/120347] [15/16 regression] invalid arm32/thumb assembly output

2025-05-19 Thread arnd at linaro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120347 --- Comment #4 from Arnd Bergmann --- I have reduced another build failure (in some configurations but many files) and found that also to be caused by -flate-combine-instructions https://godbolt.org/z/7o1KE4jd3 void c(short *d) { asm("strh %1,

[Bug target/120347] [15/16 regression] invalid arm32/thumb assembly output

2025-05-19 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120347 Richard Sandiford changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassig

[Bug target/120347] [15/16 regression] invalid arm32/thumb assembly output

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

[Bug libstdc++/120190] Definition of the primary template of std::format_kind seems IFNDR

2025-05-19 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120190 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug cobol/119772] FE: COBOL2025/2026 (original GnuCOBOL extension) LENGTH OF usage-specification missing

2025-05-19 Thread jklowden at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119772 James K. Lowden changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jklowden at gcc dot gnu.org

[Bug libstdc++/118031] [C++23] ranges::starts_with and ranges::ends_with

2025-05-19 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118031 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org Ass

[Bug target/120351] [15/16 regression] Assemble failure on armv7-a with -mfpu=neon (ldrex r1, [s14], invalid use of NEON registers) since r15-1579-g792f97b44ffc5e

2025-05-19 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120351 Sam James changed: What|Removed |Added CC||rearnsha at gcc dot gnu.org Last reconfir

[Bug libstdc++/120190] Definition of the primary template of std::format_kind seems IFNDR

2025-05-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120190 --- Comment #3 from GCC Commits --- The releases/gcc-15 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:53680c1aa92d9f78e8255fbf696c0ed36f160650 commit r15-9708-g53680c1aa92d9f78e8255fbf696c0ed36f160650 Author: Jonathan Wake

[Bug libstdc++/120293] std::format("{}", std::chrono::local_days()) should not include time-of-day

2025-05-19 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120293 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |13.5

[Bug target/120347] [15/16 regression] invalid arm32/thumb assembly output

2025-05-19 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120347 Sam James changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug libstdc++/120293] std::format("{}", std::chrono::local_days()) should not include time-of-day

2025-05-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120293 --- Comment #3 from GCC Commits --- The releases/gcc-15 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:4bc5697341f1eda3b20c16dcf173948b2d1bd5c8 commit r15-9710-g4bc5697341f1eda3b20c16dcf173948b2d1bd5c8 Author: Jonathan Wake

[Bug libstdc++/120029] Dangling iterator usage in std::filesystem::path::operator+=(const std::filesystem::path &p) when this == p

2025-05-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120029 --- Comment #9 from GCC Commits --- The releases/gcc-15 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:beb0ffd36eedf0542d7f408e87efee4bee3150f8 commit r15-9709-gbeb0ffd36eedf0542d7f408e87efee4bee3150f8 Author: Jonathan Wake

[Bug cobol/119790] FE (parser): CONSTANT AS figurative-constant broken

2025-05-19 Thread jklowden at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119790 James K. Lowden changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug c/120354] New: Flexible array union in the middle is not reported by -Wflex-array-member-not-at-end option when flexible array member is not the last one

2025-05-19 Thread alansnape3058 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120354 Bug ID: 120354 Summary: Flexible array union in the middle is not reported by -Wflex-array-member-not-at-end option when flexible array member is not the last one Product:

[Bug c/120354] Flexible array union in the middle is not reported by -Wflex-array-member-not-at-end option when flexible array member is not the last one

2025-05-19 Thread alansnape3058 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120354 --- Comment #1 from Ella Ma --- Details and comparison with Clang in https://godbolt.org/z/h8qYhK6rY

[Bug c/120353] New: 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-05-19 Thread alansnape3058 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120353 Bug ID: 120353 Summary: Flex array struct referenced in the middle via type alias of forward declaration is not reported by -Wflex-array-member-not-at-end option Product: g

[Bug c++/120349] [16 regression] std::println link fail with std module since r16-688-gc875748cdc468e

2025-05-19 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120349 Nathaniel Shead changed: What|Removed |Added Ever confirmed|0 |1 Target Milestone|---

[Bug middle-end/120352] New: scalar epiloque not needed for early break when exit block is invariant

2025-05-19 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120352 Bug ID: 120352 Summary: scalar epiloque not needed for early break when exit block is invariant Product: gcc Version: 16.0 Status: UNCONFIRMED Keywords: missed

[Bug ipa/110282] [12/13/14/15 regression] Segmentation fault with specific optimizations since r10-3311-gff6686d2e5f797

2025-05-19 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110282 Sam James changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug tree-optimization/118924] [12 regression] Wrong code at -O2 and above leading to uninitialized accesses on aarch64-linux-gnu since r10-917-g3b47da42de621c

2025-05-19 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118924 Sam James changed: What|Removed |Added Resolution|--- |FIXED Known to work|

[Bug target/120351] [15/16 regression] Assemble failure on armv7-a with -mfpu=neon (ldrex r1, [s14], invalid use of NEON registers)

2025-05-19 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120351 Sam James changed: What|Removed |Added Target Milestone|--- |15.2 Summary|ldrex r1, [s14], in

[Bug target/120351] ldrex r1, [s14], invalid use of NEON registers

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

[Bug target/120351] [15/16 regression] Assemble failure on armv7-a with -mfpu=neon (ldrex r1, [s14], invalid use of NEON registers)

2025-05-19 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120351 --- Comment #4 from Sam James --- For completeness, my pastes are with: $ as --version GNU assembler (Gentoo p1) 2.44.50.20250518

[Bug target/120351] ldrex r1, [s14], invalid use of NEON registers

2025-05-19 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120351 Sam James changed: What|Removed |Added Component|c++ |target Keywords|

[Bug target/120351] ldrex r1, [s14], invalid use of NEON registers

2025-05-19 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120351 --- Comment #2 from Sam James --- ``` # diff -u <(g++-14 /tmp/a.cxx -O2 -S -mfpu=neon -o -) <(g++-15 /tmp/a.cxx -O2 -S -mfpu=neon -o -) --- /dev/fd/63 2025-05-19 10:57:07.663372453 - +++ /dev/fd/62 2025-05-19 10:57:07.666705782 - @@ -3

[Bug c++/120350] New: [modules] address taken but ‘TREE_ADDRESSABLE’ bit not set for imported inline ref of typeid

2025-05-19 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120350 Bug ID: 120350 Summary: [modules] address taken but ‘TREE_ADDRESSABLE’ bit not set for imported inline ref of typeid Product: gcc Version: 16.0 Status: UNCONFIRMED

[Bug c++/120351] New: ldrex r1, [s14], invalid use of NEON registers

2025-05-19 Thread jhofstee at victronenergy dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120351 Bug ID: 120351 Summary: ldrex r1, [s14], invalid use of NEON registers Product: gcc Version: 15.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/120349] New: [16 regression] std::println link fail with std module

2025-05-19 Thread c at cyano dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120349 Bug ID: 120349 Summary: [16 regression] std::println link fail with std module Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Comp

[Bug gcov-profile/120348] New: Bogus line coverage triggered by passing pointers via extern "C" functions

2025-05-19 Thread wentaoz5 at illinois dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120348 Bug ID: 120348 Summary: Bogus line coverage triggered by passing pointers via extern "C" functions Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: nor

[Bug libstdc++/120293] std::format("{}", std::chrono::local_days()) should not include time-of-day

2025-05-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120293 --- Comment #2 from GCC Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:1ed7585bf60ba9940ca5dc6d2c72dba86eea7b4d commit r16-731-g1ed7585bf60ba9940ca5dc6d2c72dba86eea7b4d Author: Jonathan Wakely Date:

  1   2   >