[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 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] 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 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)

[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 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/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 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 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 #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 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/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 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 c/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 --- Comment #2 from Andrew Pinski --- (In reply to Sam James from comment #1) > I don't think we have any folding for patterns into these yet so can't make > it a regression. We do fold sometimes into LROTATE_EXPR and RROTATE_EXPR but this is a

[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 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 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 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/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 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 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 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 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 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 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 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 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 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 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 #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 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 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 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 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 bootstrap/117488] New: Building a gcc cross-compiler for hppa fails

2024-11-07 Thread bart.vanassche at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117488 Bug ID: 117488 Summary: Building a gcc cross-compiler for hppa fails Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: boo

[Bug ada/117485] aspect "type_invariant" only allowed for private type or corresponding full view

2024-11-07 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117485 --- Comment #3 from Eric Botcazou --- > In that case I'll take it up with ARG, because it doesn't make sense to stop > public types from using this. You might want to read the AI that discussed it 15 years ago, that's clearly explained in there

[Bug target/117487] New: Power8 optimizations for math library aren't done in power9 or power10 (PR target/71977)

2024-11-07 Thread meissner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117487 Bug ID: 117487 Summary: Power8 optimizations for math library aren't done in power9 or power10 (PR target/71977) Product: gcc Version: 15.0 Status: UNCONFIRMED

[Bug target/117353] [15 regression] RISC-V: ICE when building libcrypt since r15-3228-g771256bcb9ddc4

2024-11-07 Thread vineetg at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117353 --- Comment #9 from Vineet Gupta --- Or the other option is to prevent these patterns from kicking in during reload by adjust the costs (there's a TODO there already) diff --git a/gcc/config/riscv/riscv.cc b/gcc/config/riscv/riscv.cc index 3ac

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

2024-11-07 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117476 Sergei Trofimovich changed: What|Removed |Added CC||slyfox at gcc dot gnu.org --- Comm

[Bug target/117353] [15 regression] RISC-V: ICE when building libcrypt since r15-3228-g771256bcb9ddc4

2024-11-07 Thread vineetg at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117353 --- Comment #8 from Vineet Gupta --- We could potentially use a scratch in splitter. (clobber (match_scratch:DI 3 "=&r"))]

[Bug ada/117485] aspect "type_invariant" only allowed for private type or corresponding full view

2024-11-07 Thread 00120260a at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117485 --- Comment #2 from Saada Mehdi <00120260a at gmail dot com> --- mm, ok, we're wrong, I remember we didn't find it, weird. In that case I'll take it up with ARG, because it doesn't make sense to stop public types from using this.

[Bug target/117353] [15 regression] RISC-V: ICE when building libcrypt since r15-3228-g771256bcb9ddc4

2024-11-07 Thread vineetg at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117353 --- Comment #7 from Vineet Gupta --- (In reply to Jeffrey A. Law from comment #6) > So my approach would be to note the insn number, then set a conditional > breakpoint in make_insn_raw (after it initializes INSN_UID in the new > insn). The co

[Bug tree-optimization/117486] [15 Regression] ICE: in vect_build_slp_tree_2, at tree-vect-slp.cc:2027

2024-11-07 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117486 --- Comment #3 from Patrick O'Neill --- (In reply to Andrew Pinski from comment #2) > I think you reduced the testcase case a little too much. Anyways confirmed, > see the attached testcase for one that fails on aarch64 with -march=armv9-a. Tha

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

2024-11-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117484 Andrew Pinski changed: What|Removed |Added Target|riscv*-*-* |riscv*-*-* aarch64*-*-* Ever confir

[Bug tree-optimization/117486] [15 Regression] ICE: in vect_build_slp_tree_2, at tree-vect-slp.cc:2027

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

[Bug tree-optimization/117486] [15 Regression] ICE: in vect_build_slp_tree_2, at tree-vect-slp.cc:2027

2024-11-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117486 --- Comment #1 from Andrew Pinski --- Created attachment 59558 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59558&action=edit testcase that ICEs the same way on aarch64

[Bug tree-optimization/117486] New: [15 Regression] ICE: in vect_build_slp_tree_2, at tree-vect-slp.cc:2027

2024-11-07 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117486 Bug ID: 117486 Summary: [15 Regression] ICE: in vect_build_slp_tree_2, at tree-vect-slp.cc:2027 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

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

2024-11-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117484 --- Comment #1 from Andrew Pinski --- Created attachment 59557 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59557&action=edit testcase that also fails with -march=armv9-a on aarch64

[Bug ada/117485] aspect "type_invariant" only allowed for private type or corresponding full view

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

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

2024-11-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117484 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |15.0

[Bug ada/117485] New: aspect "type_invariant" only allowed for private type or corresponding full view, but RM doesn't mention that

2024-11-07 Thread 00120260a at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117485 Bug ID: 117485 Summary: aspect "type_invariant" only allowed for private type or corresponding full view, but RM doesn't mention that Product: gcc Version: 14.2.

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

2024-11-07 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117484 Bug ID: 117484 Summary: [15 Regression] ICE: segfault during GIMPLE pass: vect Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Comp

[Bug libstdc++/115285] [12/13/14 Regression] std::unordered_set can have duplicate value

2024-11-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115285 --- Comment #17 from GCC Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:90c578654a2c96032aa6621449859243df5f641b commit r15-5032-g90c578654a2c96032aa6621449859243df5f641b Author: Jonathan Wakely Date

[Bug target/117483] New: [15 Regression] ICE: in merge, at config/riscv/riscv-vsetvl.cc:2106

2024-11-07 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117483 Bug ID: 117483 Summary: [15 Regression] ICE: in merge, at config/riscv/riscv-vsetvl.cc:2106 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

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

2024-11-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117476 Andrew Pinski changed: What|Removed |Added Priority|P3 |P1 Keywords|

[Bug fortran/117473] Issue with OpenMP workshare and -fsanitize=thread

2024-11-07 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117473 anlauf at gcc dot gnu.org changed: What|Removed |Added Attachment #59547|0 |1 is obsolete|

[Bug tree-optimization/117482] [12/13/14/15 Regression] Bogus -Wstringop-overflow warning in intrusive list implementation

2024-11-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117482 Andrew Pinski changed: What|Removed |Added Known to work||11.4.0 Known to fail|

[Bug target/117478] -ObjC is not accepted: error: argument to '-O' should be a non-negative integer, 'g', 's', 'z' or 'fast'

2024-11-07 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117478 Iain Sandoe changed: What|Removed |Added Last reconfirmed||2024-11-07 Assignee|unassigned

[Bug tree-optimization/117414] missing predicated VN due to combining if statements

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

[Bug c/117482] New: Bogus -Wstringop-overflow warning in intrusive list implementation

2024-11-07 Thread adam at adamrosenfield dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117482 Bug ID: 117482 Summary: Bogus -Wstringop-overflow warning in intrusive list implementation Product: gcc Version: 14.2.1 Status: UNCONFIRMED Severity: normal

[Bug objc/117478] -ObjC is not accepted: error: argument to '-O' should be a non-negative integer, 'g', 's', 'z' or 'fast'

2024-11-07 Thread eschwartz93 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117478 --- Comment #5 from Eli Schwartz --- https://github.com/GNOME/gegl/blob/626c202550c4536c2e411821fb34e91d138c1548/meson.build#L246-L254 ``` if os_osx add_languages('objc') osx_ldflags = ['-Wl,-framework,Foundation', '-Wl,-framework,AppKit',

[Bug target/117447] ICE in BPF GCC-trunk segmentation fault

2024-11-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117447 --- Comment #4 from GCC Commits --- The master branch has been updated by David Faust : https://gcc.gnu.org/g:0e1382034246a594f1da8dbaee97c4a06743f31a commit r15-5026-g0e1382034246a594f1da8dbaee97c4a06743f31a Author: David Faust Date: Thu N

[Bug c++/117479] ICE on x86_64-linux-gnu: in cxx_eval_constant_expression, at cp/constexpr.cc:8448 with vector_size

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

[Bug c++/117479] ICE on x86_64-linux-gnu: in cxx_eval_constant_expression, at cp/constexpr.cc:8448 with vector_size

2024-11-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117479 Andrew Pinski changed: What|Removed |Added Keywords|ice-on-invalid-code |ice-on-valid-code --- Comment #2 from A

[Bug tree-optimization/117480] New: wrong code at -O1 and above on x86_64-linux-gnu

2024-11-07 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
local/suz-local/software/local/gcc-trunk --enable-sanitizers --enable-languages=c,c++ --disable-werror --enable-multilib Thread model: posix Supported LTO compression algorithms: zlib gcc version 15.0.0 20241107 (experimental) (GCC) [608] % [608] % gcctk -O0 small.c; ./a.out [609] % [609] % gcct

[Bug c++/117256] When initializing an object, padding bits are not set to zero

2024-11-07 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117256 --- Comment #3 from Jakub Jelinek --- Created attachment 59554 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59554&action=edit gcc15-pr117256.patch Untested fix on top of the above mentioned patch. This is just the start, I think for ful

[Bug target/117477] Register allocator chooses a slot location instead a new callee saved register and not taking inot account pair allocation

2024-11-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117477 --- Comment #2 from Andrew Pinski --- Here is a testcase which shows that GCC spilling but spilling is better than using a callee saved register by removing extra moves: ``` int test (int x), test2 (int x); int test3(int,int,int); int foo (int

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

2024-11-07 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117476 Alex Coplan changed: What|Removed |Added CC||acoplan at gcc dot gnu.org --- Comment #1

[Bug target/117477] Register allocator chooses a slot location instead a new callee saved register and not taking inot account pair allocation

2024-11-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117477 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Keywords|

[Bug objc/117478] -ObjC is not accepted: error: argument to '-O' should be a non-negative integer, 'g', 's', 'z' or 'fast'

2024-11-07 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117478 --- Comment #8 from Sergey Fedorov --- (In reply to Eli Schwartz from comment #5) > Not a meson bug, but gegl should probably test whether -ObjC is accepted as > a valid flag before unconditionally adding it to their build. I have opened an iss

[Bug tree-optimization/85605] Potentially missing optimization under x64 and ARM: seemingly unnecessary branch in codegen

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

[Bug objc/117478] -ObjC is not accepted: error: argument to '-O' should be a non-negative integer, 'g', 's', 'z' or 'fast'

2024-11-07 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117478 --- Comment #13 from Sergey Fedorov --- (In reply to Jakub Jelinek from comment #10) > -xobjective-c should work fine with both gcc and clang and is much better > designed, it isn't about two almost dead languages, but allows specifying > any la

[Bug c++/19501] Redundant "template" keyword rejected

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

[Bug objc/117478] -ObjC is not accepted: error: argument to '-O' should be a non-negative integer, 'g', 's', 'z' or 'fast'

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

[Bug tree-optimization/117414] missing predicated VN due to combining if statements

2024-11-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117414 --- Comment #3 from GCC Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:578002846620ed04192a4832e9f20b5c32816153 commit r15-5021-g578002846620ed04192a4832e9f20b5c32816153 Author: Andrew Pinski Date: Fr

[Bug tree-optimization/85605] Potentially missing optimization under x64 and ARM: seemingly unnecessary branch in codegen

2024-11-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85605 --- Comment #9 from GCC Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:2a2e6784074e1f7b679bc09b1a66982bf60645a5 commit r15-5024-g2a2e6784074e1f7b679bc09b1a66982bf60645a5 Author: Andrew Pinski Date: Mon

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

2024-11-07 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117476 --- Comment #12 from David Binderman --- (In reply to Alexey Merzlyakov from comment #11) > To verify the "outside mode N" part, we need to change > > & ~GET_MODE_MASK (mode)) == 0) > > to the: > > & ~GET_MODE_MASK(GET_MODE (op))) =

[Bug tree-optimization/117414] missing predicated VN due to combining if statements

2024-11-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117414 --- Comment #5 from GCC Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:684e5ae90b64c3481f8a5cb7b9517daf79c78ab4 commit r15-5023-g684e5ae90b64c3481f8a5cb7b9517daf79c78ab4 Author: Andrew Pinski Date: Fr

[Bug tree-optimization/117414] missing predicated VN due to combining if statements

2024-11-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117414 --- Comment #4 from GCC Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:add4bb94459d6cecae11de279b49f9c1acb14394 commit r15-5022-gadd4bb94459d6cecae11de279b49f9c1acb14394 Author: Andrew Pinski Date: Fr

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

2024-11-07 Thread alexey.merzlyakov at samsung dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117476 --- Comment #11 from Alexey Merzlyakov --- Analysis shown that the problem seem is related to incorrect check in the optimization, introduced by the aforementioned patch: (zero_extend:M (subreg:N (not:M (X:M -> (xor:M (X:M, mask)) In

[Bug c++/115560] ICE: in type_dependent_expression_p, at cp/pt.cc:28576

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

[Bug objc/117478] -ObjC is not accepted: error: argument to '-O' should be a non-negative integer, 'g', 's', 'z' or 'fast'

2024-11-07 Thread eschwartz93 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117478 --- Comment #12 from Eli Schwartz --- (In reply to Sergey Fedorov from comment #11) > Do you mean that even with the correct flag passed, the code won’t compile > with gcc14? While I have gcc15 locally (not updating it weekly though), few > peop

[Bug c++/117479] ICE on x86_64-linux-gnu: in cxx_eval_constant_expression, at cp/constexpr.cc:8448 with vector_size

2024-11-07 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117479 Marek Polacek changed: What|Removed |Added Ever confirmed|0 |1 Keywords|

[Bug objc/117478] -ObjC is not accepted: error: argument to '-O' should be a non-negative integer, 'g', 's', 'z' or 'fast'

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

[Bug c++/117462] internal compiler error: comptypes(tree_node*, tree_node*, int)

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

[Bug objc/117478] -ObjC is not accepted: error: argument to '-O' should be a non-negative integer, 'g', 's', 'z' or 'fast'

2024-11-07 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117478 --- Comment #11 from Sergey Fedorov --- (In reply to Eli Schwartz from comment #9) > It's not a bad idea to "fix" it from both ends. > > Projects such as gegl cannot compile on macOS using GCC 13 or 14, and that's > not going to change. They ca

[Bug target/117481] New: ICE: maximum number of generated reload insns per insn achieved (90) with -O -mrvv-vector-bits=zvl -march=rv64gcv -mabi=lp64e

2024-11-07 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117481 Bug ID: 117481 Summary: ICE: maximum number of generated reload insns per insn achieved (90) with -O -mrvv-vector-bits=zvl -march=rv64gcv -mabi=lp64e Product: gcc

[Bug c++/78620] C++11, Padding bytes not zero-intialized when POD is initialized with compiler generated default constructor

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

[Bug objc/117478] -ObjC is not accepted: error: argument to '-O' should be a non-negative integer, 'g', 's', 'z' or 'fast'

2024-11-07 Thread eschwartz93 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117478 --- Comment #9 from Eli Schwartz --- It's not a bad idea to "fix" it from both ends. Projects such as gegl cannot compile on macOS using GCC 13 or 14, and that's not going to change. They can't really know what versions their users have install

[Bug objc/117478] -ObjC is not accepted: error: argument to '-O' should be a non-negative integer, 'g', 's', 'z' or 'fast'

2024-11-07 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117478 --- Comment #10 from Jakub Jelinek --- -xobjective-c should work fine with both gcc and clang and is much better designed, it isn't about two almost dead languages, but allows specifying any language the compiler supports.

[Bug objc/117478] -ObjC is not accepted: error: argument to '-O' should be a non-negative integer, 'g', 's', 'z' or 'fast'

2024-11-07 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117478 --- Comment #6 from Iain Sandoe --- fine with fixing it upstream - but also OK with trying to be compatible (esp. with facilities that were present for ≈ 20 years, if those are not to intrusive to arrange).

[Bug rtl-optimization/117476] [15 regression] bad generated code from -finline-small-functions since r15-4991-g69bd93c167fefb

2024-11-07 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117476 --- Comment #10 from Sam James --- The dupe PR117480 has a nicer testcase.

[Bug rtl-optimization/117476] [15 regression] bad generated code from -finline-small-functions since r15-4991-g69bd93c167fefb

2024-11-07 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117476 Sam James changed: What|Removed |Added CC||zhendong.su at inf dot ethz.ch --- Comment

[Bug tree-optimization/117480] wrong code at -O1 and above on x86_64-linux-gnu

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

[Bug rtl-optimization/117477] aarch64: Unnecessary stack spill generated around function call

2024-11-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117477 --- Comment #1 from Andrew Pinski --- Both are the same. Gcc choices a stack location rather than a calee save register which is also saved/restored from the stackq. The cost of knowing that using another callee saved register is not known to

[Bug objc/117478] -ObjC is not accepted: error: argument to '-O' should be a non-negative integer, 'g', 's', 'z' or 'fast'

2024-11-07 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117478 --- Comment #4 from Iain Sandoe --- -ObjC is not exactly clang-specific - AFAIR it was supported by Apple gcc-4.x as well, Perhaps we can support it as a driver flag (which is used as shorthand for -x objective-c) I'm short of time at the mome

[Bug objc/117478] -ObjC is not accepted: error: argument to '-O' should be a non-negative integer, 'g', 's', 'z' or 'fast'

2024-11-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117478 --- Comment #1 from Andrew Pinski --- > AFAICT, this flag is redundant with GCC No the correct flag is -xobjc

[Bug rtl-optimization/117476] [15 regression] bad generated code from -finline-small-functions since r15-4991-g69bd93c167fefb

2024-11-07 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117476 Sam James changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |alexey.merzlyakov at samsung dot c

[Bug c/117065] [15 regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in type_has_padding_at_level_p, at gimple-fold.cc:4820

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

  1   2   >