[Bug target/120856] New: [avr] during RTL pass: split2: internal compiler error: Segmentation fault with -mno-lra

2025-06-28 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120856 Bug ID: 120856 Summary: [avr] during RTL pass: split2: internal compiler error: Segmentation fault with -mno-lra Product: gcc Version: 16.0 Status: UNCONFIRMED

[Bug target/120856] [avr] during RTL pass: split2: internal compiler error: Segmentation fault with -mno-lra

2025-06-28 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120856 --- Comment #1 from Georg-Johann Lay --- (In reply to Georg-Johann Lay from comment #0) > R22:DI. Should read R24:DI.

[Bug target/120840] [16 Regression] CPython miscompiled with preserve_none

2025-06-28 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120840 H.J. Lu changed: What|Removed |Added Attachment #61731|0 |1 is obsolete|

[Bug ada/120854] compilation of concatenation with illegal character constant hangs

2025-06-28 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120854 Eric Botcazou changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ebotcazou at gcc dot gnu.org

[Bug ada/120854] compilation of concatenation with illegal character constant hangs

2025-06-28 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120854 Eric Botcazou changed: What|Removed |Added Summary|gnat never exits|compilation of |

[Bug target/120856] [avr] during RTL pass: split2: internal compiler error: Segmentation fault with -mno-lra

2025-06-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120856 --- Comment #2 from GCC Commits --- The master branch has been updated by Georg-Johann Lay : https://gcc.gnu.org/g:13390e1b65f499ba33b7b5ff76bd9936e81b74e4 commit r16-1758-g13390e1b65f499ba33b7b5ff76bd9936e81b74e4 Author: Georg-Johann Lay Dat

[Bug target/120856] [avr] during RTL pass: split2: internal compiler error: Segmentation fault with -mno-lra

2025-06-28 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120856 Georg-Johann Lay changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Target Milestone|---

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

2025-06-28 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 120644, which changed state. Bug 120644 Summary: [modules] conflicting type for imported declaration with variable template and auto https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120644 What|Removed

[Bug c++/120644] [modules] conflicting type for imported declaration with variable template and auto

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

[Bug c++/120644] [modules] conflicting type for imported declaration with variable template and auto

2025-06-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120644 --- Comment #13 from GCC Commits --- The master branch has been updated by Nathaniel Shead : https://gcc.gnu.org/g:98fd493db6216cff11142c9dc477a3ff8e4269fa commit r16-1759-g98fd493db6216cff11142c9dc477a3ff8e4269fa Author: Nathaniel Shead Date

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

2025-06-28 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 #61748|0 |1 is obsolete|

[Bug c/120860] add ability to silence -Wmissing-field-initializers warnings on selected structs

2025-06-28 Thread bruno at clisp dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120860 --- Comment #2 from Bruno Haible --- > Or do you want anything attribute on the fields which are optional. Either way would be suitable to fix the problem: * Either an attribute on the struct type, to avoid a -Wmissing-field-initializers

[Bug c/120860] New: add ability to silence -Wmissing-field-initializers warnings on selected structs

2025-06-28 Thread bruno at clisp dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120860 Bug ID: 120860 Summary: add ability to silence -Wmissing-field-initializers warnings on selected structs Product: gcc Version: 15.1.0 Status: UNCONFIRMED Sever

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

2025-06-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120358 --- Comment #12 from Andrew Pinski --- (In reply to Sam James from comment #11) > Created attachment 61749 [details] > small.cxx I think there might be some aliasing issue with char16_t and Qchar. ``` QChar *begin() const { return reinterpr

[Bug ada/120665] assertion failure on problematic container aggregate

2025-06-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120665 --- Comment #5 from GCC Commits --- The releases/gcc-15 branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:80c55b15f8d6e6b1f10c193b60e19194a871070d commit r15-9872-g80c55b15f8d6e6b1f10c193b60e19194a871070d Author: Eric Botcazou

[Bug middle-end/120855] New: [16 Regression] Recent changes causing ICE in assemble_name_resolve

2025-06-28 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120855 Bug ID: 120855 Summary: [16 Regression] Recent changes causing ICE in assemble_name_resolve Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug target/120818] [16 Regression] g++.target/i386/shrink_wrap_separate.C FAILs

2025-06-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120818 --- Comment #5 from GCC Commits --- The master branch has been updated by Lili Cui : https://gcc.gnu.org/g:e7fb2459b00cde4fb14062076df29320efafdb98 commit r16-1757-ge7fb2459b00cde4fb14062076df29320efafdb98 Author: Lili Cui Date: Sat Jun 28

[Bug tree-optimization/120747] [16 Regression] 435.gromacs miscompares since r16-1550-g9244ea4bf55638

2025-06-28 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120747 --- Comment #13 from Filip Kastl --- My theory is that the "miscompiled" functions are actually two: inl1100 and inl1120. If I compile these two functions with r16-1549 and the rest of innerf.f with r16-1550, I get the same gromacs output as wh

[Bug c/120860] add ability to silence -Wmissing-field-initializers warnings on selected structs

2025-06-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120860 --- Comment #3 from Andrew Pinski --- What I am thinking about is do we want a full attribute which allows some fields to be optional or the attribute for the whole struct. I think the attribute for the whole struct is not wanted for the case li

[Bug c++/120863] New: ICE: in convert_like_internal, at cp/call.cc:9228

2025-06-28 Thread rush102333 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120863 Bug ID: 120863 Summary: ICE: in convert_like_internal, at cp/call.cc:9228 Product: gcc Version: 16.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code Severity: normal

[Bug c++/120864] New: ICE Segmentation fault with deduced return type and concept

2025-06-28 Thread rush102333 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120864 Bug ID: 120864 Summary: ICE Segmentation fault with deduced return type and concept Product: gcc Version: 16.0 Status: UNCONFIRMED Keywords: error-recovery, ic

[Bug target/120840] [16 Regression] CPython miscompiled with preserve_none

2025-06-28 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120840 H.J. Lu changed: What|Removed |Added Attachment #61745|0 |1 is obsolete|

[Bug target/120840] Functions with no_callee_saved_registers attribute should preserve frame pointer

2025-06-28 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120840 H.J. Lu changed: What|Removed |Added Summary|[16 Regression] CPython |Functions with |miscompiled

[Bug target/120858] New: __builtin_rev_crc64_data64 poorly optimised when computing crc32

2025-06-28 Thread sh1.gccbug at tikouka dot nz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120858 Bug ID: 120858 Summary: __builtin_rev_crc64_data64 poorly optimised when computing crc32 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug middle-end/120855] [16 Regression] Recent changes causing ICE in assemble_name_resolve

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

[Bug target/120858] __builtin_rev_crc64_data64 poorly optimised when computing crc32

2025-06-28 Thread sh1.gccbug at tikouka dot nz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120858 --- Comment #1 from Simon H. --- Slightly more 'valid' test, removing possible doubt about input endianness: https://godbolt.org/z/e63f7KGbj

[Bug middle-end/120858] __builtin_rev_crc64_data64 poorly optimised when computing crc32

2025-06-28 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120858 --- Comment #2 from Sam James --- Please always include testcases as attachments as well (godbolt links are fine, but attach as well).

[Bug middle-end/120858] __builtin_rev_crc64_data64 poorly optimised when computing crc32

2025-06-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120858 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Keywords|

[Bug debug/120849] Missing debug (tree)

2025-06-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120849 --- Comment #1 from GCC Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:5e5de088f99319aa755ef2af3def30a4ccd5765a commit r16-1762-g5e5de088f99319aa755ef2af3def30a4ccd5765a Author: H.J. Lu Date: Sat Jun 28 07

[Bug testsuite/120859] New: FAIL: gcc.dg/tree-prof/afdo-crossmodule-1b.c compilation

2025-06-28 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120859 Bug ID: 120859 Summary: FAIL: gcc.dg/tree-prof/afdo-crossmodule-1b.c compilation Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Prio

[Bug testsuite/120859] FAIL: gcc.dg/tree-prof/afdo-crossmodule-1b.c compilation

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

[Bug debug/120849] Missing debug (tree)

2025-06-28 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120849 H.J. Lu changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug c/120861] New: ICE on x86_64-linux-gnu: tree check: expected tree that contains 'decl minimal' structure, have 'error_mark' in remap_type_1, at tree-inline.cc:564

2025-06-28 Thread jiangchangwu at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120861 Bug ID: 120861 Summary: ICE on x86_64-linux-gnu: tree check: expected tree that contains 'decl minimal' structure, have 'error_mark' in remap_type_1, at tree-inline.cc:564

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

2025-06-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120358 --- Comment #15 from Andrew Pinski --- (In reply to Sam James from comment #13) > FWIW, it fails with -fno-strict-aliasing still (and the original). oh.

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

2025-06-28 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120358 --- Comment #13 from Sam James --- FWIW, it fails with -fno-strict-aliasing still (and the original).

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

2025-06-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120358 --- Comment #14 from Andrew Pinski --- https://doc.qt.io/qt-6/qchar.html yes what they mention is totally wrong. I am 99% sure QT code is not alias friendly at all and needs to be fixed and it looks hard to fix as they treat char16_t and QCha

[Bug c/120860] add ability to silence -Wmissing-field-initializers warnings on selected structs

2025-06-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120860 Andrew Pinski changed: What|Removed |Added Keywords||diagnostic Severity|normal

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

2025-06-28 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120358 --- Comment #10 from Sam James --- Created attachment 61748 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61748&action=edit small.cxx Not sure if this testcase is valid but it aborts with >=15 with -O3 and works with -fno-tree-pta. It st

[Bug c/120860] add ability to silence -Wmissing-field-initializers warnings on selected structs

2025-06-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120860 --- Comment #1 from Andrew Pinski --- It seems like some fields are optional, they are put in another struct and then use {} or {0}. Or do you want anything attribute on the fields which are optional. But if that won't allow if a set of fields

[Bug middle-end/120858] __builtin_rev_crc64_data64 poorly optimised when computing crc32

2025-06-28 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120858 Jeffrey A. Law changed: What|Removed |Added Last reconfirmed||2025-06-29 Ever confirmed|0

[Bug c/120862] New: ICE on x86_64-linux-gnu: verify_gimple failed during IPA pass: remove_symbols at -O2/s with aligned

2025-06-28 Thread jiangchangwu at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120862 Bug ID: 120862 Summary: ICE on x86_64-linux-gnu: verify_gimple failed during IPA pass: remove_symbols at -O2/s with aligned Product: gcc Version: 16.0 Status: UNCONFIRME

[Bug middle-end/120858] __builtin_rev_crc64_data64 poorly optimised when computing crc32

2025-06-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120858 Andrew Pinski changed: What|Removed |Added Status|SUSPENDED |NEW --- Comment #4 from Andrew Pinski

[Bug ada/120854] compilation of concatenation with illegal character constant hangs

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

[Bug middle-end/120855] [16 Regression] Recent changes causing ICE in assemble_name_resolve

2025-06-28 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120855 --- Comment #1 from Nathaniel Shead --- Created attachment 61747 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61747&action=edit possible fix Sorry for the breakage. The issue is this assertion in assemble_name_resolve: mark_refe

[Bug c/120837] [12/13/14/15/16 regression] False-positive from -fsanitize=undefined

2025-06-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120837 --- Comment #14 from Andrew Pinski --- (In reply to Jakub Jelinek from comment #12) > Dunno if the best thing is to just drop this altogether, or don't do it for > -fsanitize=undefined, or do it but on pointer sized ints instead of pointers. I

[Bug ada/120854] compilation of concatenation with illegal character constant hangs

2025-06-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120854 --- Comment #3 from GCC Commits --- The releases/gcc-15 branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:06a26f4d643a5d045d893cd443425b13bd3d1b4b commit r15-9873-g06a26f4d643a5d045d893cd443425b13bd3d1b4b Author: Eric Botcazou

[Bug middle-end/116375] redundant copy not eliminated with CONSTRUCTOR

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

[Bug c/120837] [12/13/14/15/16 regression] False-positive from -fsanitize=undefined

2025-06-28 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120837 Jakub Jelinek changed: What|Removed |Added Component|middle-end |c CC|

[Bug c++/120857] New: The wording of the warning issued by Wreturn-type is overly confident for the current implementation

2025-06-28 Thread tiborgyri at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120857 Bug ID: 120857 Summary: The wording of the warning issued by Wreturn-type is overly confident for the current implementation Product: gcc Version: 16.0 URL: https://g

[Bug c++/120857] The wording of the warning issued by Wreturn-type is overly confident for the current implementation

2025-06-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120857 Andrew Pinski changed: What|Removed |Added URL|https://godbolt.org/z/xn5Th | |8avT

[Bug c/67629] bogus -Wreturn-type in a function with tautological if-else

2025-06-28 Thread tiborgyri at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67629 Tibor Győri changed: What|Removed |Added CC||tiborgyri at gmail dot com --- Comment #11

[Bug c/120837] [12/13/14/15/16 regression] False-positive from -fsanitize=undefined

2025-06-28 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120837 --- Comment #13 from Jakub Jelinek --- And/or detect cases where doing this optimization is valid on pointers, say &arr[0] + (x + 4) where (&arr[0] + 4) + x is valid because the arr is array and has 4+ elements, or &arr[1] + (x - 1) where (&arr[

[Bug c++/120857] The wording of the warning issued by Wreturn-type is overly confident for the current implementation

2025-06-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120857 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug ada/120854] compilation of concatenation with illegal character constant hangs

2025-06-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120854 --- Comment #2 from GCC Commits --- The master branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:0788add46a172b7b1c565fafdef80979be3dc2a6 commit r16-1761-g0788add46a172b7b1c565fafdef80979be3dc2a6 Author: Eric Botcazou Date: S