[Bug other/119855] cassert incompatible with new multidimensional index operator in c++23

2025-04-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119855 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2025-04-17 Resolution|MOVED

[Bug libstdc++/119855] cassert incompatible with new multidimensional index operator in c++23

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

[Bug libstdc++/119855] cassert incompatible with new multidimensional index operator in c++23

2025-04-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119855 --- Comment #5 from Andrew Pinski --- assert.h comes from libc though ...

[Bug libstdc++/119855] cassert incompatible with new multidimensional index operator in c++23

2025-04-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119855 Andrew Pinski changed: What|Removed |Added See Also||https://sourceware.org/bugz

[Bug libbacktrace/119855] cassert incompatible with new multidimensional index operator in c++23

2025-04-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119855 --- Comment #4 from Andrew Pinski --- https://wg21.link/P2264R7

[Bug libbacktrace/119855] cassert incompatible with new multidimensional index operator in c++23

2025-04-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119855 Andrew Pinski changed: What|Removed |Added Component|c++ |libbacktrace CC|

[Bug c++/119846] function returning vla causes ICE

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

[Bug c++/119855] cassert incompatible with new multidimensional index operator in c++23

2025-04-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119855 --- Comment #2 from Andrew Pinski --- GCC actually documents this too: https://gcc.gnu.org/onlinedocs/cpp/Macro-Arguments.html Even though that is part of the standard.

[Bug c++/119855] cassert incompatible with new multidimensional index operator in c++23

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

[Bug tree-optimization/118947] Missed optimization: GCC forgets stack buffer contents across function call

2025-04-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118947 --- Comment #6 from Andrew Pinski --- The aliasing improvement patch: https://gcc.gnu.org/pipermail/gcc-patches/2025-April/681345.html The STRING_CST part was already approved and I will be pushing it tomorrow.

[Bug c/119845] Something triggered by -march=native create code that is not compliant with floating point standards

2025-04-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119845 --- Comment #3 from Andrew Pinski --- double c = split_factor * a; ... res.x = c-(c-a); >not compliant with floating point standards Kinda of. If you use -std=c23 instead of the default of -std=gnu23 (assuming the trunk, 13 defaulte

[Bug tree-optimization/118902] missing predicated VN due to Canonical order of comparison with invariant

2025-04-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118902 Andrew Pinski changed: What|Removed |Added Keywords||patch URL|

[Bug tree-optimization/97640] GCC doesn't optimize-out outside-affecting lambdas within y-combinator while clang does.

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

[Bug c++/107360] ICE on sizeof(*f(x)) when f's (deduced) return type is a pointer to VLA

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

[Bug c++/16994] [meta-bug] VLA and C++

2025-04-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=16994 Bug 16994 depends on bug 119846, which changed state. Bug 119846 Summary: function returning vla causes ICE https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119846 What|Removed |Added ---

[Bug c++/107360] ICE on sizeof(*f(x)) when f's (deduced) return type is a pointer to VLA

2025-04-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107360 Andrew Pinski changed: What|Removed |Added CC||xiaohuba2021 at 163 dot com --- Comment

[Bug target/119847] [13/14/15 Regression] RISC-V:GCC fail to optimize repeated patterns in volatile operations

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

[Bug target/119851] [12/13/14/15/16 regression] -O2 -Q --help=common suggests -ftree-vectorize is disabled by default (since r12-4240-g2b8453c401b699)

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

[Bug middle-end/116356] signed overflow warning has misplaced line number

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

[Bug middle-end/116356] signed overflow warning has misplaced line number

2025-04-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116356 Andrew Pinski changed: What|Removed |Added CC||peppe at gcc dot gnu.org --- Comment #4

[Bug c++/119850] #pragma GCC diagnostic ignored "-Wstrict-overflow" is ignored

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

[Bug target/106902] [12/13/14/15/16 Regression] Program compiled with -O3 -mfma produces different result

2025-04-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106902 Andrew Pinski changed: What|Removed |Added CC||gabriel.fougeron at hotmail dot fr ---

[Bug c/119845] Something triggered by -march=native create code that is not compliant with floating point standards

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

[Bug fortran/119843] Failed to build 14.2.1 from sources on AlmaLimux10

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

[Bug libgdiagnostics/119837] Off-by-one truncation in a warning message from gfortran with quoted string

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

[Bug libstdc++/119742] [C++26] Implement P2697R1, Interfacing bitset with string_view

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

[Bug tree-optimization/97640] GCC doesn't optimize-out outside-affecting lambdas within y-combinator while clang does.

2025-04-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97640 Andrew Pinski changed: What|Removed |Added Component|c++ |tree-optimization Last reconfirmed|

[Bug c/119842] [15 Regression] ICE: in c_type_tag, at c/c-typeck.cc:606

2025-04-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119842 --- Comment #3 from Andrew Pinski --- Note this shows up only on x86_64 too. So maybe this is a backend bug ...

[Bug c++/79189] Poor code generation when using stateless lambda instead of normal function

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

[Bug c++/70723] Missed optimization opportunity for lambda converted to fun-ptr

2025-04-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70723 Andrew Pinski changed: What|Removed |Added CC||ldionne.2 at gmail dot com --- Comment #

[Bug libgdiagnostics/119837] Off-by-one truncation in a warning message from gfortran with quoted string

2025-04-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119837 --- Comment #4 from Andrew Pinski --- I was looking into this and don't see COLUMNS env being used for diagnostic messages width any more. But I could be wrong. I did it being used for printing out the line of the source file though.

[Bug c/119842] [15 Regression] ICE: in c_type_tag, at c/c-typeck.cc:606

2025-04-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119842 Andrew Pinski changed: What|Removed |Added Target|x86_64 |x86_64 powerpc*-*-* (32bit) --- Comment

[Bug c/119842] [15 Regression] ICE: in c_type_tag, at c/c-typeck.cc:606

2025-04-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119842 --- Comment #2 from Andrew Pinski --- By worked I mean we emitted a warning: ``` :3:5: warning: conflicting types for built-in function 'vfprintf'; expected 'int(void *, const char *, __va_list_tag *)' [-Wbuiltin-declaration-mismatch] 3 | in

[Bug c/119842] [15 Regression] ICE: in c_type_tag, at c/c-typeck.cc:606

2025-04-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119842 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Known to work|

[Bug tree-optimization/82956] Incorrect relocation emitted (symbol considered external) due to inlining and hidden visibility.

2025-04-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82956 Andrew Pinski changed: What|Removed |Added Keywords|link-failure| --- Comment #5 from Andrew Pinski ---

[Bug tree-optimization/82956] Incorrect relocation emitted (symbol considered external) due to inlining and hidden visibility.

2025-04-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82956 --- Comment #3 from Andrew Pinski --- The minimized testcase looks correct. This also might be a binutils/ld bug.

[Bug tree-optimization/82956] Incorrect relocation emitted (symbol considered external) due to inlining and hidden visibility.

2025-04-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82956 Andrew Pinski changed: What|Removed |Added See Also||https://sourceware.org/bugz

[Bug tree-optimization/82956] Incorrect relocation emitted (symbol considered external) due to inlining and hidden visibility.

2025-04-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82956 --- Comment #1 from Andrew Pinski --- No what happened was there is now a direct call to _ZThn120_N14Gtid_log_event13get_data_sizeEv (and not via PLT) and the _ZThn120_N14Gtid_log_event13get_data_sizeEv gets emitting in the object file as:

[Bug libstdc++/119739] [C++26] Implement P0952R2, A new specification for std::generate_canonical

2025-04-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119739 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

gcc-bugs@gcc.gnu.org

2025-04-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119745 Andrew Pinski changed: What|Removed |Added Keywords||c++23 Ever confirmed|0

[Bug libstdc++/119744] [C++23] Implement P2711R1, Making multi-param constructors of views explicit

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

[Bug libstdc++/119743] [C++26] Implement P0447R28, std::hive

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

[Bug libstdc++/119741] [C++26] Implement P2495R3, Interfacing stringstreams with string_view

2025-04-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119741 Andrew Pinski changed: What|Removed |Added Keywords||c++26 Status|UNCONFIRMED

[Bug libstdc++/119740] [C++26] Implement P2714R1, Bind front and back to NTTP callables

2025-04-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119740 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug lto/119839] [15 regression] RISC-V gobmk performance regression with Node clones share order patch (bad LTO partitioning) since r15-6345-g0895aef01c64c3

2025-04-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119839 --- Comment #4 from Andrew Pinski --- Note I am not even sure if we care about no strict aliasing performance issues in this case either. Most code has been fixed to be compatible with the c aliasing rules too. Though you might be able to get a

[Bug lto/119839] [15 regression] RISC-V gobmk performance regression with Node clones share order patch (bad LTO partitioning) since r15-6345-g0895aef01c64c3

2025-04-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119839 --- Comment #3 from Andrew Pinski --- What options are you using to compile? Are you using -fno-strict-aliasing? If so what is happening and why it was really just bad luck before if all of the uses of the variable were local to the partitionin

[Bug lto/119839] [15 regression] RISC-V gobmk performance regression with Node clones share order patch (bad LTO partitioning) since r15-6345-g0895aef01c64c3

2025-04-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119839 --- Comment #2 from Andrew Pinski --- Yes before the cloned symbols were put last. While now they ordered in the same batch as what the source was. so you will need to narrow down further why change_stack_pointer was pulled out of the loop befo

[Bug lto/119839] [15 regression] RISC-V gobmk performance regression with Node clones share order patch (bad LTO partitioning) since r15-6345-g0895aef01c64c3

2025-04-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119839 Andrew Pinski changed: What|Removed |Added Keywords||needs-reduction, |

[Bug middle-end/88670] [meta-bug] generic vector extension issues

2025-04-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88670 Bug 88670 depends on bug 111285, which changed state. Bug 111285 Summary: [12 Regression] vector ABSU is lowered incorrectly https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111285 What|Removed |Added --

[Bug tree-optimization/111285] [12 Regression] vector ABSU is lowered incorrectly

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

[Bug tree-optimization/116922] [12 Regression] ICE: in op_iter_init, at ssa-iterators.h:604 with -Ofast

2025-04-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116922 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/118476] [12 Regression] Internal compiler error, invalid 'PHI' argument since GCC8

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

[Bug tree-optimization/118922] [12 regression] Miscompile at -O2/3

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

[Bug tree-optimization/110009] Another missing ABS detection

2025-04-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110009 Bug 110009 depends on bug 111285, which changed state. Bug 111285 Summary: [12 Regression] vector ABSU is lowered incorrectly https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111285 What|Removed |Added

[Bug middle-end/117243] [12 regression] program crash under -O3 optimization or higher since r12-5300-gf98f373dd822b3

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

[Bug c++/119838] optional template keyword with global namespace causing error

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

[Bug target/119830] RISC-V:Internal Compiler Error on RISC-V Windows Toolchain (32-bit program) with -march=rv64gc_zbb_zbs

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

[Bug middle-end/119831] Missed pointer compare folding

2025-04-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119831 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug target/119830] RISC-V:Internal Compiler Error on RISC-V Windows Toolchain (32-bit program) with -march=rv64gc_zbb_zbs

2025-04-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119830 Andrew Pinski changed: What|Removed |Added Host||Mingw Target|

[Bug testsuite/108150] gcc.dg/attr-aligned.c fails with incorrect max alignment

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

[Bug middle-end/108016] RISC-V:Bad codegen in scalar code comparing to LLVM

2025-04-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108016 Andrew Pinski changed: What|Removed |Added CC||konstantin.vladimirov@gmail

[Bug middle-end/119828] RISC-V gcc rv64gc fails to optimize away stack frame

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

[Bug middle-end/119828] RISC-V gcc rv64gc fails to optimize away stack frame

2025-04-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119828 Andrew Pinski changed: What|Removed |Added Component|c |middle-end --- Comment #1 from Andrew P

[Bug target/64534] invalid -march value incosistency

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

[Bug target/64534] invalid -march value incosistency

2025-04-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64534 --- Comment #5 from Andrew Pinski --- (In reply to Phong Nguyen from comment #4) > I've been able to replicate this on GCC 8.5.0 but it looks like GCC 9.2.1, > 10.3.1, 11.2.1, 12.2.1, 13.3.1 and 14.2.1 are showing expected behavior. Huh? `gcc -m

[Bug tree-optimization/116093] wrong code with -Og -ftree-vrp -fno-tree-dce

2025-04-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116093 --- Comment #3 from Andrew Pinski --- Based on my analysis in comment #1 makes this sound similar to the problem that is being fixed by r15-9397-g3f9dfb94eab1ab1bbf9a2b5e20d1f61e36516063 . Notice _5 = _2; there.

[Bug modula2/119779] ASM examples no longer work

2025-04-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119779 --- Comment #9 from Andrew Pinski --- See https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/x86-Options.html#index-masm_003ddialect-1

[Bug middle-end/113546] [13 Regression] aarch64: bootstrap-debug-lean broken with -fcompare-debug failure since r13-2921-gf1adf45b17f7f1

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

[Bug tree-optimization/118476] [12 Regression] Internal compiler error, invalid 'PHI' argument since GCC8

2025-04-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118476 Andrew Pinski changed: What|Removed |Added Known to work||13.3.1 Summary|[12/13 Regres

[Bug middle-end/113546] [13 Regression] aarch64: bootstrap-debug-lean broken with -fcompare-debug failure since r13-2921-gf1adf45b17f7f1

2025-04-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113546 Andrew Pinski changed: What|Removed |Added Known to work||14.2.1 Summary|[13/14 Regres

[Bug c++/78217] Duplicate decls handling with auto

2025-04-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78217 Andrew Pinski changed: What|Removed |Added CC||heiko at hexco dot de --- Comment #6 fro

[Bug c++/119824] initialization of a static member variable with type auto or decltype(auto) is not accepted

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

[Bug c++/119824] initialization of a static member variable with type auto or decltype(auto) is not accepted

2025-04-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119824 --- Comment #1 from Andrew Pinski --- Even simplier is rejected: ``` extern unsigned t; auto t = 1u; ```

[Bug c++/79009] Missing 'inconsistent deduction for ‘auto’' error when having a dependent initializer and a nondependent one in the same declaration

2025-04-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79009 Andrew Pinski changed: What|Removed |Added Alias||cwg1347 Blocks|

[Bug libstdc++/119822] Linker failure with std::stacktrace

2025-04-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119822 --- Comment #2 from Andrew Pinski --- Sorry it is documented here: https://gcc.gnu.org/onlinedocs/gcc-14.2.0/libstdc++/manual/manual/using.html#manual.intro.using.flags

[Bug libstdc++/119822] Linker failure with std::stacktrace

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

[Bug lto/119816] Lto regression in 15-20250413 (worked in 15-20250407)

2025-04-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119816 --- Comment #6 from Andrew Pinski --- The other thing is `-fuse-ld=gold`, the gold linker itself has been deprecated in binutils upstream. You could also try removing that too.

[Bug target/119628] Need better mechanisms to manage register saves in callee for tail calls (inc. preserve_none for x86_64?)

2025-04-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119628 --- Comment #10 from Andrew Pinski --- (In reply to Ken Jin from comment #9) > : >0: 55 pushq %rbp >1: 48 89 e5movq%rsp, %rbp >4: 48 89 f

[Bug tree-optimization/111285] [12 Regression] vector ABSU is lowered incorrectly

2025-04-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111285 Andrew Pinski changed: What|Removed |Added Summary|[12/13 Regression] vector |[12 Regression] vector ABSU

[Bug tree-optimization/116922] [12 Regression] ICE: in op_iter_init, at ssa-iterators.h:604 with -Ofast

2025-04-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116922 Andrew Pinski changed: What|Removed |Added Known to work||13.3.1 Summary|[12/13 Regres

[Bug tree-optimization/118922] [12 regression] Miscompile at -O2/3

2025-04-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118922 Andrew Pinski changed: What|Removed |Added Summary|[12/13 regression] |[12 regression] Miscompile

[Bug middle-end/117243] [12 regression] program crash under -O3 optimization or higher since r12-5300-gf98f373dd822b3

2025-04-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117243 Andrew Pinski changed: What|Removed |Added Known to work||13.3.1 Summary|[12/13 regres

[Bug target/95782] [s390] ICE in _cpp_pop_context

2025-04-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95782 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |15.0

[Bug tree-optimization/118922] [12/13 regression] Miscompile at -O2/3

2025-04-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118922 Andrew Pinski changed: What|Removed |Added Known to fail||14.2.0 Known to work|

[Bug middle-end/117243] [12/13 regression] program crash under -O3 optimization or higher since r12-5300-gf98f373dd822b3

2025-04-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117243 Andrew Pinski changed: What|Removed |Added Summary|[12/13/14 regression] |[12/13 regression] program

[Bug c++/119814] requires-clauses think void can be passed to ...

2025-04-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119814 --- Comment #2 from Andrew Pinski --- Interesting take the following: ``` void a(...); template bool b1() { return requires (void (*v)(...)) { v(v(1)); }; } bool c() { return b1(); } ``` Clang and GCC both say this returns 1 but MSVC retu

[Bug c++/119814] requires-clauses think void can be passed to ...

2025-04-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119814 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug middle-end/119808] wrong code with _BitInt() and -ftree-coalesce-vars -fstack-protector-strong

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

[Bug tree-optimization/119811] New: calls.h should not be needed for tree-ssa-phiopt.cc

2025-04-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119811 Bug ID: 119811 Summary: calls.h should not be needed for tree-ssa-phiopt.cc Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: internal-improvement Severity: enhan

[Bug tree-optimization/119811] calls.h should not be needed for tree-ssa-phiopt.cc

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

[Bug rust/119341] statement_list in rust-gcc.cc can use range for

2025-04-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119341 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/116922] [12/13 Regression] ICE: in op_iter_init, at ssa-iterators.h:604 with -Ofast

2025-04-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116922 Andrew Pinski changed: What|Removed |Added Known to fail|14.2.1 | Summary|[12/13/14 Regressio

[Bug rust/117869] rust fails to build with cargo command error

2025-04-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117869 --- Comment #5 from Andrew Pinski --- And I can confirm I can build rust now.

[Bug rust/117869] rust fails to build with cargo command error

2025-04-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117869 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |15.0 Resolution|---

[Bug rust/119342] block in rust-gcc.cc could use some comments

2025-04-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119342 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |15.0 Status|ASSIGNED

[Bug tree-optimization/118476] [12/13 Regression] Internal compiler error, invalid 'PHI' argument since GCC8

2025-04-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118476 --- Comment #15 from Andrew Pinski --- (In reply to Andrew Pinski from comment #14) > Fixed also for GCC 14.3.0. r14-11609-gf6efcd3d4855e57 for reference; I forgot to update the bug # to reference this one too.

[Bug tree-optimization/116098] [14 Regression] _Bool value from tagged union is incorrect when built with optimization since r14-1597-g64d90d06d2db43

2025-04-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116098 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/118476] [12/13 Regression] Internal compiler error, invalid 'PHI' argument since GCC8

2025-04-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118476 Andrew Pinski changed: What|Removed |Added Summary|[12/13/14 Regression] |[12/13 Regression] Internal

[Bug tree-optimization/111285] [12/13 Regression] vector ABSU is lowered incorrectly

2025-04-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111285 Andrew Pinski changed: What|Removed |Added Known to work||14.2.1 Summary|[12/13/14 Reg

[Bug target/116927] [14 Regression] during RTL pass: early_ra: ICE: verify_flow_info failed: missing REG_EH_REGION note at the end of bb 4 with -fnon-call-exceptions -fno-delete-dead-exceptions

2025-04-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116927 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

  1   2   3   4   5   6   7   8   9   10   >