[Bug tree-optimization/120677] [15/16 regression] ICE on valid code at -O{2,3} on x86_64-linux-gnu: verify_flow_info failed since r15-5850

2025-06-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120677 --- Comment #5 from Andrew Pinski --- (In reply to Jakub Jelinek from comment #4) > s/gsi_start_bb/gsi_after_labels/ ? Yes looking at other locations that do that it is that.

[Bug tree-optimization/120677] [15/16 regression] ICE on valid code at -O{2,3} on x86_64-linux-gnu: verify_flow_info failed since r15-5850

2025-06-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120677 --- Comment #3 from Andrew Pinski --- The problem is obvious: gimple_stmt_iterator si = gsi_start_bb (output_crc->bb); gsi_insert_before (&si, call, GSI_SAME_STMT); This will insert before labels. I am not in front of computer to recommend the

[Bug tree-optimization/120677] [15/16 regression] ICE on valid code at -O{2,3} on x86_64-linux-gnu: verify_flow_info failed

2025-06-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120677 Andrew Pinski changed: What|Removed |Added Target Milestone|16.0|15.2 Summary|[16 regression]

[Bug tree-optimization/120677] [16 regression] ICE on valid code at -O{2,3} on x86_64-linux-gnu: verify_flow_info failed

2025-06-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120677 Andrew Pinski changed: What|Removed |Added Component|rtl-optimization|tree-optimization Target Milestone|15

[Bug tree-optimization/59786] GIMPLE invariant motion misses opportunity to reduce register pressure

2025-06-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59786 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |16.0 --- Comment #3 from Andrew Pinski

[Bug tree-optimization/59786] GIMPLE invariant motion misses opportunity to reduce register pressure

2025-06-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59786 --- Comment #2 from Andrew Pinski --- I think this was fixed a few weeks ago.

[Bug tree-optimization/109045] assume attribute does not always optimize std::optional cases

2025-06-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109045 --- Comment #3 from Andrew Pinski --- (In reply to Thiago Macieira from comment #2) > GCC doesn't print anything and doesn't take the assumption into account, but > Clang prints: > > warning: assumption is ignored because it contains (potential

[Bug testsuite/120643] [16 Regression] r16-1429 caused vect-pragma-target-1/2.c testcase failed with AVX512F related options

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

[Bug target/120641] Parameter passing warning from libstdc++ header

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

[Bug target/120641] Parameter passing warning from libstdc++ header

2025-06-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120641 --- Comment #6 from Andrew Pinski --- (In reply to Pierre Ossman from comment #4) > The error didn't indicate anything in our code, so I assumed this was > entirely a standard library issue. Has a reference to GestureHandler::GHTouch In the m

[Bug target/120641] Parameter passing warning from libstdc++ header

2025-06-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120641 --- Comment #1 from Andrew Pinski --- I am not sure this is not unwanted. The abi is changed between 6 and 7 (fixed to be following the specs). And we are warning about that.

[Bug c++/48026] #pragma optimize ignored for C++ for preprocessor

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

[Bug c++/115606] C++ front-end marks the return slot as addressable early on which prevents tail call being marked

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

[Bug rtl-optimization/118444] [Meta bug] musttail bugs

2025-06-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118444 Bug 118444 depends on bug 115606, which changed state. Bug 115606 Summary: C++ front-end marks the return slot as addressable early on which prevents tail call being marked https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115606 What

[Bug c++/115606] C++ front-end marks the return slot as addressable early on which prevents tail call being marked

2025-06-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115606 --- Comment #9 from Andrew Pinski --- >- why return slot opt at the gimple level is target specific? TO answer this question is simple, RSO is only for aggregates that returns in memory. Which happens for Foo for the arm target. While on x86_64

[Bug middle-end/82705] Missing tail calls for large structs returns

2025-06-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82705 Andrew Pinski changed: What|Removed |Added CC||andi-gcc at firstfloor dot org --- Comme

[Bug c++/115606] C++ front-end marks the return slot as addressable early on which prevents tail call being marked

2025-06-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115606 Andrew Pinski changed: What|Removed |Added Depends on||82705 --- Comment #7 from Andrew Pinski

[Bug c++/115606] C++ front-end marks the return slot as addressable early on which prevents tail call being marked

2025-06-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115606 --- Comment #6 from Andrew Pinski --- Here is a reduced testcase for aarch64: ``` class Foo { public: int a, b[1024]; Foo(int a, int b); }; Foo __attribute__((noinline,noclone,noipa)) callee (int i); Foo __attribute__((noinline,noclone,noi

[Bug tree-optimization/57485] memcpy in aggregate return not eliminated

2025-06-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57485 Andrew Pinski changed: What|Removed |Added CC||roland.illig at gmx dot de --- Comment #

[Bug rtl-optimization/44675] Inefficient code to return a large struct

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

[Bug tree-optimization/57485] RSO vs escape analysis and flow sensitive

2025-06-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57485 --- Comment #7 from Andrew Pinski --- (In reply to Andrew Pinski from comment #6) > *** Bug 104316 has been marked as a duplicate of this bug. *** Funny I Did the same analysis there as I have here :). Without realizing it too.

[Bug tree-optimization/104316] RSO is not used when doing assignment rather than initialization and address taken afterwards

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

[Bug tree-optimization/57485] memcpy in aggregate return not eliminated

2025-06-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57485 Andrew Pinski changed: What|Removed |Added Component|middle-end |tree-optimization Depends on|

[Bug tree-optimization/44675] RSO detection needs to be flow sensitive

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

[Bug rtl-optimization/44675] Inefficient code to return a large struct

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

[Bug ipa/120629] [16 regression] profiledbootstrap with lto fails

2025-06-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120629 --- Comment #8 from Andrew Pinski --- (In reply to Andreas Schwab from comment #7) > There are crashes also on arm64 and ppc64le, while compiling stage1 > libstdc++: > > https://build.opensuse.org/package/live_build_log/devel:gcc:next/gcc16/ >

[Bug ipa/120629] [16 regression] profiledbootstrap with lto fails

2025-06-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120629 Andrew Pinski changed: What|Removed |Added Keywords||wrong-code Summary|[16 regre

[Bug ipa/120629] [16 regression] profiledbootstrap with lto fails

2025-06-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120629 --- Comment #6 from Andrew Pinski --- Since this happening during the building of gengtype, you could reduce the enable languages down to just `c,c++` at least that will speed up the building that way.

[Bug ipa/120629] [16 regression] bootstrap-lto fails

2025-06-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120629 Andrew Pinski changed: What|Removed |Added Keywords||lto --- Comment #2 from Andrew Pinski

[Bug ipa/120629] [16 regression] bootstrap-lto fails

2025-06-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120629 Andrew Pinski changed: What|Removed |Added Host||x86_64 Target Milestone|---

[Bug c++/120628] GCC emits incorrect warnings/errors for identifiers "final" and "override" in C++98 mode

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

[Bug c++/120569] Valid C++14 (or C++11/C++98) incorrectly rejected

2025-06-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120569 Andrew Pinski changed: What|Removed |Added CC||de34 at live dot cn --- Comment #2 from

[Bug target/120627] [15/16 regression] RISC-V: Miscompile at -O[23] since r15-2186-g9d8ef2711df

2025-06-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120627 Andrew Pinski changed: What|Removed |Added Keywords||wrong-code Target Milestone|---

[Bug c++/120626] Wrong type generation with non-type template arguments

2025-06-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120626 Andrew Pinski changed: What|Removed |Added Depends on||94511 --- Comment #1 from Andrew Pinski

[Bug rtl-optimization/42909] inefficient code for trivial tail-call with large struct parameter

2025-06-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42909 --- Comment #5 from Andrew Pinski --- Created attachment 61618 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61618&action=edit Patch which I am testing for the aarch64 issue This also improves: ``` struct s1 { int x[1024]; }; struct s1 gs

[Bug testsuite/120519] g++.target/powerpc/mvc-symbols1.C fail starting with r16-965-g83eee43e998d0a

2025-06-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120519 --- Comment #9 from Andrew Pinski --- (In reply to Segher Boessenkool from comment #8) > Please always post all patches to gcc-patches@, and never ever commit > anything > to config/rs6000 without approval by its maintainers! It was posted: htt

[Bug rtl-optimization/42909] inefficient code for trivial tail-call with large struct parameter

2025-06-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42909 Andrew Pinski changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug middle-end/82705] Missing tail calls for large structs returns

2025-06-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82705 Andrew Pinski changed: What|Removed |Added Summary|Missing tail calls for |Missing tail calls for

[Bug c++/120620] [13/14/15/16 Regression] Internal Compiler Error in tree.cc, Line #11240

2025-06-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120620 --- Comment #2 from Andrew Pinski --- Created attachment 61615 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61615&action=edit Semi reduced, removed some unneeded code

[Bug c++/120620] [13/14/15/16 Regression] Internal Compiler Error in tree.cc, Line #11240

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

[Bug c++/120620] [13/14/15/16 Regression] Internal Compiler Error in tree.cc, Line #11240

2025-06-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120620 Andrew Pinski changed: What|Removed |Added Known to work||12.4.0 Target Milestone|---

[Bug c++/120620] Internal Compiler Error in tree.cc, Line #11240

2025-06-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120620 --- Comment #1 from Andrew Pinski --- Created attachment 61614 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61614&action=edit Testcase GodBolt link Next time please attach or place inline the testcase instead of JUST linking to GodBolt

[Bug middle-end/120544] [15/16 Regression] extend.texi causes a build failure for makeinfo 4.13 (and before)

2025-06-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120544 Andrew Pinski changed: What|Removed |Added Summary|GCC 15.1.0 and MacOS|[15/16 Regression] |M

[Bug target/120544] GCC 15.1.0 and MacOS Monterey : compilation failed

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

[Bug middle-end/68122] ICE in is_tm_pure_call with -fsanitize=undefined and -fgnu-tm

2025-06-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68122 --- Comment #15 from Andrew Pinski --- *** Bug 120619 has been marked as a duplicate of this bug. ***

[Bug ipa/120619] ICE: Segmentation fault during IPA pass: tmipa

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

[Bug ipa/94762] [12/13/14/15/16 Regression] ICE: Segmentation fault (in is_tm_irrevocable) since r7-1710-g849a76a5a20db383

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

[Bug middle-end/68122] ICE in is_tm_pure_call with -fsanitize=undefined and -fgnu-tm

2025-06-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68122 Andrew Pinski changed: What|Removed |Added CC||asolokha at gmx dot com --- Comment #14

[Bug ipa/120619] ICE: Segmentation fault during IPA pass: tmipa

2025-06-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120619 --- Comment #2 from Andrew Pinski --- fn = gimple_call_fn (stmt); /* Functions with the attribute are by definition irrevocable. */ if (is_tm_irrevocable (fn)) return true;

[Bug ipa/120619] ICE: Segmentation fault during IPA pass: tmipa

2025-06-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120619 --- Comment #1 from Andrew Pinski --- [apinski@xeond2 gcc]$ ./cc1 -fsanitize=thread -fgnu-tm t.c f Analyzing compilation unit Performing interprocedural optimizations <*free_lang_data> {heap 1116k} {heap 1116k} {heap 1116k} {heap 1392k} {h

[Bug middle-end/82705] Missing tail calls for large structs

2025-06-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82705 Andrew Pinski changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug tree-optimization/120616] Incorrect code with -O3 and compound literal

2025-06-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120616 --- Comment #4 from Andrew Pinski --- (In reply to Jia-Xien Fang from comment #3) > Is there any ways to perform the cast for the parameter without using > -fno-strict-aliasing? The issue is not the cast but what type the load and store are don

[Bug tree-optimization/120613] PGO build of PHP fails with SSA corruption

2025-06-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120613 --- Comment #7 from Andrew Pinski --- (In reply to Sam James from comment #6) > (In reply to P. Ruber from comment #5) > > (In reply to Andrew Pinski from comment #3) > > > or might it be a dup of bug 98845 . Both were fixed in Feburary . > > >

[Bug tree-optimization/120616] Incorrect code with -O3 and compound literal

2025-06-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120616 --- Comment #2 from Andrew Pinski --- changing the type of the compound literal to `long[]` instead of `long long[]` works. Also using -fno-strict-aliasing also allows the code to do the "right thing".

[Bug tree-optimization/120616] Incorrect code with -O3 and compound literal

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

[Bug libstdc++/120615] New: Remove pstl ?

2025-06-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120615 Bug ID: 120615 Summary: Remove pstl ? Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unas

[Bug c/120607] Incorrect optimization of multiple __builtin_unreachable() conditions leads to logic errors in control flow

2025-06-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120607 Andrew Pinski changed: What|Removed |Added Resolution|FIXED |INVALID --- Comment #3 from Andrew Pins

[Bug middle-end/120614] 525.x264_r is ~30% slower with AutoFDO

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

[Bug tree-optimization/70427] autofdo bootstrap generates wrong code

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

[Bug middle-end/120614] 525.x264_r is ~30% slower with AutoFDO

2025-06-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120614 Andrew Pinski changed: What|Removed |Added Target||aarch64 --- Comment #1 from Andrew Pins

[Bug tree-optimization/120613] PGO build of PHP fails with SSA corruption

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

[Bug tree-optimization/120613] PGO build of PHP fails with SSA corruption

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

[Bug c++/120611] Name of lambda member exposed

2025-06-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120611 --- Comment #2 from Andrew Pinski --- Clang exposes __invoke but it is private: :2:35: error: '__invoke' is a private member of '(lambda at :2:18)' 2 | return decltype([]{return 42;})::__invoke(); |

[Bug c++/120611] Name of lambda member exposed

2025-06-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120611 --- Comment #1 from Andrew Pinski --- Well _FUN is in the implementation defined namespace so I am not sure this if this is just a provided extension ...

[Bug middle-end/120608] error: cannot tail-call: other reasons when using address sanitizer with musttail

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

[Bug c++/120532] [12/13/14/15/16 Regression] diagnostic_context::diagnostic_impl ICE in refwrap.h

2025-06-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120532 Andrew Pinski changed: What|Removed |Added Known to work||11.4.0 Summary|diagnostic_co

[Bug c++/120532] diagnostic_context::diagnostic_impl ICE in refwrap.h

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

[Bug c++/120532] diagnostic_context::diagnostic_impl ICE in refwrap.h

2025-06-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120532 --- Comment #1 from Andrew Pinski --- Slightly reduced: ``` #include using my_func = void(int) &&; int main() { std::reference_wrapper a; } ```

[Bug tree-optimization/120580] do_warn_nonnull_compare has special case for COND_EXPR

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

[Bug middle-end/120609] printf fails for a decimal type if variable is unmodified

2025-06-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120609 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Component|c

[Bug c/120609] printf fails for a decimal type if variable is unmodified

2025-06-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120609 --- Comment #1 from Andrew Pinski --- I wonder if libdfp has been updated for the new printf functions.

[Bug middle-end/120608] error: cannot tail-call: other reasons when using address sanitizer with musttail

2025-06-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120608 --- Comment #4 from Andrew Pinski --- Reducing ...

[Bug middle-end/120608] error: cannot tail-call: other reasons when using address sanitizer with musttail

2025-06-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120608 Andrew Pinski changed: What|Removed |Added Keywords||diagnostic Summary|error: ca

[Bug c++/120534] [12/13/14/15/16 Regression] internal compiler error: in adjust_temp_type, at cp/constexpr.cc:1789 since gcc 5.1

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

[Bug preprocessor/120600] Inconsistent header name parsing in __has_include

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

[Bug target/120604] runtime error in i386/i386-expand.cc:3612:

2025-06-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120604 --- Comment #1 from Andrew Pinski --- (In reply to David Binderman from comment #0) > I just tried a bootstrap with flags "-g -O3 -march=znver3" > with ASAN and UBSAN switched on and got the following: > > trunk/gcc/config/i386/i386-expand.cc:3

[Bug bootstrap/120605] [15 Regression] bootstrap fails on riscv64 with error: 'dominated_by_p' was not declared in this scope

2025-06-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120605 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Keywords|

[Bug c/120607] Incorrect optimization of multiple __builtin_unreachable() conditions leads to logic errors in control flow

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

[Bug c++/120536] internal compiler error: in build_over_call, at cp/call.cc:10918

2025-06-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120536 --- Comment #3 from Andrew Pinski --- My reduced testcase has been failing even in GCC 3.4.6. Starting in GCC 4.7.1 GCC does give an error message before the ICE though.

[Bug tree-optimization/120598] Compiler is unable to vectorise scalar code

2025-06-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120598 Andrew Pinski changed: What|Removed |Added Status|WAITING |UNCONFIRMED Keywords|needs-so

[Bug c++/120536] internal compiler error: in build_over_call, at cp/call.cc:10918 since gcc 5.5

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

[Bug c++/120536] internal compiler error: in build_over_call, at cp/call.cc:10918 since gcc 5.5

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

[Bug tree-optimization/120599] [16 Regression] Copy prop for aggregates loses non-call exception

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

[Bug tree-optimization/120599] New: [16 Regression] Copy prop for aggregates loses non-call exception

2025-06-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120599 Bug ID: 120599 Summary: [16 Regression] Copy prop for aggregates loses non-call exception Product: gcc Version: 16.0 Status: UNCONFIRMED Keywords: EH, wrong-co

[Bug tree-optimization/120598] Compiler is unable to vectorise scalar code

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

[Bug tree-optimization/120598] Compiler is unable to vectorise scalar code

2025-06-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120598 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Keywords|

[Bug c++/120597] False positive -Wreturn-type after std::unreachable() or __builtin_unreachable()

2025-06-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120597 --- Comment #1 from Andrew Pinski --- Created attachment 61604 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61604&action=edit testcase without the >

[Bug c++/120539] [12/13/14/15/16 Regression] Segmentation fault raw using friend since 11.3

2025-06-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120539 --- Comment #2 from Andrew Pinski --- Reduced testcase: ``` void f(int b) { for (auto &friend = 1;;) ; } ```

[Bug c++/120539] [12/13/14/15/16 Regression] Segmentation fault raw using friend since 11.3

2025-06-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120539 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection Summary|Segm

[Bug c++/120557] [14/15/16 Regression] ICE: tree check: expected record_type or union_type or qual_union_type, have integer_type in finish_non_static_data_member, at cp/semantics.cc:2809

2025-06-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120557 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |14.4 Summary|ICE: tree check

[Bug preprocessor/120558] ICE: Segmentation fault at munge with ` -MMD -MQ ./ `

2025-06-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120558 Andrew Pinski changed: What|Removed |Added Keywords|error-recovery, |ice-on-valid-code |ic

[Bug c++/120577] [14/15/16 Regression] Another crash with [[no_unique_address]] and constexpr functions

2025-06-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120577 --- Comment #3 from Andrew Pinski --- >I'm pretty sure it's distinct though. It seems like it since it still fails on the trunk even after the patch to fix PR120502 .

[Bug c++/120577] [14/15/16 Regression] Another crash with [[no_unique_address]] and constexpr functions

2025-06-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120577 --- Comment #2 from Andrew Pinski --- -std=c++20 is enough for me.

[Bug c++/120577] [14/15/16 Regression] Another crash with [[no_unique_address]] and constexpr functions

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

[Bug c++/120577] [14/15/16 Regression] Another crash with [[no_unique_address]] and constexpr functions

2025-06-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120577 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection Known to fail|

[Bug c++/120575] [15/16 Regression] ICE: in cp_parser_abort_tentative_parse, at cp/parser.cc:36574

2025-06-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120575 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug c++/120593] internal compiler error: in fold_convert_loc, at fold-const.cc:2662 since 13.1

2025-06-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120593 Andrew Pinski changed: What|Removed |Added Known to fail||9.1.0 Last reconfirmed|

[Bug c++/120594] internal compiler error: tree check: expected class 'type', have 'exceptional' (error_mark) in template_class_depth, at cp/pt.cc:43 since 15.1

2025-06-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120594 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |15.2 Last reconfirmed|

[Bug c++/120595] [12/13/14/15/16 Regression] internal compiler error: in tsubst_stmt, at cp/pt.cc:19111 since 7.1

2025-06-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120595 Andrew Pinski changed: What|Removed |Added Summary|internal compiler error: in |[12/13/14/15/16 Regression]

[Bug c++/120595] internal compiler error: in tsubst_stmt, at cp/pt.cc:19111 since 7.1

2025-06-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120595 --- Comment #1 from Andrew Pinski --- Created attachment 61603 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61603&action=edit Testcase that is valid

  1   2   3   4   5   6   7   8   9   10   >