[Bug rtl-optimization/117493] [15 regression] ICE when building llvm-18.1.8 with -O3 -fno-tree-forwprop

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

[Bug tree-optimization/117493] New: ICE when building llvm-18.1.8 with -O3 -fno-tree-forwprop

2024-11-07 Thread sjames at gcc dot gnu.org via Gcc-bugs
ported LTO compression algorithms: zlib zstd gcc version 15.0.0 20241107 (experimental) 2a2e6784074e1f7b679bc09b1a66982bf60645a5 (Gentoo 15.0. p, commit 5f55e0a35a6595391420057c748c94110a41cacd) ```

[Bug middle-end/117492] ICE: in decompose, at wide-int.h:1049 with __builtin_stdc_rotate_left/right()

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

[Bug rtl-optimization/117493] [15 regression] ICE when building llvm-18.1.8 with -O3 -fno-tree-forwprop

2024-11-07 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117493 --- Comment #1 from Sam James --- Sorry, this build of GCC was without Valgrind annotations. Please ignore the Valgrind output but the crash is real ofc. Let me fix that.

[Bug middle-end/117493] [15 regression] ICE when building llvm-18.1.8 with -O3 -fno-tree-forwprop

2024-11-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117493 --- Comment #3 from Andrew Pinski --- Definitely seeing insert_predicates_for_cond in the backtrace when stopping for timing reasons. So at least I might have introduced a slight compile time hog.

[Bug middle-end/117493] [15 regression] ICE when building llvm-18.1.8 with -O3 -fno-tree-forwprop

2024-11-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117493 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2024-11-08 Assignee|unassigne

[Bug middle-end/117493] [15 regression] ICE when building llvm-18.1.8 with -O3 -fno-tree-forwprop

2024-11-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117493 --- Comment #2 from Andrew Pinski --- Maybe mine ... Since -fno-tree-forwprop causes us to produce much walkable comparisons ...

[Bug middle-end/117493] [15 regression] ICE when building llvm-18.1.8 with -O3 -fno-tree-forwprop

2024-11-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117493 --- Comment #5 from Andrew Pinski --- Created attachment 59564 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59564&action=edit Quick hack Let me think of a good limit, 5 seems reasonable at this point. Without -fno-tree-forwprop, the cod

[Bug bootstrap/117488] Building a gcc cross-compiler for hppa fails

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

[Bug tree-optimization/117489] [12/13/14/15 Regression] ICE in handle_call_arg, at tree-ssa-structalias.cc:4226 at -O1 and above with "-fno-ipa-pure-const -fsanitize=undefined" and pure and no sanitiz

2024-11-07 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117489 --- Comment #3 from Sam James --- Ah, PR117440. Not the same.

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

2024-11-07 Thread uecker at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117490 --- Comment #3 from uecker at gcc dot gnu.org --- Ah, your are right. The declared type rules makes it valid. I forgot about it because it is never explicitly used for anything, but here it makes a difference.

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

2024-11-07 Thread keinfluegeltier at posteo dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117490 Bug ID: 117490 Summary: Invalid TBAA for structures without tag and identical definition in C. Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

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

2024-11-07 Thread uecker at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117490 --- Comment #1 from uecker at gcc dot gnu.org --- I believe the optimization is valid because what is relevant are the types used for the accesses in 'f2' so 's1' and 's2_alt' which are not compatible with each other. The type in the other TU is

[Bug tree-optimization/117489] [12/13/14/15 Regression] ICE in handle_call_arg, at tree-ssa-structalias.cc:4226 at -O1 and above with "-fno-ipa-pure-const -fsanitize=undefined" and pure and no sanitiz

2024-11-07 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117489 --- Comment #2 from Sam James --- Don't we have another PR for that assert firing?

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

2024-11-07 Thread keinfluegeltier at posteo dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117490 --- Comment #2 from keinfluegeltier at posteo dot de --- The aliasing rule in ยง6.5.1 does not forbid the access if the lvalue used has "_a type compatible with the effective type of the object_". The effective type of `x` is the declared one, wh

[Bug tree-optimization/117489] [12/13/14/15 Regression] ICE in handle_call_arg, at tree-ssa-structalias.cc:4226 at -O1 and above with "-fno-ipa-pure-const -fsanitize=undefined" and pure and no sanitiz

2024-11-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117489 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug target/117007] Poor optimization for small vector constants needed for vector shift/rotate/mask generation

2024-11-07 Thread munroesj at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117007 --- Comment #12 from Steven Munroe --- Is seem like even for small values of signed char vec_splats ((signed char)x) will sometime generate 2 instruction where it should only generate a single xxspltib.

[Bug target/117007] Poor optimization for small vector constants needed for vector shift/rotate/mask generation

2024-11-07 Thread munroesj at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117007 --- Comment #13 from Steven Munroe --- Is seem like even for small values of signed char vec_splats ((signed char)x) for target -mcpu=power9 will sometime generate 2 instruction where it should only generate a single xxspltib.

[Bug ipa/117489] New: ICE on x86_64-linux-gnu: in handle_call_arg, at tree-ssa-structalias.cc:4226 at -O1 and above with "-fno-ipa-pure-const" and no sanitize attribute

2024-11-07 Thread iamanonymous.cs at gmail dot com via Gcc-bugs
ion 15.0.0 20241107 (experimental) (GCC) *** Program: $ cat mutant.C class a { virtual a c(); }; class B { virtual B *d(); }; class e : a, B { e *__attribute__((no_sanitize("undefined"))) __attribute__((pur

[Bug analyzer/117491] New: [14/15 Regression] ICE: SIGSEGV in tree_class_check (tree.h:4085) with -fanalyzer

2024-11-07 Thread zsojka at seznam dot cz via Gcc-bugs
cxx-pch --prefix=/repo/gcc-trunk//binary-trunk-r15-5029-20241107203450f536d54b-checking-yes-rtl-df-extra-nobootstrap-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 15.0.0 20241107 (experimental) (GCC)

[Bug c/117492] New: ICE: in decompose, at wide-int.h:1049 with __builtin_stdc_rotate_left/right()

2024-11-07 Thread zsojka at seznam dot cz via Gcc-bugs
runk//binary-trunk-r15-5029-20241107203450f536d54b-checking-yes-rtl-df-extra-nobootstrap-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 15.0.0 20241107 (experimental) (GCC)

[Bug c/117492] ICE: in decompose, at wide-int.h:1049 with __builtin_stdc_rotate_left/right()

2024-11-07 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117492 Sam James changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

[Bug bootstrap/117488] Building a gcc cross-compiler for hppa fails

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

[Bug tree-optimization/112358] [14/15 Regression] glibc -Wstringop-overflow= build failure on hppa since r14-4089-gd45ddc2c04e471

2024-11-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112358 Andrew Pinski changed: What|Removed |Added CC||bart.vanassche at gmail dot com --- Com

[Bug tree-optimization/117489] [12/13/14/15 Regression] ICE in handle_call_arg, at tree-ssa-structalias.cc:4226 at -O1 and above with "-fno-ipa-pure-const -fsanitize=undefined" and pure and no sanitiz

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

[Bug target/113915] [14 regression] glibc's _dl_find_object_update_1 miscompiled for armv7a since r14-4365-g0731889c026bfe

2024-11-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113915 Andrew Pinski changed: What|Removed |Added CC||bart.vanassche at gmail dot com --- Com

[Bug target/117007] Poor optimization for small vector constants needed for vector shift/rotate/mask generation

2024-11-07 Thread munroesj at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117007 --- Comment #11 from Steven Munroe --- Created attachment 59560 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59560&action=edit Test cases for vec_splats(signed chat) on -mcpu=power9 for and valid char value I would expect for example ve

[Bug tree-optimization/117489] [12/13/14/15 Regression] ICE in handle_call_arg, at tree-ssa-structalias.cc:4226 at -O1 and above with "-fno-ipa-pure-const -fsanitize=undefined" and pure and no sanitiz

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

[Bug middle-end/117496] New: [15 Regression] infinite recursion in insert_predicates_for_cond() on cdrkit-1.1.11

2024-11-07 Thread slyfox at gcc dot gnu.org via Gcc-bugs
--disable-libsanitizer --enable-languages=c CFLAGS='-O1 -g0' CXXFLAGS='-O1 -g0' LDFLAGS='-O1 -g0' Thread model: posix Supported LTO compression algorithms: zlib gcc version 15.0.0 20241107 (experimental) (GCC) Program received signal SIGSEGV, Segmentation fault. 0x00

[Bug middle-end/117496] [15 Regression] infinite recursion in insert_predicates_for_cond() on cdrkit-1.1.11

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

[Bug middle-end/117496] [15 Regression] infinite recursion in insert_predicates_for_cond() on cdrkit-1.1.11

2024-11-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117496 --- Comment #2 from Andrew Pinski --- The patch in pr 117493 should fix thus one too.

[Bug testsuite/117494] New: pr101145inf.c fails on RISC-V without V extension (and maybe other architectures with a CPU lacking vector extension)

2024-11-07 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117494 Bug ID: 117494 Summary: pr101145inf.c fails on RISC-V without V extension (and maybe other architectures with a CPU lacking vector extension) Product: gcc Versio

[Bug target/117495] New: ICE: in extract_insn, at recog.cc:2882 (unrecognizable insn) with -ffast-math -mavx10.2-512 and __bf16 compare int

2024-11-07 Thread zsojka at seznam dot cz via Gcc-bugs
king-yes-rtl-df-extra-nobootstrap-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 15.0.0 20241107 (experimental) (GCC)

<    1   2