[Bug c/114014] [14/15 Regression] ICE: 'verify_type' failed: 'TYPE_CANONICAL' is not compatible with -g on gcc.dg/gnu23-tag-1.c and builtin-sprintf-warn-1.c

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

[Bug tree-optimization/117623] abs(a) == INT_MIN -> A == INT_MIN

2024-11-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117623 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug tree-optimization/117623] New: abs(a) == INT_MIN -> A == INT_MIN

2024-11-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117623 Bug ID: 117623 Summary: abs(a) == INT_MIN -> A == INT_MIN Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal Priorit

[Bug c/114723] ICE when checking for type compatibility with structure that contains flexible array member (C23)

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

[Bug c/117622] [14/15 regression] builtin-sprintf-warn-1.c test fails with -std=gnu23 -g (error: ‘TYPE_CANONICAL’ is not compatible)

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

[Bug c/114014] ICE: 'verify_type' failed: 'TYPE_CANONICAL' is not compatible with -g on gcc.dg/gnu23-tag-1.c

2024-11-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114014 --- Comment #3 from Andrew Pinski --- *** Bug 117622 has been marked as a duplicate of this bug. ***

[Bug c/114014] [14/15 Regression] ICE: 'verify_type' failed: 'TYPE_CANONICAL' is not compatible with -g on gcc.dg/gnu23-tag-1.c

2024-11-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114014 Andrew Pinski changed: What|Removed |Added Summary|ICE: 'verify_type' failed: |[14/15 Regression] ICE:

[Bug tree-optimization/117093] Missing detection of REV64 vector permute

2024-11-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117093 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |15.0 --- Comment #8 from Andrew Pinski

[Bug c/113688] verify_type fails for compatible structs with FAM in C23

2024-11-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113688 Sam James changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug c/117622] [14/15 regression] builtin-sprintf-warn-1.c test fails with -std=gnu23 -g (error: ‘TYPE_CANONICAL’ is not compatible)

2024-11-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117622 Sam James changed: What|Removed |Added Target Milestone|--- |14.3 Keywords|

[Bug c/117622] New: [14/15 regression] builtin-sprintf-warn-1.c test fails with -std=gnu23 -g (error: ‘TYPE_CANONICAL’ is not compatible)

2024-11-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117622 Bug ID: 117622 Summary: [14/15 regression] builtin-sprintf-warn-1.c test fails with -std=gnu23 -g (error: ‘TYPE_CANONICAL’ is not compatible) Product: gcc Versio

[Bug tree-optimization/109410] [13/14/15 Regression] ICE: verify_flow_info failed

2024-11-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109410 Sam James changed: What|Removed |Added Last reconfirmed|2024-08-24 00:00:00 |2024-11-16 --- Comment #21 from Sam James

[Bug d/117621] [13/14/15 regression] runnable/mangle.d test fails with -g (d21: error: type variant differs by TYPE_PACKED)

2024-11-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117621 Sam James changed: What|Removed |Added Target Milestone|--- |13.4

[Bug d/117621] New: [13/14/15 regression] runnable/mangle.d test fails with -g (d21: error: type variant differs by TYPE_PACKED)

2024-11-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117621 Bug ID: 117621 Summary: [13/14/15 regression] runnable/mangle.d test fails with -g (d21: error: type variant differs by TYPE_PACKED) Product: gcc Version: 15.0

[Bug tree-optimization/96188] -Wstringop-overflow false positive on std::vector::push_back with -O3

2024-11-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96188 Sam James changed: What|Removed |Added Keywords|needs-bisection | --- Comment #10 from Sam James --- (In rep

[Bug target/113243] mips: Wrong code for pr91323.c

2024-11-15 Thread syq at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113243 YunQiang Su changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/113243] mips: Wrong code for pr91323.c

2024-11-15 Thread syq at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113243 --- Comment #2 from YunQiang Su --- Ohh. In fact the e3e5fd0c24c9b82d824da27bf8455bb3654e8eff works for r6 with @@ -1082,7 +1085,7 @@ (lt "lt") (le "le") (ordered "or"

[Bug modula2/117555] [15 regression] libgm2 build failure after r15-5081-g95960cd473297c

2024-11-15 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117555 Gaius Mulley changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug modula2/117555] [15 regression] libgm2 build failure after r15-5081-g95960cd473297c

2024-11-15 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117555 --- Comment #3 from Gaius Mulley --- Closing now that the patch has been applied.

[Bug modula2/117555] [15 regression] libgm2 build failure after r15-5081-g95960cd473297c

2024-11-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117555 --- Comment #2 from GCC Commits --- The master branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:e77fd9aa89c210db6006fcefb03d80bae0fae851 commit r15-5331-ge77fd9aa89c210db6006fcefb03d80bae0fae851 Author: Gaius Mulley Date: Sat

[Bug target/117594] [15 regression] RISC-V: Miscompile at -O3 since r15-4012-gba7632674a2

2024-11-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117594 Sam James changed: What|Removed |Added CC||rguenth at gcc dot gnu.org Summa

[Bug tree-optimization/105558] simple 8-bit integer calculation fails with -O3 / march=core-avx2 on some gfortran 8/9/10 versions

2024-11-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105558 --- Comment #9 from Sam James --- I can bisect it if someone gives me a case which aborts with the wrong value.

[Bug target/117594] [15] RISC-V: Miscompile at -O3 since r15-4012-gba7632674a2

2024-11-15 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117594 Patrick O'Neill changed: What|Removed |Added Summary|[15] RISC-V: Miscompile at |[15] RISC-V: Miscompile at

[Bug tree-optimization/111292] [14/15 Regression] Missed Dead Code Elimination since r14-2228-g02460c0b8c9

2024-11-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111292 Sam James changed: What|Removed |Added Keywords|needs-bisection | --- Comment #5 from Sam James --- (In rep

[Bug c++/117620] Problem passing rvalue to co_yield (maybe?)

2024-11-15 Thread mwd at md5i dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117620 --- Comment #1 from Michael Duggan --- When I said line 214, I actually meant line 213. (I modified the example but didn't update all of my text.)

[Bug tree-optimization/115275] [14/15 Regression] Missed optimization for Dead Code Elimination since r14-1951-g7b34cacc573538

2024-11-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115275 --- Comment #7 from Andrew Pinski --- (In reply to Andrew Pinski from comment #6) > This should work: Mostly (except for a mistmatched `()`). So now just need to write testcases.

[Bug c++/117620] New: Problem passing rvalue to co_yield (maybe?)

2024-11-15 Thread mwd at md5i dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117620 Bug ID: 117620 Summary: Problem passing rvalue to co_yield (maybe?) Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c+

[Bug target/117596] avr support for BitInt

2024-11-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117596 Sam James changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/117588] m68k support for BitInt

2024-11-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117588 Sam James changed: What|Removed |Added Last reconfirmed||2024-11-16 Status|UNCONFIRMED

[Bug target/114175] [13/14] Execution test failures on gcc.dg/c23-stdarg-6.c on multiple targets

2024-11-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114175 --- Comment #65 from Sam James --- (In reply to Sam James from comment #64) > I think the bug was kept open for other targets to check if they needed > adaptation. > > jakub's guess in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114175#c24 > s

[Bug target/117619] New: sh: may need adaptation for C23 varargs

2024-11-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117619 Bug ID: 117619 Summary: sh: may need adaptation for C23 varargs Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug modula2/117371] [14/15 Regression] type incompatibility between ‘INTEGER’ and ‘CARDINAL’

2024-11-15 Thread ludovic--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117371 --- Comment #6 from Ludovic Brenta --- Thanks for the fix but now I am curious: is K not a constant inside the outer loop? i.e. is it allowed to assign to K? (In Ada, FOR loops implicitly declare the so-called "loop parameter", a constant whose

[Bug target/117618] New: mmix: may need adaptation for C23 varargs

2024-11-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117618 Bug ID: 117618 Summary: mmix: may need adaptation for C23 varargs Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug target/117617] New: mcore: may need adaptation for C23 varargs

2024-11-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117617 Bug ID: 117617 Summary: mcore: may need adaptation for C23 varargs Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: targe

[Bug c/102989] Implement C2x's n2763 (_BitInt)

2024-11-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102989 Sam James changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/117616] New: frv: may need adaptation for C23 varargs

2024-11-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117616 Bug ID: 117616 Summary: frv: may need adaptation for C23 varargs Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug target/117593] amdgcn support for BitInt

2024-11-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117593 Sam James changed: What|Removed |Added Last reconfirmed||2024-11-16 Ever confirmed|0

[Bug go/111310] BITINT_TYPE unsupported in godump.cc

2024-11-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111310 Bug 111310 depends on bug 102989, which changed state. Bug 102989 Summary: Implement C2x's n2763 (_BitInt) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102989 What|Removed |Added ---

[Bug ada/111308] BITINT_TYPE unsupported in c-ada-spec.cc

2024-11-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111308 Bug 111308 depends on bug 102989, which changed state. Bug 102989 Summary: Implement C2x's n2763 (_BitInt) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102989 What|Removed |Added ---

[Bug target/117599] LoongArch support for BitInt

2024-11-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117599 Sam James changed: What|Removed |Added Last reconfirmed||2024-11-16 Ever confirmed|0

[Bug target/117589] hppa support for BitInt

2024-11-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117589 Sam James changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/117590] nvptx support for BitInt

2024-11-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117590 Sam James changed: What|Removed |Added Last reconfirmed||2024-11-16 Status|UNCONFIRMED

[Bug target/117584] PowerPC ABI for BitInt needs to be done

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

[Bug target/117587] BPF support for BitInt

2024-11-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117587 Sam James changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/117580] [meta-bug] Targets should have a defined _BitInt ABI and implement that ABI

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

[Bug target/117581] Riscv support for _BitInt

2024-11-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117581 Sam James changed: What|Removed |Added CC||law at gcc dot gnu.org Status|U

[Bug target/117582] arm implementation of _BitInt

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

[Bug target/117583] big-endian aarch64 BitInt support

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

[Bug target/117585] IA64 BitInt support

2024-11-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117585 Sam James changed: What|Removed |Added Last reconfirmed||2024-11-16 Ever confirmed|0

[Bug c++/117615] [12/13/14/15 Regression] constexpr failure static_cast of Derived virtual Pointer to Member function since r6-4014-gdcdbc004d531b4

2024-11-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117615 Sam James changed: What|Removed |Added Summary|[12/13/14/15 Regression]|[12/13/14/15 Regression]

[Bug c++/117615] [12/13/14/15 Regression] constexpr failure static_cast of Derived virtual Pointer to Member function since r6-4015-g2a9fb7125e0b0e

2024-11-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117615 Sam James changed: What|Removed |Added Keywords|needs-bisection | Summary|[12/13/14/15 Regression

[Bug c/95445] diagnose incompatible calls to functions declared without prototype

2024-11-15 Thread fw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95445 --- Comment #4 from Florian Weimer --- Patch posted: [PATCH] c: Implement -Wdeprecated-non-prototype This is what the new warning produces for the input from th

[Bug c/117289] gcc.dg/debug/ctf/ctf-function-pointers-2.c failure with -std=gnu23

2024-11-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117289 --- Comment #6 from GCC Commits --- The master branch has been updated by Joseph Myers : https://gcc.gnu.org/g:55e3bd376b2214e200fa76d12b67ff259b06c212 commit r15-5327-g55e3bd376b2214e200fa76d12b67ff259b06c212 Author: Joseph Myers Date: Fri

[Bug c++/117614] [14/15 Regression] Cannot change active member of anonymous union in constant expression since r14-4771-g1d260ab0e39ea6

2024-11-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117614 Sam James changed: What|Removed |Added CC||nshead at gcc dot gnu.org Summar

[Bug modula2/117555] [15 regression] libgm2 build failure after r15-5081-g95960cd473297c

2024-11-15 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117555 Gaius Mulley changed: What|Removed |Added Last reconfirmed||2024-11-15 Status|UNCONFIRME

[Bug tree-optimization/115275] [14/15 Regression] Missed optimization for Dead Code Elimination since r14-1951-g7b34cacc573538

2024-11-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115275 --- Comment #6 from Andrew Pinski --- This should work: (for cmp (eq ne) (simplify (cmp (max @0 @1) integer_zerop@2) (if (TYPE_UNSIGNED (TREE_TYPE (@0)) (cmp (bit_ior @0 @1) @2)))

[Bug tree-optimization/115275] [14/15 Regression] Missed optimization for Dead Code Elimination since r14-1951-g7b34cacc573538

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

[Bug tree-optimization/115275] [14/15 Regression] Missed optimization for Dead Code Elimination since r14-1951-g7b34cacc573538

2024-11-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115275 Sam James changed: What|Removed |Added Summary|[14/15 Regression] Missed |[14/15 Regression] Missed

[Bug c++/117615] constexpr failure static_cast of Derived virtual Pointer to Member function

2024-11-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117615 --- Comment #3 from Andrew Pinski --- Created attachment 59605 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59605&action=edit Reduced testcase

[Bug c++/117615] constexpr failure static_cast of Derived virtual Pointer to Member function

2024-11-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117615 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Target Milestone|---

[Bug c++/117615] constexpr failure static_cast of Derived virtual Pointer to Member

2024-11-15 Thread acox at reliablecontrols dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117615 --- Comment #1 from Alec --- It is worth noting that the same code compiles under clang-18 (haven't tested other versions), although that doesn't mean they're doing the right thing.

[Bug c++/39437] Support for automatic linking via pragma

2024-11-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39437 --- Comment #10 from Andrew Pinski --- (In reply to Andrew Pinski from comment #9) > https://hachyderm.io/@whitequark@mastodon.social/113488978156293353 > > So it looks like clang puts it in the .deplibs SHT_LLVM_DEPENDENT_LIBRARIES > section.

[Bug c++/39437] Support for automatic linking via pragma

2024-11-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39437 --- Comment #9 from Andrew Pinski --- https://hachyderm.io/@whitequark@mastodon.social/113488978156293353 So it looks like clang puts it in the .deplibs SHT_LLVM_DEPENDENT_LIBRARIES section. I don't know if lld or mold reads that section thoug

[Bug c++/117615] New: constexpr failure static_cast of Derived virtual Pointer to Member

2024-11-15 Thread acox at reliablecontrols dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117615 Bug ID: 117615 Summary: constexpr failure static_cast of Derived virtual Pointer to Member Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/90594] [12/13/14/15 regression] Spurious popcount emitted

2024-11-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90594 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/117614] [14/15 Regression] Cannot change active member of anonymous union in constant expression

2024-11-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117614 Andrew Pinski changed: What|Removed |Added Summary|Cannot change active member |[14/15 Regression] Cannot

[Bug c++/117614] New: Cannot change active member of anonymous union in constant expression

2024-11-15 Thread fchelnokov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117614 Bug ID: 117614 Summary: Cannot change active member of anonymous union in constant expression Product: gcc Version: 14.2.1 Status: UNCONFIRMED Severity: normal

[Bug modula2/117371] [14/15 Regression] type incompatibility between ‘INTEGER’ and ‘CARDINAL’

2024-11-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117371 --- Comment #5 from GCC Commits --- The master branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:f242f79b8afeec58477e99c44530bd503878c6d5 commit r15-5326-gf242f79b8afeec58477e99c44530bd503878c6d5 Author: Gaius Mulley Date: Fri

[Bug libstdc++/98723] On Windows with CP936 encoding, regex compiles very slow.

2024-11-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98723 --- Comment #14 from Jonathan Wakely --- Thanks! Please CC the libstdc++ list, as per https://gcc.gnu.org/lists.html https://gcc.gnu.org/contribute.html lists the other requirements. I think this is small enough to not need a copyright assignme

[Bug libstdc++/109442] Dead local copy of std::vector not removed from function

2024-11-15 Thread hubicka at ucw dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109442 --- Comment #28 from Jan Hubicka --- > vector::size() is called **very often** so needs to be as fast as possible. > Does this still inline identically? Last year I made patch for inliner to ignore conditions guarding __builtin_unreachable. Ric

[Bug modula2/117371] [14/15 Regression] type incompatibility between ‘INTEGER’ and ‘CARDINAL’

2024-11-15 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117371 --- Comment #3 from Gaius Mulley --- Created attachment 59604 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59604&action=edit Proposed fix Thanks for the bug report. The error location was missing and here is a proposed fix. All langua

[Bug modula2/117371] [14/15 Regression] type incompatibility between ‘INTEGER’ and ‘CARDINAL’

2024-11-15 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117371 Gaius Mulley changed: What|Removed |Added Last reconfirmed||2024-11-15 Status|UNCONFIRME

[Bug c++/117613] [modules] using-directive not exported

2024-11-15 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117613 --- Comment #1 from Jason Merrill --- This interferes with the using-directive used to bring the chrono literal operators from ...::chrono_literals into std::chrono, breaking libstdc++-prettyprinters/chrono.cc.

[Bug c++/117613] [modules] using-directive not exported

2024-11-15 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117613 Jason Merrill changed: What|Removed |Added Last reconfirmed||2024-11-15 Ever confirmed|0

[Bug c++/117613] New: [modules] using-directive not exported

2024-11-15 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117613 Bug ID: 117613 Summary: [modules] using-directive not exported Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug tree-optimization/115016] [14/15 regression] False positive -Wfree-nonheap-object using std::vector with -O3

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

[Bug rtl-optimization/116781] [lra][avr] internal compiler error: in cselib_invalidate_regno, at cselib.cc:2545

2024-11-15 Thread denisc at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116781 --- Comment #4 from Denis Chertykov --- (In reply to Georg-Johann Lay from comment #2) > Created attachment 59602 [details] > pr116781-gjl.diff > > (In reply to Denis Chertykov from comment #1) > > Probably we have a wring definition of "*table

[Bug rtl-optimization/116781] [lra][avr] internal compiler error: in cselib_invalidate_regno, at cselib.cc:2545

2024-11-15 Thread denisc at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116781 --- Comment #3 from Denis Chertykov --- (In reply to Georg-Johann Lay from comment #2) > Created attachment 59602 [details] > pr116781-gjl.diff > > (In reply to Denis Chertykov from comment #1) > > Probably we have a wring definition of "*table

[Bug c/117548] [15 regression] ICE when redeclaring function with a compatible type involving C23 structure compatibility

2024-11-15 Thread uecker at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117548 --- Comment #3 from uecker at gcc dot gnu.org --- PATCH: https://gcc.gnu.org/pipermail/gcc-patches/2024-November/668998.html

[Bug tree-optimization/117093] Missing detection of REV64 vector permute

2024-11-15 Thread jschmitz at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117093 Jennifer Schmitz changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/117093] Missing detection of REV64 vector permute

2024-11-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117093 --- Comment #6 from GCC Commits --- The master branch has been updated by Jennifer Schmitz : https://gcc.gnu.org/g:c83e2d47574fd9a21f257e0f0d7e350c3f1b0618 commit r15-5324-gc83e2d47574fd9a21f257e0f0d7e350c3f1b0618 Author: Jennifer Schmitz Dat

[Bug rtl-optimization/117611] [15 Regression] internal compiler error: in as_a, at machmode.h:381

2024-11-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117611 Andrew Pinski changed: What|Removed |Added Keywords||ice-checking Known to work|14.2.0

[Bug libstdc++/98723] On Windows with CP936 encoding, regex compiles very slow.

2024-11-15 Thread luca.bacci at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98723 --- Comment #13 from Luca Bacci --- Here we are: https://gcc.gnu.org/pipermail/gcc-patches/2024-November/668988.html Let me know if anything is missing. Best regards, Luca

[Bug tree-optimization/115016] False positive -Wfree-nonheap-object using std::vector with -O3

2024-11-15 Thread mstarovo at pm dot me via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115016 --- Comment #2 from Mark Starovoytov --- This issue is still reproducible with 14.2 and trunk. Another godbolt example (very similar): https://godbolt.org/z/3xrMGMYx7

[Bug tree-optimization/117612] spaceship codegen is inferior to hand written operator when comparing doubles

2024-11-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117612 --- Comment #2 from Andrew Pinski --- There is a dup of this.

[Bug c/115109] Incorrect type of enumeration constant in redeclaration of enumeration constant (C23)

2024-11-15 Thread uecker at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115109 --- Comment #13 from uecker at gcc dot gnu.org --- Tests were fixed in PR115545

[Bug tree-optimization/117612] spaceship codegen is inferior to hand written operator when comparing doubles

2024-11-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117612 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug libstdc++/109442] Dead local copy of std::vector not removed from function

2024-11-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109442 --- Comment #27 from Jonathan Wakely --- vector::size() is called **very often** so needs to be as fast as possible. Does this still inline identically? I tried something like that in r14-1452-gfb409a15d9babc and reverted it in r14-1470-gb7b255

[Bug target/117564] a-comp.c:649:1: internal compiler error: in plus_constant, at explow.cc:102

2024-11-15 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117564 John David Anglin changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRME

[Bug tree-optimization/116518] GCC does not optimize-out useless operations. Clang does.

2024-11-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116518 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #8

[Bug target/117564] a-comp.c:649:1: internal compiler error: in plus_constant, at explow.cc:102

2024-11-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117564 --- Comment #4 from GCC Commits --- The releases/gcc-13 branch has been updated by John David Anglin : https://gcc.gnu.org/g:e99c6e555703bd2b5d139914b24958a1a5de1d69 commit r13-9194-ge99c6e555703bd2b5d139914b24958a1a5de1d69 Author: John David

[Bug target/117564] a-comp.c:649:1: internal compiler error: in plus_constant, at explow.cc:102

2024-11-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117564 --- Comment #3 from GCC Commits --- The releases/gcc-14 branch has been updated by John David Anglin : https://gcc.gnu.org/g:878b3354859ace887c0613fda6b79e96d6d5024b commit r14-10932-g878b3354859ace887c0613fda6b79e96d6d5024b Author: John David

[Bug target/117564] a-comp.c:649:1: internal compiler error: in plus_constant, at explow.cc:102

2024-11-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117564 --- Comment #2 from GCC Commits --- The master branch has been updated by John David Anglin : https://gcc.gnu.org/g:029c16c15f79dc27d44d77d82fd38aabe83bd4f7 commit r15-5323-g029c16c15f79dc27d44d77d82fd38aabe83bd4f7 Author: John David Anglin D

[Bug libstdc++/110952] Allocator::pointer is required to be implicitly convertible from and into a native pointer

2024-11-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110952 --- Comment #3 from Jonathan Wakely --- (In reply to Kamil Kaznowski from comment #0) > This proper way of handling allocator pointer is already implemented in > std::forward_list. This is not true: _Fwd_list_node_base* _M_node; The pro

[Bug libstdc++/110952] Allocator::pointer is required to be implicitly convertible from and into a native pointer

2024-11-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110952 Jonathan Wakely changed: What|Removed |Added Keywords||patch --- Comment #2 from Jonathan Wa

[Bug libstdc++/57272] node-based containers don't use allocator's pointer type internally

2024-11-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57272 --- Comment #7 from Jonathan Wakely --- Patch for std::list posted: https://gcc.gnu.org/pipermail/gcc-patches/2024-November/668979.html

[Bug tree-optimization/117612] New: spaceship codegen is inferior to hand written operator when comparing doubles

2024-11-15 Thread cuzdav at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117612 Bug ID: 117612 Summary: spaceship codegen is inferior to hand written operator when comparing doubles Product: gcc Version: 15.0 Status: UNCONFIRMED Severity:

[Bug tree-optimization/116518] GCC does not optimize-out useless operations. Clang does.

2024-11-15 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116518 --- Comment #7 from Jan Hubicka --- I wonder if DSE can use gimple_call_from_new_or_delete even without -fassume-sane-operator-new. In normal use of operator delete we know that the object in question was destroyed and thus memory is undefined.

[Bug rtl-optimization/117611] New: internal compiler error: in as_a, at machmode.h:381

2024-11-15 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117611 Bug ID: 117611 Summary: internal compiler error: in as_a, at machmode.h:381 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compone

[Bug libstdc++/109442] Dead local copy of std::vector not removed from function

2024-11-15 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109442 --- Comment #26 from Jan Hubicka --- After some more checking we need help from libstdc++ here. Problem is that size does the pointer subtraction which is always positive, but we do not know it, and then converts it to size_type. The following

  1   2   >