[Bug libstdc++/109889] [13/14/15 Regression] Segfault in __run_exit_handlers since r13-5309-gc3c6c307792026

2024-09-19 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109889 Peter Bergner changed: What|Removed |Added CC||bergner at gcc dot gnu.org,

[Bug c++/116633] [coroutines] ICE: Promise with Variadic Templated Constructor and Reference to the Instance of the Member Coroutine

2024-09-19 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116633 Arsen Arsenović changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIR

[Bug c/116735] ICE in build_counted_by_ref

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

[Bug testsuite/109656] [14/15 regression] 26_numerics/random/random_device/cons/token.cc fails after r14-289-gf9412cedd6c0e7

2024-09-19 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109656 --- Comment #9 from Peter Bergner --- (In reply to Jonathan Wakely from comment #8) > Could it be the call to __builtin_cpu_supports("darn") which happens in the > std::random_device x("default") initialization in test01?! > > Could that system

[Bug c++/116327] [14/15 Regression] ICE in coroutine with parameter preview on lambda with captures since r15-2210

2024-09-19 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116327 Arsen Arsenović changed: What|Removed |Added CC||ivor+gccbugzilla at posteo dot ee --

[Bug target/55212] [SH] Switch to LRA

2024-09-19 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212 --- Comment #277 from Alexandre Oliva --- Created attachment 59153 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59153&action=edit [lra] take scratch as implicit unused output reloads > * call_pcrel patterns: match_scratch can cause ICE f

[Bug other/116724] RFE: can generated SARIF diagnostics contain untranslated messages (plus translations?)

2024-09-19 Thread jsm28 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116724 --- Comment #8 from Joseph S. Myers --- Note that there are various places where translation happens without the diagnostic machinery ever seeing an untranslated message. A representative example is cp/typeck.cc:cp_build_unary_op, where message

[Bug libstdc++/114742] invalid use of '__ieee128' in and

2024-09-19 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114742 Peter Bergner changed: What|Removed |Added CC||bergner at gcc dot gnu.org,

[Bug target/116713] [SH] __builtin_prefetch can't be used for store queues

2024-09-19 Thread olegendo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116713 Oleg Endo changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug middle-end/116786] [OpenMP] ICE in install_var_field, at omp-low.cc:798 for C++ lambda

2024-09-19 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116786 --- Comment #1 from Tobias Burnus --- Variant: move 'x' into the function via 'static int x' inside the main function.

[Bug middle-end/116786] New: [OpenMP] ICE in install_var_field, at omp-low.cc:798 for C++ lambda

2024-09-19 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116786 Bug ID: 116786 Summary: [OpenMP] ICE in install_var_field, at omp-low.cc:798 for C++ lambda Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: ice-on-val

[Bug target/55212] [SH] Switch to LRA

2024-09-19 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212 --- Comment #280 from John Paul Adrian Glaubitz --- (In reply to Kazumoto Kojima from comment #279) > (In reply to John Paul Adrian Glaubitz from comment #275) > > Created attachment 59152 [details] > > Preprocessed source from from comment #273

[Bug target/55212] [SH] Switch to LRA

2024-09-19 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212 --- Comment #273 from John Paul Adrian Glaubitz --- Ran into another one: /usr/bin/g++-15 -DBUILDING_GTK__=1 -DBUILDING_WEBKIT=1 -DBUILDING_WITH_CMAKE=1 -DGETTEXT_PACKAGE=\"WebKitGTK-4.1\" -DHAVE_CONFIG_H=1 -DJSC_GLIB_API_ENABLED -DPAS_BMALLOC=1

[Bug target/55212] [SH] Switch to LRA

2024-09-19 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212 --- Comment #274 from John Paul Adrian Glaubitz --- Created attachment 59151 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59151&action=edit Preprocessed source from from comment #271

[Bug target/55212] [SH] Switch to LRA

2024-09-19 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212 --- Comment #275 from John Paul Adrian Glaubitz --- Created attachment 59152 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59152&action=edit Preprocessed source from from comment #273

[Bug libstdc++/114742] invalid use of '__ieee128' in and

2024-09-19 Thread meissner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114742 --- Comment #4 from Michael Meissner --- The minimum architecture for IEEE 128-bit support is power7, because it needs the VSX registers to pass and return IEEE 128-bit values. Now, in theory, IEEE 128-bit support could have required only Altiv

[Bug target/113954] Finish LRA transition for arc by removing -mlra

2024-09-19 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113954 --- Comment #6 from Sam James --- Thanks a lot!

[Bug target/55212] [SH] Switch to LRA

2024-09-19 Thread kkojima at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212 --- Comment #278 from Kazumoto Kojima --- (In reply to Alexandre Oliva from comment #277) > Created attachment 59153 [details] > [lra] take scratch as implicit unused output reloads > > > * call_pcrel patterns: match_scratch can cause ICE for th

[Bug target/55212] [SH] Switch to LRA

2024-09-19 Thread kkojima at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212 --- Comment #279 from Kazumoto Kojima --- (In reply to John Paul Adrian Glaubitz from comment #275) > Created attachment 59152 [details] > Preprocessed source from from comment #273 Thanks for test cases. Both .ii are compiled successfully with

[Bug testsuite/116784] New: [15 regression] gcc.dg/vect/slp-perm-9.c fails after r15-3715-g77bd23a3e24755

2024-09-19 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116784 Bug ID: 116784 Summary: [15 regression] gcc.dg/vect/slp-perm-9.c fails after r15-3715-g77bd23a3e24755 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity:

[Bug c++/116162] GCC rejects explicitly default move ctor with const X&& parameter

2024-09-19 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116162 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug gcov-profile/116743] [12/13/14/15 regression] Commit r12-5817-g3d9e6767939e96 causes ~10% perf regression w AutoFDO

2024-09-19 Thread rvmallad at amazon dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116743 --- Comment #6 from Rama Malladi --- I am trying to create a reproducer for this issue. Interim, I wanted to share some stats I got from the MySQL build to highlight this issue w GCC 12.3.0 vs. 11.5.0. Executable Size (B)Baseline

[Bug tree-optimization/116643] PHI_RESULT vs gimple_phi_result/gimple_phi_result_ptr

2024-09-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116643 --- Comment #5 from GCC Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:b2f4daa81b959ad27d161ae5219887a82ffe8069 commit r15-3724-gb2f4daa81b959ad27d161ae5219887a82ffe8069 Author: Andrew Pinski Date: Th

[Bug tree-optimization/116785] [15 Regression] RAJAPerf REDUCE_SUM regresses with r15-792-gf0a02467bbc35a

2024-09-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116785 --- Comment #6 from Andrew Pinski --- Link to the original source on github: https://github.com/LLNL/RAJAPerf

[Bug tree-optimization/116785] [15 Regression] RAJAPerf REDUCE_SUM regresses with r15-792-gf0a02467bbc35a

2024-09-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116785 --- Comment #5 from Andrew Pinski --- Note I think this code has undefined code in it. double sm0[max_DQ*max_DQ*max_DQ]; double (*u)[max_D1D][max_D1D] = (double (*)[max_D1D][max_D1D]) sm0; That seems questionable.

[Bug tree-optimization/116785] [15 Regression] RAJAPerf REDUCE_SUM regresses with r15-792-gf0a02467bbc35a

2024-09-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116785 --- Comment #3 from Andrew Pinski --- (In reply to kugan from comment #2) > Created attachment 59155 [details] > creduce reduced file This just compiles down to an empty loop on the trunk and in GCC 14. It is definitely not correctly reduced.

[Bug tree-optimization/116785] [15 Regression] RAJAPerf REDUCE_SUM regresses with r15-792-gf0a02467bbc35a

2024-09-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116785 --- Comment #7 from Andrew Pinski --- that part comes from: https://github.com/LLNL/RAJAPerf/blob/262dcbb405b00ebc3e3184685743e9d1199a45b6/src/apps/CONVECTION3DPA.hpp#L235 I really think that is undefined and you can't pointer casting like tha

[Bug c++/116162] GCC rejects explicitly default move ctor with const X&& parameter

2024-09-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116162 --- Comment #8 from GCC Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:a2746e4347076ea48f4aeb28e13e6337ff7799ad commit r15-3721-ga2746e4347076ea48f4aeb28e13e6337ff7799ad Author: Marek Polacek Date: Mo

[Bug target/55212] [SH] Switch to LRA

2024-09-19 Thread kkojima at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212 --- Comment #276 from Kazumoto Kojima --- It will take some time to sort out the known issues and there may be unknown problems. Further testing with gcc-15 sounds like a good idea. Here is a list of known issues and their status. * call_pcrel

[Bug tree-optimization/116785] New: RAJAPerf REDUCE_SUM regresses with commit f0a02467bbc35a478eb82f5a8a7e8870827b51fc

2024-09-19 Thread kugan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116785 Bug ID: 116785 Summary: RAJAPerf REDUCE_SUM regresses with commit f0a02467bbc35a478eb82f5a8a7e8870827b51fc Product: gcc Version: 15.0 Status: UNCONFIRMED Sever

[Bug tree-optimization/116785] RAJAPerf REDUCE_SUM regresses with commit g:f0a02467bbc35a478eb82f5a8a7e8870827b51fc

2024-09-19 Thread kugan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116785 --- Comment #2 from kugan at gcc dot gnu.org --- Created attachment 59155 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59155&action=edit creduce reduced file

[Bug tree-optimization/116785] RAJAPerf REDUCE_SUM regresses with commit f0a02467bbc35a478eb82f5a8a7e8870827b51fc

2024-09-19 Thread kugan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116785 --- Comment #1 from kugan at gcc dot gnu.org --- Created attachment 59154 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59154&action=edit preprocessed file

[Bug tree-optimization/116785] [15 Regression] RAJAPerf REDUCE_SUM regresses with r15-792-gf0a02467bbc35a

2024-09-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116785 Andrew Pinski changed: What|Removed |Added CC||rguenth at gcc dot gnu.org S

[Bug tree-optimization/116785] [15 Regression] RAJAPerf REDUCE_SUM regresses with r15-792-gf0a02467bbc35a

2024-09-19 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116785 --- Comment #4 from Sam James --- There's a bunch of uninit vars.

[Bug rtl-optimization/116783] [14/15 Regression] Wrong code at -O2 with late pair fusion pass (wrong alias analysis)

2024-09-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116783 --- Comment #2 from Richard Biener --- Yeah, I think when you involve RTL analysis you have to make sure regs mentioned in the MEM are not modified inbetween the MEMs as RTL alias analysis looks at the apparent difference between x1-184 and x1 a

[Bug target/55212] [SH] Switch to LRA

2024-09-19 Thread kkojima at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212 --- Comment #281 from Kazumoto Kojima --- (In reply to John Paul Adrian Glaubitz from comment #280) > (In reply to Kazumoto Kojima from comment #279) > > (In reply to John Paul Adrian Glaubitz from comment #275) > > > Created attachment 59152 [de

[Bug testsuite/116784] [15 regression] gcc.dg/vect/slp-perm-9.c fails after r15-3715-g77bd23a3e24755

2024-09-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116784 Richard Biener changed: What|Removed |Added Last reconfirmed||2024-09-20 Target Milestone|---

[Bug target/55212] [SH] Switch to LRA

2024-09-19 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212 --- Comment #282 from John Paul Adrian Glaubitz --- (In reply to Kazumoto Kojima from comment #281) > (In reply to John Paul Adrian Glaubitz from comment #280) > > (In reply to Kazumoto Kojima from comment #279) > > > (In reply to John Paul Adria

[Bug testsuite/116784] [15 regression] gcc.dg/vect/slp-perm-9.c fails after r15-3715-g77bd23a3e24755

2024-09-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116784 --- Comment #2 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:fd83474b2fee54697f27719a4631a21d68cb4ab6 commit r15-3727-gfd83474b2fee54697f27719a4631a21d68cb4ab6 Author: Richard Biener Date:

[Bug testsuite/116784] [15 regression] gcc.dg/vect/slp-perm-9.c fails after r15-3715-g77bd23a3e24755

2024-09-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116784 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/116785] [15 Regression] RAJAPerf REDUCE_SUM regresses with r15-792-gf0a02467bbc35a

2024-09-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116785 --- Comment #8 from Richard Biener --- (In reply to Andrew Pinski from comment #5) > Note I think this code has undefined code in it. > > > > double sm0[max_DQ*max_DQ*max_DQ]; > double (*u)[max_D1D][max_D1D] = (double (*)[max_D1D][max_D1D]) s

[Bug target/116582] gather is a win in some cases on zen CPUs

2024-09-19 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116582 --- Comment #6 from Jan Hubicka --- Here is a variant of benchmark that needs masking #include #define M 1024*1024 T a[M], b[M]; int indices[M]; char c[M]; __attribute__ ((noipa)) void test () { for (int i = 0; i < 1024* 16; i++) if (c[i

[Bug fortran/101100] [12/13/14/15 Regression] ICE in trans_caf_token_assign, at fortran/trans-expr.c:9433

2024-09-19 Thread vehre at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101100 Andre Vehreschild changed: What|Removed |Added Status|ASSIGNED|WAITING --- Comment #6 from Andre V

[Bug fortran/90133] [12/13/14/15 Regression][Coarray] Linker error from accessing event_type via use association outside associate/block scope

2024-09-19 Thread vehre at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90133 Andre Vehreschild changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |vehre at gcc dot gnu.org

[Bug target/116582] gather is a win in some cases on zen CPUs

2024-09-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116582 --- Comment #8 from Richard Biener --- Ah, because multiple -mtune-ctrl options do not add!

[Bug c/53769] [C11]: Macros __STDC_NO_THREADS__ / __STDC_NO_ATOMIC__ missing.

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

[Bug tree-optimization/116768] [12/13/14/15 regression] Strict aliasing breaks autovectorization with -O3 since r11-8581-g83758b7b67629e

2024-09-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116768 Richard Biener changed: What|Removed |Added CC||xiaohuba2021 at 163 dot com --- Commen

[Bug c/53769] [C11]: Macros __STDC_NO_THREADS__ / __STDC_NO_ATOMIC__ missing.

2024-09-19 Thread fw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53769 --- Comment #21 from Florian Weimer --- (In reply to Jakub Jelinek from comment #20) > It is not that easy. __STDC_NO_THREADS__ is a predefined macro, so it would > mean (at least on targets without stdc-predef.h, with that header one would > ho

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

2024-09-19 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116781 Bug ID: 116781 Summary: [lra][avr] internal compiler error: in cselib_invalidate_regno, at cselib.cc:2545 Product: gcc Version: 15.0 Status: UNCONFIRMED Severi

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

2024-09-19 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116781 Georg-Johann Lay changed: What|Removed |Added Keywords||ice-on-valid-code, ra Ever confi

[Bug tree-optimization/115347] [12/13/14/15 Regression] wrong code at -O3 on x86_64-linux-gnu since r12-2097

2024-09-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115347 --- Comment #5 from Richard Biener --- So this maybe needs "add_inner_distances" as we have add_outer_distances? We still get only ( 0 0 ) as zero distance.

[Bug target/81426] [SH]: unable to find a register to spill in class 'R0_REGS' when building webkit2gtk

2024-09-19 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81426 --- Comment #16 from John Paul Adrian Glaubitz --- (In reply to Oleg Endo from comment #15) > (In reply to John Paul Adrian Glaubitz from comment #14) > > This particular bug is resolved when building with an LRA-enabled gcc-15. > > > > See: htt

[Bug tree-optimization/116765] [12/13/14/15 regression] gcc generate wrong code with -O3 -march=skylake

2024-09-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116765 Richard Biener changed: What|Removed |Added Keywords||needs-bisection CC|

[Bug c++/91464] C++ extern "C" namespace A {int value;}; is definition not declaration

2024-09-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91464 Jakub Jelinek changed: What|Removed |Added Keywords|needs-bisection | --- Comment #3 from Jakub Jelinek ---

[Bug tree-optimization/116352] [15 regression] ICE when building opencv-4.9.0 (error: definition in block 208 does not dominate use in block 188) since r15-2820-gab18785840d7b8

2024-09-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116352 Andrew Pinski changed: What|Removed |Added Keywords|needs-reduction | --- Comment #17 from Andrew Pinski --

[Bug c/53769] [C11]: Macros __STDC_NO_THREADS__ / __STDC_NO_ATOMIC__ missing.

2024-09-19 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53769 Sergey Fedorov changed: What|Removed |Added CC||vital.had at gmail dot com --- Comment

[Bug tree-optimization/116768] [12/13/14/15 regression] Strict aliasing breaks autovectorization with -O3 since r11-8581-g83758b7b67629e

2024-09-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116768 Richard Biener changed: What|Removed |Added Keywords||alias Status|NEW

[Bug c++/91464] C++ extern "C" namespace A {int value;}; is definition not declaration

2024-09-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91464 Andrew Pinski changed: What|Removed |Added Keywords||needs-testcase --- Comment #4 from Andre

[Bug target/113954] Finish LRA transition for arc by removing -mlra

2024-09-19 Thread claziss at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113954 --- Comment #5 from Claudiu Zissulescu --- Hi guys, I am working on a patch which removes mlra option, making the LRA default. I'll try to push it somewhere next week. Cheers, Claudiu

[Bug c/53769] [C11]: Macros __STDC_NO_THREADS__ / __STDC_NO_ATOMIC__ missing.

2024-09-19 Thread vincent-gcc at vinc17 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53769 --- Comment #17 from Vincent Lefèvre --- (In reply to Jonathan Wakely from comment #16) > As explained above, this is not something that can be fixed in GCC. I'm wondering why this bug was marked as FIXED, then. This is misleading. > The macro

[Bug tree-optimization/116768] [12/13/14/15 regression] Strict aliasing breaks autovectorization with -O3 since r11-8581-g83758b7b67629e

2024-09-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116768 --- Comment #8 from Richard Biener --- OK, so I think I understand what add_outer_distances does. Note for other PRs we have a similar issue with respect to inner loops. For for (int i = 0; i < n; ++i) a[0] = a[0] + i; the WAR dependen

[Bug c/53769] [C11]: Macros __STDC_NO_THREADS__ / __STDC_NO_ATOMIC__ missing.

2024-09-19 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53769 --- Comment #15 from Sergey Fedorov --- (In reply to Jonathan Wakely from comment #14) > (In reply to Sergey Fedorov from comment #13) > > Apparently `__STDC_NO_THREADS__` is still not being defined? > > Because you're on macOS. > > This was fi

[Bug target/113954] Finish LRA transition for arc by removing -mlra

2024-09-19 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113954 --- Comment #4 from Segher Boessenkool --- Yup. What I meant is, if the port still sees some use in their -mlra, there is no pressure from us to have them remove it, we'll just make it not do anything anymore :-) Maybe they still see some prob

[Bug fortran/106606] Internal compiler error with abstract derived type using recursive class() components. since r7-4096-gbf9f15ee55f5b291

2024-09-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106606 --- Comment #10 from GCC Commits --- The master branch has been updated by Andre Vehreschild : https://gcc.gnu.org/g:de915fbe3cb1ce7be35dce7d6bc8d04dc7125e61 commit r15-3711-gde915fbe3cb1ce7be35dce7d6bc8d04dc7125e61 Author: Andre Vehreschild

[Bug c/53769] [C11]: Macros __STDC_NO_THREADS__ / __STDC_NO_ATOMIC__ missing.

2024-09-19 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53769 --- Comment #16 from Jonathan Wakely --- As explained above, this is not something that can be fixed in GCC. The macro depends on whether or not your C library provides which GCC doesn't know. It's a problem with your C library, which is unlike

[Bug c/53769] [C11]: Macros __STDC_NO_THREADS__ / __STDC_NO_ATOMIC__ missing.

2024-09-19 Thread vincent-gcc at vinc17 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53769 --- Comment #22 from Vincent Lefèvre --- (In reply to Florian Weimer from comment #21) > (In reply to Jakub Jelinek from comment #20) > > It is not that easy. __STDC_NO_THREADS__ is a predefined macro, so it would > > mean (at least on targets w

[Bug target/81426] [SH]: unable to find a register to spill in class 'R0_REGS' when building webkit2gtk

2024-09-19 Thread olegendo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81426 --- Comment #17 from Oleg Endo --- (In reply to John Paul Adrian Glaubitz from comment #16) > It does. However, I'm currently having unreleated problems with CMake which > means I cannot build the whole project at the moment. I need to debug tha

[Bug c++/116748] [15 Regression] internal compiler error: in pop_local_binding, at cp/name-lookup.cc:2651

2024-09-19 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116748 Nathaniel Shead changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigne

[Bug tree-optimization/116766] Missed loop vectorization case due to even IV division by two

2024-09-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116766 --- Comment #3 from Richard Biener --- Created attachment 59144 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59144&action=edit hack This works for the special case of >> 1; something more general and nicer written could work. CHREC_LE

[Bug c++/88176] Overload resolution chooses template non-member operator over non-template member operator

2024-09-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88176 --- Comment #2 from Andrew Pinski --- EDG also accepts this.

[Bug tree-optimization/116776] Complex if conditions not hoisted from loop

2024-09-19 Thread matmal01 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116776 --- Comment #1 from Matthew Malcomson --- N.b. from experimentation it seems that gcc 11 didn't move any part of the condition outside of the loop, and since gcc 12 part of the condition has been moved outside the loop. I don't think this hoist

[Bug rtl-optimization/116778] [lra][avr] Wrong code with -mlra (bitfld-lra.c)

2024-09-19 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116778 --- Comment #1 from Georg-Johann Lay --- ...and without -mlra the code is correct, so likely caused by LRA.

[Bug rtl-optimization/116778] [lra][avr] Wrong code with -mlra (bitfld-lra.c)

2024-09-19 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116778 Georg-Johann Lay changed: What|Removed |Added Target||avr Last reconfirmed|

[Bug c/116767] C const function pointer no code generated (or optimized out)

2024-09-19 Thread raffaellobertini at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116767 --- Comment #11 from Raffaello Bertini --- > MyFunc __attribute__((const)) * g_f = my_func; > instead. Just with the attribute syntax you get an extra warning: > warning: ‘const’ attribute on function returning ‘void’ [-Wattributes] That's f

[Bug libstdc++/116777] error: 'current_zone' is not a member of 'std::chrono' with -D_GLIBCXX_USE_CXX11_ABI=0

2024-09-19 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116777 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |14.3 Status|UNCONFIRMED

[Bug target/81426] [SH]: unable to find a register to spill in class 'R0_REGS' when building webkit2gtk

2024-09-19 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81426 --- Comment #14 from John Paul Adrian Glaubitz --- This particular bug is resolved when building with an LRA-enabled gcc-15. See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212

[Bug fortran/85002] [12/13/14/15 Regression][Coarray] ICE in fold_ternary_loc, at fold-const.c:11360

2024-09-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85002 --- Comment #14 from GCC Commits --- The master branch has been updated by Andre Vehreschild : https://gcc.gnu.org/g:361903ad1affd508bafdb9b771d6a6ffc98a2100 commit r15-3707-g361903ad1affd508bafdb9b771d6a6ffc98a2100 Author: Andre Vehreschild D

[Bug rtl-optimization/116778] New: [lra][avr] Wrong code with -mlra (bitfld-lra.c)

2024-09-19 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116778 Bug ID: 116778 Summary: [lra][avr] Wrong code with -mlra (bitfld-lra.c) Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug fortran/85002] [12/13/14/15 Regression][Coarray] ICE in fold_ternary_loc, at fold-const.c:11360

2024-09-19 Thread vehre at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85002 Andre Vehreschild changed: What|Removed |Added Resolution|--- |FIXED Status|WAITING

[Bug fortran/83700] [Meta-bug] Fortran Coarray issues

2024-09-19 Thread vehre at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83700 Bug 83700 depends on bug 85002, which changed state. Bug 85002 Summary: [12/13/14/15 Regression][Coarray] ICE in fold_ternary_loc, at fold-const.c:11360 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85002 What|Removed

[Bug target/116738] Constant folding of _mm_min_ss and _mm_max_ss is wrong

2024-09-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116738 --- Comment #18 from Jakub Jelinek --- Created attachment 59147 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59147&action=edit gcc15-pr116738.patch I think I've managed to make it working. Here it is. Rest in incremental changes.

[Bug tree-optimization/53947] [meta-bug] vectorizer missed-optimizations

2024-09-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947 Bug 53947 depends on bug 116573, which changed state. Bug 116573 Summary: [15 Regression] Recent SLP work appears to generate significantly worse code on RISC-V https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116573 What|Removed

[Bug tree-optimization/116578] vectorizer SLP transition issues / dependences

2024-09-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116578 Bug 116578 depends on bug 116573, which changed state. Bug 116573 Summary: [15 Regression] Recent SLP work appears to generate significantly worse code on RISC-V https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116573 What|Removed

[Bug tree-optimization/116573] [15 Regression] Recent SLP work appears to generate significantly worse code on RISC-V

2024-09-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116573 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug target/113932] [meta-bug] Targets which should be ported to LRA

2024-09-19 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113932 --- Comment #2 from John Paul Adrian Glaubitz --- I'm not sure it makes sense to have this bug report depend on arch-specific bugs such as 116778 and 116779. This meta-bug should depend only on the LRA tracker bugs for each architecture which i

[Bug tree-optimization/116573] [15 Regression] Recent SLP work appears to generate significantly worse code on RISC-V

2024-09-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116573 --- Comment #12 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:5e3a4a01785e2d5135528a07bb8116af9c55ddf8 commit r15-3712-g5e3a4a01785e2d5135528a07bb8116af9c55ddf8 Author: Richard Biener Date:

[Bug c/53769] [C11]: Macros __STDC_NO_THREADS__ / __STDC_NO_ATOMIC__ missing.

2024-09-19 Thread fw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53769 --- Comment #18 from Florian Weimer --- (In reply to Vincent Lefèvre from comment #17) > (In reply to Jonathan Wakely from comment #16) > > As explained above, this is not something that can be fixed in GCC. > > I'm wondering why this bug was ma

[Bug fortran/101100] [12/13/14/15 Regression] ICE in trans_caf_token_assign, at fortran/trans-expr.c:9433

2024-09-19 Thread vehre at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101100 Andre Vehreschild changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |vehre at gcc dot gnu.org

[Bug fortran/106606] Internal compiler error with abstract derived type using recursive class() components. since r7-4096-gbf9f15ee55f5b291

2024-09-19 Thread vehre at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106606 Andre Vehreschild changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug rtl-optimization/116780] New: [lra][avr] internal compiler error: output_operand: address operand requires constraint for X, Y, or Z register

2024-09-19 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116780 Bug ID: 116780 Summary: [lra][avr] internal compiler error: output_operand: address operand requires constraint for X, Y, or Z register Product: gcc Version: 15.

[Bug rtl-optimization/116780] [lra][avr] internal compiler error: output_operand: address operand requires constraint for X, Y, or Z register

2024-09-19 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116780 Georg-Johann Lay changed: What|Removed |Added Status|UNCONFIRMED |NEW Blocks|

[Bug c++/101686] export ; or export {} should not be accepted

2024-09-19 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101686 Nathaniel Shead changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

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

2024-09-19 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 101686, which changed state. Bug 101686 Summary: export ; or export {} should not be accepted https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101686 What|Removed |Added --

[Bug target/116782] New: x86 backend cannot control vectorization of gather and masked gather (and scatter) separately

2024-09-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116782 Bug ID: 116782 Summary: x86 backend cannot control vectorization of gather and masked gather (and scatter) separately Product: gcc Version: 15.0 Status: UNCONFIRMED

[Bug c++/114229] [modules] duplicate vtable symbols when including stl in submodule

2024-09-19 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114229 Nathaniel Shead changed: What|Removed |Added CC||john at johnmaddock dot co.uk --- Com

[Bug tree-optimization/116768] [12/13/14 regression] Strict aliasing breaks autovectorization with -O3 since r11-8581-g83758b7b67629e

2024-09-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116768 Richard Biener changed: What|Removed |Added Summary|[12/13/14/15 regression]|[12/13/14 regression]

[Bug c++/116416] Missing optimization: compile time evaluation of prvalue

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

[Bug c++/116416] Missing optimization: compile time evaluation of prvalue

2024-09-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116416 --- Comment #2 from Jakub Jelinek --- Though, we clearly do that already for CALL_EXPRs to constexpr functions during cp_fold. So guess it is just TARGET_EXPRs or what exactly this testcase needs.

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

2024-09-19 Thread namniav at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49330 --- Comment #36 from Namniav --- (In reply to Richard Biener from comment #35) > It's "subtle" only in a way showing that we simplify ia == ib ? ia : ib > to ib and that we simplify (int *)(uintptr_t)(&b + 1) to (&b + 1). But it's in the branch

[Bug target/116713] [SH] __builtin_prefetch can't be used for store queues

2024-09-19 Thread pietro.gcc at sociotechnical dot xyz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116713 pietro changed: What|Removed |Added CC||pietro.gcc at sociotechnical dot x

  1   2   >