[Bug tree-optimization/117606] single element interleaving behavior for SLP does not exactly match non-SLP behavior

2024-11-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117606 Richard Biener changed: What|Removed |Added Blocks||116578 Keywords|

[Bug tree-optimization/117558] peeling for gap overrun check imprecise for VLA

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

[Bug tree-optimization/117606] New: single element interleaving behavior for SLP does not exactly match non-SLP behavior

2024-11-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117606 Bug ID: 117606 Summary: single element interleaving behavior for SLP does not exactly match non-SLP behavior Product: gcc Version: 15.0 Status: UNCONFIRMED Sev

[Bug tree-optimization/117605] New: SLP vectorization fails for negative stride interleaving

2024-11-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117605 Bug ID: 117605 Summary: SLP vectorization fails for negative stride interleaving Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Prio

[Bug tree-optimization/117605] SLP vectorization fails for negative stride interleaving

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

[Bug c++/117370] std::nothrow variants of operator new are not optimized away when block is unused

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

[Bug rtl-optimization/117128] [15 regression] GCC trunk generates larger code than GCC 14 at -Os/Oz since r14-2161-g237e83e2158a3d

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

[Bug target/117278] [12/13/14/15 regression] Code at -Os is larger on trunk than GCC 11.4.0 since r12-6149-gdc1969dab39266

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

[Bug target/117253] [14/15 regression] Generated code at -Os on trunk is larger than GCC 13.3 since r14-1656-g55fcaa9a8bd9c8

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

[Bug middle-end/117271] [13/14/15 regression] GCC trunk emits larger code at -Os than 12.4.0 since r14-3084-gaadc5c07feb0ab

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

[Bug target/117006] [15 regression] GCC trunk generates larger code than GCC 14 at -Os

2024-11-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117006 Sam James changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug target/116994] [15 regression] GCC trunk generates larger code than GCC 14 at -Os since r15-313-gd826f794560904

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

[Bug middle-end/117352] [15 Regression] switch bit test conversion makes comparison code worse on aarch64 and x86_64 with APX due to not generating ccmp

2024-11-15 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117352 --- Comment #4 from Filip Kastl --- It took me longer than I expected but I've submitted the patch. https://gcc.gnu.org/pipermail/gcc-patches/2024-November/668911.html

[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 --- Comment #14 from Andrew Pinski --- I should note some of the reuse stack issues are due to sccp even though the pointer value is there at the end anyways ...

[Bug tree-optimization/117574] [12/13/14/15 Regression] Miscompile with -O2/3 and -O0/1 since r6-4133-ga8fc25795155d4

2024-11-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117574 --- Comment #10 from Richard Biener --- And we compute the "noloop" condition as noloop = fold_build2 (GT_EXPR, boolean_type_node, iv0->base, fold_build2 (PLUS_EXPR, type1,

[Bug rtl-optimization/49330] Integer arithmetic on addresses optimised with pointer arithmetic rules

2024-11-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49330 --- Comment #40 from Richard Biener --- (In reply to Andrew Pinski from comment #39) > (In reply to Andrew Pinski from comment #38) > > Hmm, something changed in GCC 14 The original testcase now works so > > does the testcase in PR 93105 . >

[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

[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 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 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 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 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 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 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++/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++/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 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 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/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/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/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/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 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 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 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/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 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 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/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 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 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/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 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/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 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 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 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 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 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 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++/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/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] 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/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 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 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 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/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/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 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 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 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 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 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 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/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 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 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 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/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 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 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 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 tree-optimization/117574] [12/13/14/15 Regression] Miscompile with -O2/3 and -O0/1 since r6-4133-ga8fc25795155d4

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

[Bug target/114189] Target implements obsolete vcond{,u,eq} expanders

2024-11-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114189 --- Comment #16 from Richard Biener --- As of r15-5318-g5a2c3a69fbdcb5 both ISEL (which used to build .VCOND{,U,EQ}) and vector lowering (which allowed that) now only look for vec_cmp{,u,eq} and vec_cond_mask optabs.

[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 #9 from Luca Bacci --- To respond the my previous comment: the expected string encoding is determined by the C locale in use, which is either the global one or imbued in std::regex_traits.

[Bug testsuite/116080] [15 regression] New tests from r15-2233-g8d1af8f904a0c0 fail

2024-11-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116080 --- Comment #20 from GCC Commits --- The master branch has been updated by Christophe Lyon : https://gcc.gnu.org/g:a064fed18a02696586cd8c182fd56c571c9438c1 commit r15-5319-ga064fed18a02696586cd8c182fd56c571c9438c1 Author: Christophe Lyon Date

[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 #10 from Luca Bacci --- There's another report for Solaris which is essentially a duplicate: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85824. > the regex compilation will be affected by current locale even if > std::regex::collat

[Bug c++/110137] implement clang -fassume-sane-operator-new

2024-11-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110137 --- Comment #32 from Richard Biener --- (In reply to Jakub Jelinek from comment #31) > I believe to match clang++ behavior the needed change would be: > --- gcc/gimple.cc.jj 2024-11-14 18:26:16.877459015 +0100 > +++ gcc/gimple.cc 2024-11-15

[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 Depends on||57572 Target Milestone|---

[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 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |15.0 Status|NEW

[Bug c++/110137] implement clang -fassume-sane-operator-new

2024-11-15 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110137 --- Comment #34 from rguenther at suse dot de --- On Fri, 15 Nov 2024, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110137 > > --- Comment #33 from Jakub Jelinek --- > (In reply to Richard Biener from comment

[Bug tree-optimization/117574] [12/13/14/15 Regression] Miscompile with -O2/3 and -O0/1 since r6-4133-ga8fc25795155d4

2024-11-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117574 Richard Biener changed: What|Removed |Added Priority|P3 |P2 --- Comment #8 from Richard Biener

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

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

[Bug c/117610] -Wzero-as-null-pointer-constant false positive with {0}

2024-11-15 Thread alx at kernel dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117610 --- Comment #3 from Alejandro Colomar --- (In reply to Xi Ruoyao from comment #2) > No, it *is* initializing a pointer. You cannot initialize a struct with 0. > Instead the initializer is considered "flattened" in C. > > For example: > > str

[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 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 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 tree-optimization/117601] Another missing optimization after rewrite of SCCP for overflow

2024-11-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117601 --- Comment #4 from Richard Biener --- Aka char a; char b; (char *)((unsigned)&a + 1) is a "valid" way to get to 'b', so even always allowing 1 isn't safe.

[Bug target/117253] [14/15 regression] Generated code at -Os on trunk is larger than GCC 13.3 since r14-1656-g55fcaa9a8bd9c8

2024-11-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117253 --- Comment #9 from Andrew Pinski --- /* A C expression for the cost of a branch instruction. A value of 1 is the default; other values are interpreted relative to that. */ #define BRANCH_COST(speed_p, predictable_p) \ (!(speed_p) ? 2 :

[Bug tree-optimization/117607] New: unnecessary scev optimization for popcnt

2024-11-15 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117607 Bug ID: 117607 Summary: unnecessary scev optimization for popcnt Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-op

[Bug c/117610] -Wzero-as-null-pointer-constant false positive with {0}

2024-11-15 Thread alx at kernel dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117610 --- Comment #1 from Alejandro Colomar --- On the other hand, it would be interesting to have a diagnostic that helps switching from {0} to {}.

[Bug analyzer/117609] [14/15 Regression] ICE: SIGSEGV in fold_convert_const (fold-const.cc:2486) with -fanalyzer -frounding-math and __builtin_memmove()

2024-11-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117609 Richard Biener changed: What|Removed |Added Target Milestone|--- |14.3

[Bug c++/110137] implement clang -fassume-sane-operator-new

2024-11-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110137 --- Comment #33 from Jakub Jelinek --- (In reply to Richard Biener from comment #32) > See PR101480 for a reason why to not do this. That testcase would be fine with "mP" rather than "mC". Sure, that PR is a reason not to do the stronger (C) ca

[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 #12 from Jonathan Wakely --- Yes, that looks like nice improvement, thanks. I think it would be easier to read as: if (!_M_equiv_set.empty()) { auto __x = _M_traits.transform_primary(&__ch, &__ch+1);

  1   2   >