[Bug tree-optimization/116973] FAIL: gcc.dg/vect/pr52252-st.c with forced SLP

2024-11-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116973 --- Comment #6 from Richard Biener --- While recovering the absymal code-generation of gcc.dg/vect/pr52252-st.c is likely not of uttermost priority the missing opportunity is for the case of single element interleaving that can be vectorized by

[Bug c++/117501] [14/15 Regression] Consteval constructor does not initialize the variable

2024-11-11 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117501 Marek Polacek changed: What|Removed |Added Priority|P3 |P2 Status|NEW

[Bug libgcc/117537] [15 regression] Failed cross build for aarch64_be-unknown-linux-gnu (libgcc/config/libbid/bid_conf.h:847:25: error: missing braces around initializer [-Werror=missing-braces])

2024-11-11 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117537 --- Comment #1 from Sam James --- Created attachment 59577 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59577&action=edit build.log.xz

[Bug libgcc/117537] [15 regression] Failed cross build for aarch64_be-unknown-linux-gnu (libgcc/config/libbid/bid_conf.h:847:25: error: missing braces around initializer [-Werror=missing-braces])

2024-11-11 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117537 --- Comment #2 from Sam James --- (In reply to Sam James from comment #0) > > I assume this started with the libgcc change a little while ago from the arm > folks to enable -Werror for arm. If that's right, it's not respecting --disable-werror

[Bug rtl-optimization/117191] [avr][dse2][lra] wrong dead store elimination

2024-11-11 Thread denisc at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117191 --- Comment #9 from denisc at gcc dot gnu.org --- Created attachment 59576 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59576&action=edit pro_and_epilogue pass dump file (pre dse2)

[Bug target/117538] New: Tracebacks don’t include the load address of PIE executables

2024-11-11 Thread simon at pushface dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117538 Bug ID: 117538 Summary: Tracebacks don’t include the load address of PIE executables Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/104819] Reject NULL without MOLD as actual to an assumed-rank dummy

2024-11-11 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104819 --- Comment #13 from anlauf at gcc dot gnu.org --- Returning to this PR, I found that passing NULL() to character pointer dummies exhibits a wrong translation of the function call, despite the declaration appearing fine: program p implicit none

[Bug driver/81358] libatomic not automatically linked with C11 code

2024-11-11 Thread jscott at posteo dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81358 John Scott changed: What|Removed |Added CC||jscott at posteo dot net --- Comment #16 fr

[Bug c/117490] Invalid TBAA for structures without tag and compatible definition in C.

2024-11-11 Thread uecker at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117490 --- Comment #8 from uecker at gcc dot gnu.org --- Some tests for pointers to struct w and w/o tag and also with one incomplete struct. https://godbolt.org/z/ePcoTTeMq #if 1 #define tag #endif int f2(void *x, void *y) { typedef struct tag { i

[Bug c/117020] [C2y] Implement N3366, Restartable Functions for Efficient Character Conversions

2024-11-11 Thread jsm28 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117020 --- Comment #4 from Joseph S. Myers --- Yes, it's about the exec-charset / wide-exec-charset.

[Bug fortran/117539] New: Pure procedure and intent(out) polymorphic pointer argument

2024-11-11 Thread gronki at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117539 Bug ID: 117539 Summary: Pure procedure and intent(out) polymorphic pointer argument Product: gcc Version: 14.2.1 Status: UNCONFIRMED Severity: normal

[Bug ipa/117540] New: ICE on x86_64-linux-gnu: verify_cgraph_node failed at -Os.

2024-11-11 Thread iamanonymous.cs at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117540 Bug ID: 117540 Summary: ICE on x86_64-linux-gnu: verify_cgraph_node failed at -Os. Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Pr

[Bug rtl-optimization/117476] [15 regression] bad generated code at -O1 since r15-4991-g69bd93c167fefb

2024-11-11 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117476 --- Comment #23 from Sam James --- *** Bug 117531 has been marked as a duplicate of this bug. ***

[Bug c/117531] [15 Regression] Miscompile with -O2 and -O0/1/3

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

[Bug libstdc++/117276] std::sort(par_unseq ,...) leaks memory when called repeatedly

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

[Bug c++/117534] New: internal compiler error: Segmentation fault at check_explicit_specialization(tree_node*, tree_node*, int, int, tree_node*)

2024-11-11 Thread yihan4845 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117534 Bug ID: 117534 Summary: internal compiler error: Segmentation fault at check_explicit_specialization(tree_node*, tree_node*, int, int, tree_node*) Product: gcc V

[Bug libstdc++/117276] std::sort(par_unseq ,...) leaks memory when called repeatedly

2024-11-11 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117276 --- Comment #5 from Sam James --- Jonathan already self-assigned it which indicates he's planning to work on it soon, FWIW (that doesn't happen for all libstdc++ bugs automatically). But if you're interested in trying a patch, he might be able

[Bug c++/69585] [C++ 11] parser errors mixing alignas, C++ 11 and GNU attributes on class declaration

2024-11-11 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69585 --- Comment #9 from Marek Polacek --- (In reply to David Seifert from comment #8) > Marek Polacek, could we please get this backported to GCC 12 too? Sorry, this doesn't look like a candidate for backporting to GCC 12 to me.

[Bug c++/117535] New: Segmentation fault signal terminated program cc1plus with recursive lambda

2024-11-11 Thread yihan4845 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117535 Bug ID: 117535 Summary: Segmentation fault signal terminated program cc1plus with recursive lambda Product: gcc Version: unknown Status: UNCONFIRMED Severity:

[Bug c++/69585] [C++ 11] parser errors mixing alignas, C++ 11 and GNU attributes on class declaration

2024-11-11 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69585 --- Comment #10 from Sam James --- FWIW, Jason said it seemed reasonable on IRC, but ofc if you're not comfortable with it, that's fine (just saying it wasn't out of nowhere).

[Bug libstdc++/111861] ranges::min/max should not use `auto __result = *__first;`

2024-11-11 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111861 --- Comment #2 from 康桓瑋 --- (In reply to Patrick Palka from comment #1) > Interesting, I guess 'auto x = *iter;' should never be done in generic code > then? Yap, even 'range_value_t x = *iter;'.

[Bug target/117525] [15 Regression] canvas.cc:1675:1: internal compiler error: in expand_fix, at optabs.cc:5952 since r15-2890

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

[Bug ipa/103819] [12/13/14/15 Regression] ICE in redirect_callee, at cgraph.c:1389 with __attribute__((flatten)) and -O2 since r11-7940-ge7fd3b783238d034

2024-11-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103819 Andrew Pinski changed: What|Removed |Added CC||iamanonymous.cs at gmail dot com --- C

[Bug ipa/117540] ICE on x86_64-linux-gnu: verify_cgraph_node failed at -Os with flatten

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

[Bug tree-optimization/117510] Inner loop with static trip count breaks vectorization of outer loop

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

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

2024-11-11 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 117510, which changed state. Bug 117510 Summary: Inner loop with static trip count breaks vectorization of outer loop https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117510 What|Removed |A

[Bug tree-optimization/117510] Inner loop with static trip count breaks vectorization of outer loop

2024-11-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117510 --- Comment #2 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:da64698159fe69b68f5264b54cebcb67c501b3cf commit r15-5082-gda64698159fe69b68f5264b54cebcb67c501b3cf Author: Richard Biener Date:

[Bug c/117531] New: Miscompile with -O2 and -O0/1/3

2024-11-11 Thread yunboni at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117531 Bug ID: 117531 Summary: Miscompile with -O2 and -O0/1/3 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assi

[Bug c/117020] [C2y] Implement N3366, Restartable Functions for Efficient Character Conversions

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

[Bug middle-end/112600] Failed to optimize saturating addition using __builtin_add_overflow

2024-11-11 Thread ubizjak at gmail dot com via Gcc-bugs
ll get the same code as in Comment #18. Tried "-O2 -ftree-vectorize" and -O3. gcc version 15.0.0 2024 (experimental) [master r15-5078-g42a2df0b798] (GCC)

[Bug target/117455] Nested function use gives a ld warning about executable stack, after binutils 2.39

2024-11-11 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117455 --- Comment #10 from rguenther at suse dot de --- On Mon, 11 Nov 2024, iains at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117455 > > --- Comment #9 from Iain Sandoe --- > (In reply to rguent...@suse.de from comment

[Bug fortran/116388] [13/14/15 regression] Finalizer called on uninitialized components of intent(out) argument

2024-11-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116388 --- Comment #5 from GCC Commits --- The master branch has been updated by Paul Thomas : https://gcc.gnu.org/g:42a2df0b7985b2a4732ba1c29726ac7aabd5eeae commit r15-5078-g42a2df0b7985b2a4732ba1c29726ac7aabd5eeae Author: Paul Thomas Date: Mon N

[Bug fortran/116388] [13/14 regression] Finalizer called on uninitialized components of intent(out) argument

2024-11-11 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116388 Paul Thomas changed: What|Removed |Added Summary|[13/14/15 regression] |[13/14 regression] |Fin

[Bug tree-optimization/117510] Inner loop with static trip count breaks vectorization of outer loop

2024-11-11 Thread freddie at witherden dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117510 --- Comment #4 from Freddie Witherden --- (In reply to Richard Biener from comment #3) > Fixed for GCC 15. Thanks! If I have cases which, when m is a compile time constant, vectorize for m small but not m large is that likely to be a separate i

[Bug fortran/109345] [12/13/14/15 Regression] class(*) variable that is a string array is not handled correctly

2024-11-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109345 --- Comment #3 from GCC Commits --- The master branch has been updated by Paul Thomas : https://gcc.gnu.org/g:e22d80d4f0f8d33f538c1a4bad07b2c819a6d55c commit r15-5083-ge22d80d4f0f8d33f538c1a4bad07b2c819a6d55c Author: Paul Thomas Date: Mon N

[Bug middle-end/112600] Failed to optimize saturating addition using __builtin_add_overflow

2024-11-11 Thread pan2.li at intel dot com via Gcc-bugs
e add one test for this target x86. > > Unfortunately, I still get the same code as in Comment #18. Tried "-O2 > -ftree-vectorize" and -O3. > > gcc version 15.0.0 2024 (experimental) [master r15-5078-g42a2df0b798] > (GCC) Oh, I see. Seems I called the scalar sat_ad

[Bug target/29838] should an option to disable use of TLS for -fstack-protector

2024-11-11 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29838 Segher Boessenkool changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/29838] should an option to disable use of TLS for -fstack-protector

2024-11-11 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29838 Segher Boessenkool changed: What|Removed |Added CC||segher at gcc dot gnu.org --- Comme

[Bug target/117455] Nested function use gives a ld warning about executable stack, after binutils 2.39

2024-11-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117455 --- Comment #12 from Richard Biener --- (In reply to Iain Sandoe from comment #11) > Tentatively (absent a way to test this) so long as we continue to link > libgcc, and libgcc provides the heap support, I'd say that's probably OK - > we do not

[Bug tree-optimization/117510] Inner loop with static trip count breaks vectorization of outer loop

2024-11-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117510 --- Comment #5 from Richard Biener --- (In reply to Freddie Witherden from comment #4) > (In reply to Richard Biener from comment #3) > > Fixed for GCC 15. > > Thanks! If I have cases which, when m is a compile time constant, vectorize > for m

[Bug fortran/109345] [12/13/14 Regression] class(*) variable that is a string array is not handled correctly

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

[Bug c/117532] New: Miscompile with -Os and -O0/1/2/3

2024-11-11 Thread yunboni at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117532 Bug ID: 117532 Summary: Miscompile with -Os and -O0/1/2/3 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c As

[Bug rtl-optimization/117532] [15 Regression] Miscompile with -Os and -O0/1/2/3

2024-11-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117532 Richard Biener changed: What|Removed |Added Summary|Miscompile with -Os and |[15 Regression] Miscompile

[Bug c/117531] [15 Regression] Miscompile with -O2 and -O0/1/3

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

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

2024-11-11 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117352 Filip Kastl changed: What|Removed |Added CC||pheeck at gcc dot gnu.org --- Comment #3

[Bug rtl-optimization/117532] [15 Regression] Miscompile with -Os and -O0/1/2/3

2024-11-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117532 Jakub Jelinek changed: What|Removed |Added CC||alexey.merzlyakov at samsung dot c

[Bug rtl-optimization/117532] [15 Regression] Miscompile with -Os and -O0/1/2/3

2024-11-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117532 --- Comment #3 from Jakub Jelinek --- Modified testcase for testsuite: int a, c = -1; __attribute__((noipa)) void foo (int x) { if (x) __builtin_abort (); } int main () { a = ~c; foo ((unsigned char) a); }

[Bug rtl-optimization/117532] [15 Regression] Miscompile with -Os and -O0/1/2/3

2024-11-11 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117532 Alexander Monakov changed: What|Removed |Added Resolution|--- |DUPLICATE CC|

[Bug rtl-optimization/117532] [15 Regression] Miscompile with -Os and -O0/1/2/3

2024-11-11 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117532 --- Comment #5 from Sam James --- Given the # of dupes, I recommend that fuzzers revert that commit locally for now.

[Bug rtl-optimization/117532] [15 Regression] Miscompile with -Os and -O0/1/2/3

2024-11-11 Thread yunboni at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117532 --- Comment #6 from Yunbo Ni --- (In reply to Sam James from comment #5) > Given the # of dupes, I recommend that fuzzers revert that commit locally > for now. Thanks for your advice. I'll revert it.

[Bug rtl-optimization/117476] [15 regression] bad generated code at -O1 since r15-4991-g69bd93c167fefb

2024-11-11 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117476 --- Comment #22 from Alexander Monakov --- *** Bug 117532 has been marked as a duplicate of this bug. ***

[Bug tree-optimization/117529] Missed optimization: (y != 0 && x > (unsigned)(-1) / y) (multiplication overflow check)

2024-11-11 Thread Explorer09 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117529 --- Comment #5 from Kang-Che Sung --- Sorry again. My mind wasn't cleaned up when I wrote the comment. It's (x == 0 || y == 0) and the logic is not equivalent to ((x & y) == 0).

[Bug target/117455] Nested function use gives a ld warning about executable stack, after binutils 2.39

2024-11-11 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117455 --- Comment #9 from Iain Sandoe --- (In reply to rguent...@suse.de from comment #8) > On Sat, 9 Nov 2024, iains at gcc dot gnu.org wrote: > > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117455 > > > > Iain Sandoe changed: > > > >

[Bug tree-optimization/117510] Inner loop with static trip count breaks vectorization of outer loop

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

[Bug middle-end/112600] Failed to optimize saturating addition using __builtin_add_overflow

2024-11-11 Thread pan2.li at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112600 --- Comment #21 from Li Pan --- (In reply to Li Pan from comment #20) > (In reply to Li Pan from comment #19) > > interesting, I will take a look for f2 after some more sat_* supported. > > RISC-V backend works well for all of above pattern but

[Bug other/117409] ASAN issues compiling gfortran.dg/diagnostic-format-sarif-pr105916.f90

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

[Bug tree-optimization/117529] Missed optimization: (y != 0 && x > (unsigned)(-1) / y) (multiplication overflow check)

2024-11-11 Thread Explorer09 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117529 --- Comment #3 from Kang-Che Sung --- The func4 example that Andrew Pinski provided makes me realize that this func5 should optimize to the same code: ```c bool func5(unsigned long long x, unsigned long long y) { if ((x | y) == 0) return 0;

[Bug c++/117511] [12/13/14/15 Regression] internal compiler error: Segmentation fault at mark_used(tree_node*, int)

2024-11-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117511 Richard Biener changed: What|Removed |Added Priority|P3 |P4 Version|unknown

[Bug c++/117516] [12/13/14/15 Regression] compile time hog figuring out has flexarrays since r6-5791-g7e9a3ad30076ad

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

[Bug tree-optimization/117529] Missed optimization: (y != 0 && x > (unsigned)(-1) / y) (multiplication overflow check)

2024-11-11 Thread Explorer09 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117529 --- Comment #4 from Kang-Che Sung --- Oops. Correction. I mean this: ```c bool func5(unsigned long long x, unsigned long long y) { /* (x == 0 || y == 0) */ if ((x & y) == 0) return 0; unsigned long long res; return __builtin_umu

[Bug c++/117530] [14/15 Regression] Mismatch of lambda type with itself in recursive alias declaration

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

[Bug c++/117519] [12/13/14/15 regression] LTO ICE when building gloox: lto1: internal compiler error: symtab_node::verify failed since r9-5035-g4611c03d2b0ede

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

[Bug rtl-optimization/117506] [15 Regression] ICE: in decompose, at wide-int.h:1049 with -O3 -funroll-loops

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

[Bug target/117455] Nested function use gives a ld warning about executable stack, after binutils 2.39

2024-11-11 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117455 --- Comment #8 from rguenther at suse dot de --- On Sat, 9 Nov 2024, iains at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117455 > > Iain Sandoe changed: > >What|Removed |Added >

[Bug debug/117508] [12/13/14/15 Regression] Weird debug location info for C++ std::initializer_list

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

[Bug target/117455] Nested function use gives a ld warning about executable stack, after binutils 2.39

2024-11-11 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117455 --- Comment #11 from Iain Sandoe --- (In reply to rguent...@suse.de from comment #10) > On Mon, 11 Nov 2024, iains at gcc dot gnu.org wrote: > > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117455 > > > > --- Comment #9 from Iain Sandoe ---

[Bug libstdc++/117520] C++26 std::text_encoding: == should be =

2024-11-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117520 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Assignee|unassigne

[Bug target/117525] [15 Regression] canvas.cc:1675:1: internal compiler error: in expand_fix, at optabs.cc:5952 since r15-2890

2024-11-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117525 --- Comment #9 from Andrew Pinski --- (In reply to Andrew Pinski from comment #7) > `-O3 -fno-trapping-math` is enough to reproduce the ICE. I should mention without `-fno-trapping-math`, the ifcvt thinks (correctly) that the pattern cause a tr

[Bug c++/117512] [14/15 Regression] ICE on x86_64-linux-gnu: in cp_gimplify_expr, at cp/cp-gimplify.cc:911 with aligned on a field

2024-11-11 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117512 Marek Polacek changed: What|Removed |Added Summary|ICE on x86_64-linux-gnu: in |[14/15 Regression] ICE on

[Bug c++/117512] ICE on x86_64-linux-gnu: in cp_gimplify_expr, at cp/cp-gimplify.cc:911 with aligned on a field

2024-11-11 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117512 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org,

[Bug c++/117533] internal compiler error: Segmentation fault signal terminated program cc1plus with incomplete type

2024-11-11 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117533 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org Ever co

[Bug libstdc++/117520] C++26 std::text_encoding: == should be =

2024-11-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117520 --- Comment #1 from GCC Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:128f6a6d7af9cf187d59c1dbd9e59f5b782e17c8 commit r15-5107-g128f6a6d7af9cf187d59c1dbd9e59f5b782e17c8 Author: Jonathan Wakely Date:

[Bug c++/117463] [12/13/14/15 Regression] internal compiler error: Segmentation fault at is_nondependent_constant_expression(tree_node*)

2024-11-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117463 --- Comment #4 from GCC Commits --- The master branch has been updated by Simon Martin : https://gcc.gnu.org/g:f32e7339871beec0e4d49698f7e34d77ee882088 commit r15-5110-gf32e7339871beec0e4d49698f7e34d77ee882088 Author: Simon Martin Date: Mon

[Bug c++/117463] [12/13/14/15 Regression] internal compiler error: Segmentation fault at is_nondependent_constant_expression(tree_node*)

2024-11-11 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117463 Simon Martin changed: What|Removed |Added Target Milestone|12.5|15.0 Resolution|---

[Bug target/117525] [15 Regression] canvas.cc:1675:1: internal compiler error: in expand_fix, at optabs.cc:5952 since r15-2890

2024-11-11 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117525 --- Comment #10 from John David Anglin --- (In reply to Andrew Pinski from comment #7) > The way most other targets represent this is just (fix:SI (reg)) without the > inner most `fix:DF/SF` Thanks Andrew. Will test.

[Bug c++/117536] New: -Wshadow generates an incorrect warning with some usages of immediately invoked lambdas

2024-11-11 Thread justus at opentransactions dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117536 Bug ID: 117536 Summary: -Wshadow generates an incorrect warning with some usages of immediately invoked lambdas Product: gcc Version: 14.2.1 Status: UNCONFIRMED

[Bug middle-end/117525] [15 Regression] canvas.cc:1675:1: internal compiler error: in expand_fix, at optabs.cc:5952

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

[Bug middle-end/117525] canvas.cc:1675:1: internal compiler error: in expand_fix, at optabs.cc:5952

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

[Bug libgcc/117537] New: [15 regression] Failed cross build for aarch64_be-unknown-linux-gnu (libgcc/config/libbid/bid_conf.h:847:25: error: missing braces around initializer [-Werror=missing-braces])

2024-11-11 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117537 Bug ID: 117537 Summary: [15 regression] Failed cross build for aarch64_be-unknown-linux-gnu (libgcc/config/libbid/bid_conf.h:847:25: error: missing braces around i

[Bug middle-end/117525] canvas.cc:1675:1: internal compiler error: in expand_fix, at optabs.cc:5952

2024-11-11 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117525 --- Comment #4 from John David Anglin --- (In reply to Andrew Pinski from comment #1) > convert_optab tab = unsignedp ? ufix_optab : sfix_optab; > libfunc = convert_optab_libfunc (tab, GET_MODE (to), GET_MODE (from)); > gcc_ass

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

2024-11-11 Thread rvmallad at amazon dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116743 --- Comment #15 from Rama Malladi --- (In reply to Rama Malladi from comment #14) > Thanks Eugene. Were you able to review the repro and propose a fix? Hi Eugene, checking again. It would be great if you can look into it. Thanks.

[Bug target/117525] [15 Regression] canvas.cc:1675:1: internal compiler error: in expand_fix, at optabs.cc:5952

2024-11-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117525 Andrew Pinski changed: What|Removed |Added Component|middle-end |target --- Comment #7 from Andrew Pinsk

[Bug c++/117533] New: internal compiler error: Segmentation fault signal terminated program cc1plus with incomplete type

2024-11-11 Thread yihan4845 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117533 Bug ID: 117533 Summary: internal compiler error: Segmentation fault signal terminated program cc1plus with incomplete type Product: gcc Version: unknown Status: UNCONFIR

[Bug libstdc++/117276] std::sort(par_unseq ,...) leaks memory when called repeatedly

2024-11-11 Thread oschonrock at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117276 --- Comment #4 from Oliver Schönrock --- Is there anything I can do to help move this forward?

[Bug bootstrap/80677] LIMITS_H_TEST is wrong

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

[Bug tree-optimization/117502] Fail to SLP gcc.target/aarch64/sve/pr95199.c

2024-11-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117502 --- Comment #1 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:0b27a7dd050262a7d64d87863201e4ebbde88386 commit r15-5117-g0b27a7dd050262a7d64d87863201e4ebbde88386 Author: Richard Biener Date:

[Bug libgcc/117537] [15 regression] Failed cross build for aarch64_be-unknown-linux-gnu (libgcc/config/libbid/bid_conf.h:847:25: error: missing braces around initializer [-Werror=missing-braces])

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

[Bug tree-optimization/117484] [15 Regression] ICE: segfault during GIMPLE pass: vect

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

[Bug tree-optimization/117484] [15 Regression] ICE: segfault during GIMPLE pass: vect

2024-11-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117484 --- Comment #6 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:61cd1c43b82dc9d4c3edf122d22887fdce340223 commit r15-5118-g61cd1c43b82dc9d4c3edf122d22887fdce340223 Author: Richard Biener Date:

[Bug tree-optimization/113583] Main loop in 519.lbm not vectorized.

2024-11-11 Thread pan2.li at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113583 Li Pan changed: What|Removed |Added CC||pan2.li at intel dot com --- Comment #20 from

[Bug middle-end/117542] Missed loop vectorization for truncate from float to __bf16.

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

[Bug rtl-optimization/117476] [15 regression] bad generated code at -O1 since r15-4991-g69bd93c167fefb

2024-11-11 Thread alexey.merzlyakov at samsung dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117476 --- Comment #25 from Alexey Merzlyakov --- Updates on GCC regression testing: Locally checked the GCC make check with enable-languages=all before the patching vs. r15-4991-g69bd93c167fefb + fix we are discussing in this ticket. Testing was perf

[Bug libstdc++/117541] New: vector::insert_range should not use ranges::copy

2024-11-11 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117541 Bug ID: 117541 Summary: vector::insert_range should not use ranges::copy Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/117280] Accessing a reference member of a volatile-qualified class glvalue is misinterpreted as volatile read

2024-11-11 Thread de34 at live dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117280 --- Comment #2 from Jiang An --- https://cplusplus.github.io/CWG/issues/2957.html Let's suspend this. If it's determined that evaluating a reference member is an access, GCC's current behavior should be correct.

[Bug rtl-optimization/117476] [15 regression] bad generated code at -O1 since r15-4991-g69bd93c167fefb

2024-11-11 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117476 --- Comment #24 from Jeffrey A. Law --- My plan is to revert the problematic change tomorrow unless Alexey has a patch ready. There's no sense in having folks keep stumbling over this while Alexey is cobbling together a fix. It's not a reflec

[Bug middle-end/117542] New: Missed loop vectorization for truncate from float to __bf16.

2024-11-11 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117542 Bug ID: 117542 Summary: Missed loop vectorization for truncate from float to __bf16. Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: missed-optimizati