[Bug rtl-optimization/118266] [15 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.cc:2591 by r15-5863-g5ab3f091b3eb42

2025-01-09 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118266 H.J. Lu changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug rtl-optimization/118266] [15 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.cc:2591 by r15-5863-g5ab3f091b3eb42

2025-01-08 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118266 H.J. Lu changed: What|Removed |Added Attachment #60072|0 |1 is obsolete|

[Bug rtl-optimization/118266] [15 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.cc:2591 by r15-5863-g5ab3f091b3eb42

2025-01-08 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118266 --- Comment #17 from H.J. Lu --- Created attachment 60072 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60072&action=edit A patch Try this.

[Bug rtl-optimization/118266] [15 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.cc:2591 by r15-5863-g5ab3f091b3eb42

2025-01-08 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118266 --- Comment #16 from H.J. Lu --- ree turns: (insn 27 26 139 2 (parallel [ (set (reg/f:SI 7 sp) (plus:SI (reg/f:SI 7 sp) (const_int 16 [0x10]))) (clobber (reg:CC 17 flags)) ]) "

[Bug rtl-optimization/118266] [15 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.cc:2591 by r15-5863-g5ab3f091b3eb42

2025-01-08 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118266 --- Comment #15 from H.J. Lu --- ree generates: (insn 155 27 139 2 (set (reg:DI 7 sp) (reg:DI 6 bp)) "x.ii":14:17 discrim 1 -1 (nil)) It restores SP from BP.

[Bug rtl-optimization/118266] [15 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.cc:2591 by r15-5863-g5ab3f091b3eb42

2025-01-07 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118266 --- Comment #13 from H.J. Lu --- (gdb) call debug_cfi_row (cur_row) .cfi_def_cfa 7, 80 .cfi_offset 3, -56 .cfi_offset 6, -48 .cfi_offset 12, -40 .cfi_offset 13, -32 .cfi_offset 14, -24 .cfi

[Bug tree-optimization/118266] [15 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.cc:2591 by r15-5863-g5ab3f091b3eb42

2025-01-07 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118266 --- Comment #11 from H.J. Lu --- A smaller testcase: --- void *xmalloc(); void free(void *); typedef struct { int a; int b; int c; } mystruct; int main_j; int main() { mystruct *m = (mystruct *)xmalloc(), *mref = m; #pragma acc enter da

[Bug tree-optimization/118266] [15 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.cc:2591 by r15-5863-g5ab3f091b3eb42

2025-01-07 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118266 H.J. Lu changed: What|Removed |Added Summary|[15 Regression] ICE in |[15 Regression] ICE in |may

[Bug target/118266] [15 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.cc:2591

2025-01-07 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118266 --- Comment #9 from H.J. Lu --- Created attachment 60069 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60069&action=edit A testcase [hjl@gnu-tgl-3 gcc]$ ./xgcc -B./ -S -O2 -mx32 -fopenacc -foffload=disable /tmp/x.ii during RTL pass: dwar

[Bug target/118266] [15 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.cc:2591

2025-01-07 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118266 H.J. Lu changed: What|Removed |Added Status|WAITING |NEW --- Comment #8 from H.J. Lu --- Confirme

[Bug target/118288] Using new crc builtins on i386 leads to ICE

2025-01-04 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118288 H.J. Lu changed: What|Removed |Added Target Milestone|--- |15.0 --- Comment #6 from H.J. Lu --- FWIW,

[Bug target/118266] [15 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.cc:2591

2025-01-01 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118266 --- Comment #7 from H.J. Lu --- Please upload your auto-host.h.

[Bug target/118266] [15 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.cc:2591

2025-01-01 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118266 --- Comment #6 from H.J. Lu --- I can't reproduce it with x86-64 gcc configured with --enable-checking=release --enable-cet --with-demangler-in-ld --prefix=/usr/gcc-15.0.0-x32 --with-local-prefix=/usr/local --enable-gnu-indirect-function --enab

[Bug target/118266] [15 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.cc:2591

2025-01-01 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118266 --- Comment #5 from H.J. Lu --- I am using binutils master branch with commit 2b001c799977a97304311df238fe33daa9b8fa7f Author: GDB Administrator Date: Mon Dec 30 00:00:19 2024 + Automatic date update in version.in

[Bug target/118266] [15 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.cc:2591

2025-01-01 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118266 --- Comment #4 from H.J. Lu --- How can I reproduce it with x86-64 gcc? I tried x86-64 gcc configured with --disable-bootstrap --enable-checking=release --enable-cet --with-demangler-in-ld --prefix=/usr/gcc-15.0.0-x86-64 --with-local-prefix=/us

[Bug target/118266] [15 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.cc:2591

2025-01-01 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118266 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |WAITING Ever confirmed|0

[Bug target/118270] New: [15 Regression] Many AVX10.2 test failures

2025-01-01 Thread hjl.tools at gmail dot com via Gcc-bugs
: target Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com CC: haochen.jiang at intel dot com Target Milestone: --- Target: x86-64 On x86-64 with binutils commit 2b001c799977a97304311df238fe33daa9b8fa7f Author: GDB

[Bug c/48274] C frontend emit invalid promotions (TARGET_PROMOTE_PROTOTYPES )

2024-12-03 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48274 Bug 48274 depends on bug 117907, which changed state. Bug 117907 Summary: Inconsistent usages of TARGET_PROMOTE_PROTOTYPES https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117907 What|Removed |Added

[Bug middle-end/112877] TARGET_PROMOTE_PROTOTYPES is not honored consistently, should maybe not apply to builtins

2024-12-03 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112877 H.J. Lu changed: What|Removed |Added CC||hjl.tools at gmail dot com --- Comment #2

[Bug middle-end/117907] Inconsistent usages of TARGET_PROMOTE_PROTOTYPES

2024-12-03 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117907 H.J. Lu changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug middle-end/112877] TARGET_PROMOTE_PROTOTYPES is not honored consistently, should maybe not apply to builtins

2024-12-03 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112877 Bug 112877 depends on bug 117907, which changed state. Bug 117907 Summary: Inconsistent usages of TARGET_PROMOTE_PROTOTYPES https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117907 What|Removed |Added --

[Bug middle-end/117907] Inconsistent usages of TARGET_PROMOTE_PROTOTYPES

2024-12-03 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117907 H.J. Lu changed: What|Removed |Added Blocks||48274, 112877 Status|UNCONFIRMED

[Bug middle-end/117907] New: Inconsistent usages of TARGET_PROMOTE_PROTOTYPES

2024-12-03 Thread hjl.tools at gmail dot com via Gcc-bugs
: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com Target Milestone: --- TARGET_PROMOTE_PROTOTYPES is an optimization hook, which promotes integer arguments smaller than int to int if TARGET_PROMOTE_PROTOTYPES returns true. Some frontends

[Bug fortran/117901] class_transformational_1.f90 with -O3 and -fcheck=bounds gives ICE in make_ssa_name_fn

2024-12-03 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117901 H.J. Lu changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug target/117863] New: Missing pcmpeq splitters

2024-11-30 Thread hjl.tools at gmail dot com via Gcc-bugs
Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com Target Milestone: --- Target: x86-64 $ cat vector_eq-2.c /* { dg-do compile { target { i?86-*-* x86_64-*-* } } } */ /* { dg-additional-options "-O2 -march=x86-64-v3" } */ typedef int v4si __a

[Bug bootstrap/117846] New: [15 Regression] go-encode-id.cc:176:48: error: ‘%02x’ directive output may be truncated writing between 2 and 8 bytes into a region of size 6

2024-11-29 Thread hjl.tools at gmail dot com via Gcc-bugs
Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com Target Milestone: --- When Go is enabled, r15-5775

[Bug target/117839] Redundant vector XOR instructions

2024-11-29 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117839 --- Comment #4 from H.J. Lu --- Created attachment 59744 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59744&action=edit Add a pass to remove redundant vector load I am testing it.

[Bug target/117839] Redundant vector XOR instructions

2024-11-28 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117839 H.J. Lu changed: What|Removed |Added Last reconfirmed||2024-11-29 Ever confirmed|0

[Bug target/117839] New: Redundant vector XOR instructions

2024-11-28 Thread hjl.tools at gmail dot com via Gcc-bugs
Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com Target Milestone: --- Target: x86-64 [hjl@gnu-tgl-3 zero-1]$ cat z.c #include #include float clear_memory (void *mem, size_t clearsize) { /* Unroll clear memory size up to 9 * size_t bytes

[Bug middle-end/117098] Tail call doesn't work in some cases

2024-11-25 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117098 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Target Milestone|---

[Bug target/117547] FAIL: gcc.target/i386/*-pr93673.c without TARGET_PROMOTE_PROTOTYPES

2024-11-24 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117547 --- Comment #5 from H.J. Lu --- Created attachment 59691 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59691&action=edit A patch

[Bug bootstrap/117691] New: cc1: internal compiler error: in fail, at selftest.cc:47

2024-11-19 Thread hjl.tools at gmail dot com via Gcc-bugs
Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com Target Milestone: --- Target: i686 On Linux/i686, r15-5477-gf5a87c8d8c6a8c gave LC_ALL=C GCC_COLORS= /export/build/gnu/tools-build/gcc-32bit/build

[Bug target/117547] FAIL: gcc.target/i386/*-pr93673.c without TARGET_PROMOTE_PROTOTYPES

2024-11-13 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117547 H.J. Lu changed: What|Removed |Added Last reconfirmed||2024-11-13 Ever confirmed|0

[Bug target/117547] FAIL: gcc.target/i386/*-pr93673.c without TARGET_PROMOTE_PROTOTYPES

2024-11-13 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117547 --- Comment #3 from H.J. Lu --- (In reply to Richard Biener from comment #2) > I think the error is with const_0_to_255_operand which seems to operate > without context of the mode a VOIDmode CONST_INT is need to be interpreted > with. Alternat

[Bug target/117547] FAIL: gcc.target/i386/*-pr93673.c without TARGET_PROMOTE_PROTOTYPES

2024-11-12 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117547 --- Comment #1 from H.J. Lu --- Since const_0_to_255_operand returns false on (const_int -1 [0x]), we need to get (const_int 255 [0xff]) from co nstant 255>

[Bug target/117547] New: FAIL: gcc.target/i386/*-pr93673.c without TARGET_PROMOTE_PROTOTYPES

2024-11-12 Thread hjl.tools at gmail dot com via Gcc-bugs
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com CC: liuhongt at gcc dot gnu.org, rguenth at gcc dot gnu.org, uros at gcc dot gnu.org Target Milestone

[Bug tree-optimization/108357] [13 Regression] Dead Code Elimination Regression at -O2 since r13-4607-g2dc5d6b1e7ec88

2024-11-10 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108357 H.J. Lu changed: What|Removed |Added Status|REOPENED|NEW --- Comment #25 from H.J. Lu --- One dif

[Bug middle-end/117526] New: gcc.dg/tree-ssa/pr108357.c fails without integer argument promotion

2024-11-10 Thread hjl.tools at gmail dot com via Gcc-bugs
Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com Target Milestone: --- If TARGET_PROMOTE_PROTOTYPES returns false or the C frontend doesn't promote integer argument as implemented in

[Bug testsuite/117300] guality tests always complain about debuginfod on Fedora 41 due to DEBUGINFOD_URLS being set

2024-11-04 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117300 H.J. Lu changed: What|Removed |Added Target Milestone|--- |15.0 Status|NEW

[Bug rtl-optimization/115568] [12/13/14/15 Regression] wrong code at -O2 with "-fno-tree-sink -fno-tree-ter -fschedule-insns" on x86_64-linux-gnu since r12-6122-g9407058a430316

2024-11-03 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115568 --- Comment #5 from H.J. Lu --- -mtune=haswell is impacted. -mtune=znver4 is OK.

[Bug rtl-optimization/115568] [12/13/14/15 Regression] wrong code at -O2 with "-fno-tree-sink -fno-tree-ter -fschedule-insns" on x86_64-linux-gnu since r12-6122-g9407058a430316

2024-11-03 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115568 --- Comment #4 from H.J. Lu --- (In reply to H.J. Lu from comment #3) > This is a latent bug in the sched1 pass. This change > > diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md > index effab299349..c532f0596c7 100644 > --- a/gcc

[Bug rtl-optimization/115568] [12/13/14/15 Regression] wrong code at -O2 with "-fno-tree-sink -fno-tree-ter -fschedule-insns" on x86_64-linux-gnu since r12-6122-g9407058a430316

2024-11-03 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115568 --- Comment #3 from H.J. Lu --- This is a latent bug in the sched1 pass. This change diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index effab299349..c532f0596c7 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.

[Bug target/117416] [15 Regression] ICE: in gen_prefetch, at config/i386/i386.md:28541 with __builtin_ia32_prefetch() by r15-4833-ge9ab41b79933d4

2024-11-02 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117416 H.J. Lu changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug middle-end/117387] Incorrect n_named_args in expand_call

2024-10-31 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117387 --- Comment #3 from H.J. Lu --- Like this? diff --git a/gcc/calls.cc b/gcc/calls.cc index f67067acad4..1df064dcef6 100644 --- a/gcc/calls.cc +++ b/gcc/calls.cc @@ -2992,8 +2992,6 @@ expand_call (tree exp, rtx target, int ignore) Normally,

[Bug middle-end/117387] Incorrect n_named_args in expand_call

2024-10-31 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117387 --- Comment #2 from H.J. Lu --- (In reply to Andrew Pinski from comment #1) > But then later on it does: > /* Now possibly adjust the number of named args. > Normally, don't include the last named arg if anonymous args follow. > We do

[Bug middle-end/117387] New: Incorrect n_named_args in expand_call

2024-10-31 Thread hjl.tools at gmail dot com via Gcc-bugs
-end Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com Target Milestone: --- expand_call has if (type_arg_types != 0) n_named_args = (list_length (type_arg_types) /* Count the struct value address, if it is passed as a parm

[Bug target/14907] bogus sign/zero extension when relaying parameters with regparm

2024-10-28 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14907 --- Comment #7 from H.J. Lu --- Created attachment 59467 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59467&action=edit A patch I am testing this.

[Bug target/117310] Unnecessary zero-extension for tailcall

2024-10-27 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117310 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/14907] bogus sign/zero extension when relaying parameters with regparm

2024-10-27 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14907 --- Comment #6 from H.J. Lu --- *** Bug 117310 has been marked as a duplicate of this bug. ***

[Bug target/14907] bogus sign/zero extension when relaying parameters with regparm

2024-10-26 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14907 --- Comment #5 from H.J. Lu --- (In reply to Nicholas Miell from comment #4) > This also occurs on AMD64 without any special attributes (the ABI passes > params in registers already). > > When compiling: > extern char c2(char); > char c1(char c)

[Bug target/117310] New: Unnecessary zero-extension for tailcall

2024-10-26 Thread hjl.tools at gmail dot com via Gcc-bugs
Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com CC: crazylht at gmail dot com Target Milestone: --- [hjl@gnu-tgl-3 tailcall-1]$ cat x.c extern int baz (char c1); int foo (char c1) { return baz (c1); } [hjl@gnu-tgl-3 tailcall-1

[Bug testsuite/117300] guality tests always fail on Fedora 41 due to DEBUGINFOD_URLS being set

2024-10-26 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117300 --- Comment #9 from H.J. Lu --- Created attachment 59447 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59447&action=edit A patch This seems to work.

[Bug target/117301] Many AVX10 tests fail

2024-10-25 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117301 --- Comment #2 from H.J. Lu --- Since new AVX10.2 instructions are generated, check_effective_target_avx10_2_512 doesn't cover them.

[Bug target/117301] Many AVX10 tests fail

2024-10-25 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117301 H.J. Lu changed: What|Removed |Added Last reconfirmed||2024-10-26 CC|

[Bug target/117301] New: Many AVX10 tests fail

2024-10-25 Thread hjl.tools at gmail dot com via Gcc-bugs
: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com CC: haochen.jiang at intel dot com Target Milestone: --- Target: i386 r15-4407-g8b9b696c98def8 commit 8b9b696c98def874139effc0380929df4a4356f0 Author: Haochen Jiang Date: Wed Oct 16 15

[Bug debug/117300] New: guality tests always fail on Fedora 41

2024-10-25 Thread hjl.tools at gmail dot com via Gcc-bugs
Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com Target Milestone: --- On Fedora 41, gdb defaults to use debuginfod. I got Spawning: gdb -nx -nw -quiet -batch -x pr36728-2.gdb ./pr36728-2.exe spawn gdb -nx -nw -quiet -batch -x pr36728-2.gdb

[Bug middle-end/117098] Tail call doesn't work in some cases

2024-10-12 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117098 --- Comment #3 from H.J. Lu --- Created attachment 59328 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59328&action=edit A patch I am testing this.

[Bug middle-end/117098] Tail call doesn't work in some cases

2024-10-12 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117098 H.J. Lu changed: What|Removed |Added Component|target |middle-end --- Comment #2 from H.J. Lu --- s

[Bug target/117098] Tail call doesn't work in some cases

2024-10-12 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117098 H.J. Lu changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug target/117098] New: Tail call doesn't work for x32

2024-10-11 Thread hjl.tools at gmail dot com via Gcc-bugs
arget Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com Target Milestone: --- Target: x86-64 [hjl@gnu-tgl-3 tmp]$ cat x.c struct A { int a[6]; void *p[7]; }; int baz (int a, int b, int c, void *p, struct A s); int foo (int a, int b, int c, vo

[Bug target/117097] New: [15 Regression] gcc.target/i386/pr63527.c

2024-10-11 Thread hjl.tools at gmail dot com via Gcc-bugs
: target Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com CC: liuhongt at gcc dot gnu.org Target Milestone: --- Target: i386 On x86-64, -m32 gave me: FAIL: gcc.target/i386/pr63527.c scan-assembler-not movl[ \t]%[^,]+, %ebx

[Bug target/117082] New: [15 Regression] FAIL: gcc.target/i386/stack-check-17.c

2024-10-10 Thread hjl.tools at gmail dot com via Gcc-bugs
Component: target Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com CC: liuhongt at gcc dot gnu.org Target Milestone: --- Target: x86-64 On x86-64, I got FAIL: gcc.target/i386/stack-check-17.c scan-assembler-not pop

[Bug target/117081] New: [15 Regression] FAIL: gcc.target/i386/pr91384.c

2024-10-10 Thread hjl.tools at gmail dot com via Gcc-bugs
: target Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com CC: liuhongt at gcc dot gnu.org Target Milestone: --- Target: x86-64 On x86-64, I got FAIL: gcc.target/i386/pr91384.c scan-assembler-not testl

[Bug target/117080] New: [15 Regression] FAIL: gcc.target/i386/pr88531-2b.c and FAIL: gcc.target/i386/pr88531-2c.c

2024-10-10 Thread hjl.tools at gmail dot com via Gcc-bugs
Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com CC: liuhongt at gcc dot gnu.org Target Milestone: --- Target: x86-64 On x86-64, I got FAIL

[Bug target/117079] New: [15 Regression] FAIL: gcc.target/i386/pr105493.c

2024-10-10 Thread hjl.tools at gmail dot com via Gcc-bugs
: target Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com CC: liuhongt at gcc dot gnu.org Target Milestone: --- On x86-64, I got FAIL: gcc.target/i386/pr105493.c scan-tree-dump-times slp1 " MEM \\[[^]]*\\] = " 4

[Bug target/117078] New: [15 Regression] FAIL: gcc.target/i386/pr101950-2.c

2024-10-10 Thread hjl.tools at gmail dot com via Gcc-bugs
Component: target Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com CC: liuhongt at gcc dot gnu.org Target Milestone: --- Target: x86-64 On x86-64, I got FAIL: gcc.target/i386/pr101950-2.c scan-assembler-times \txor[ql]\t 2

[Bug target/117076] New: [15 Regression] FAIL: gcc.target/i386/pr101716.c

2024-10-10 Thread hjl.tools at gmail dot com via Gcc-bugs
: target Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com CC: liuhongt at gcc dot gnu.org Target Milestone: --- Target: x86-64 On GCC 15 branch, I got FAIL: gcc.target/i386/pr101716.c scan-assembler leal[\\t ][^\\n]*eax

[Bug target/117075] New: [15 Regression] FAIL: gcc.target/i386/part-vect-complexhf.c

2024-10-10 Thread hjl.tools at gmail dot com via Gcc-bugs
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com CC: liuhongt at gcc dot gnu.org Target Milestone: --- Target: x86-64 On GCC 15 branch, I got FAIL: gcc.target/i386/part-vect

[Bug target/117074] New: [15 Regression] FAIL: gcc.target/i386/force-indirect-call-2.c

2024-10-10 Thread hjl.tools at gmail dot com via Gcc-bugs
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com CC: liuhongt at gcc dot gnu.org Target Milestone: --- Target: x86-64 On GCC 15 branch, I got FAIL: gcc.target/i386/force-indirect

[Bug target/117073] New: [15 Regression] FAIL: gcc.target/i386/cond_op_fma_double-1.c

2024-10-10 Thread hjl.tools at gmail dot com via Gcc-bugs
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com CC: liuhongt at gcc dot gnu.org Target Milestone: --- Target: x86-64 On GCC 15 branch, I got FAIL: gcc.target/i386

[Bug target/117072] New: [15 Regression] FAIL: gcc.target/i386/cond_op_fma_float-1.c

2024-10-10 Thread hjl.tools at gmail dot com via Gcc-bugs
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com CC: liuhongt at gcc dot gnu.org Target Milestone: --- Target: x86-64 On GCC 15 branch, I got FAIL: gcc.target/i386

[Bug target/117071] New: [15 Regression] FAIL: gcc.target/i386/avx512fp16-vector-complex-float.c

2024-10-10 Thread hjl.tools at gmail dot com via Gcc-bugs
: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com CC: liuhongt at gcc dot gnu.org Target Milestone: --- Target: x86-64 On GCC 15 branch, I got FAIL: gcc.target/i386

[Bug target/117069] [15 Regression] gcc.target/i386/apx-ndd-tls-1b.c

2024-10-10 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117069 H.J. Lu changed: What|Removed |Added Summary|[14/15 Regression] |[15 Regression] |gcc.target

[Bug target/117069] New: [14/15 Regression] gcc.target/i386/apx-ndd-tls-1b.c

2024-10-10 Thread hjl.tools at gmail dot com via Gcc-bugs
Component: target Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com CC: liuhongt at gcc dot gnu.org Target Milestone: --- On GCC 15 and 14 branches, I got FAIL: gcc.target/i386/apx-ndd-tls-1b.c scan-assembler-times addq[ \t]+%r[a-z0-9

[Bug target/116962] Bad interaction between __attribute__((naked)) and -fstack-protector-all

2024-10-04 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116962 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Target Milestone|---

[Bug target/116962] Bad interaction between __attribute__((naked)) and -fstack-protector-all

2024-10-03 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116962 H.J. Lu changed: What|Removed |Added CC||hjl.tools at gmail dot com --- Comment #2

[Bug target/116839] %fs:(%reg32) is used as memory operand for x32

2024-09-28 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116839 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/116839] %fs:(%reg32) is used as memory operand for x32

2024-09-25 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116839 H.J. Lu changed: What|Removed |Added Summary|$fs:(%reg32) is used as |%fs:(%reg32) is used as |me

[Bug target/116839] New: $fs:(%reg32) is used as memory operand for x32

2024-09-24 Thread hjl.tools at gmail dot com via Gcc-bugs
: target Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com CC: lili.cui at intel dot com Target Milestone: --- Target: x86-64 [hjl@gnu-tgl-3 src]$ cat x.c typedef long mpfr_prec_t; typedef long mpfr_exp_t; typedef struct

[Bug target/116621] [12/13/14 Regression] x86_64: Crash when fetching va_arg of type union

2024-09-15 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116621 H.J. Lu changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug lto/116614] lto-wrapper: fatal error: Too many copied sections: Operation not supported

2024-09-05 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116614 H.J. Lu changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug lto/93117] -g -flto -fdebug-types-section is broken for units with over 64k types

2024-09-05 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93117 --- Comment #2 from H.J. Lu --- (In reply to Richard Biener from comment #1) > Hmm, we now can parse the extened section stuff but simply > removing the check > > if (new_i - 1 >= SHN_LORESERVE) > { > *err = ENOTSUP; > return "

[Bug target/116621] [12/13/14/15 Regression] x86_64: Crash when fetching va_arg of type union

2024-09-05 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116621 H.J. Lu changed: What|Removed |Added CC||hjl.tools at gmail dot com --- Comment #3

[Bug ipa/116410] modref doesn't generate LTO summaries with -ffat-lto-objects (-ffat-lto-objects generates different and inefficient code compared with -fno-fat-lto-objects)

2024-09-05 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116410 H.J. Lu changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug lto/116361] lto1: fatal error: multiple prevailing defs when using both LTO and OpenMP named critical sections with static libraries

2024-09-05 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116361 H.J. Lu changed: What|Removed |Added Target Milestone|--- |14.3 Status|NEW

[Bug ipa/116410] modref doesn't generate LTO summaries with -ffat-lto-objects (-ffat-lto-objects generates different and inefficient code compared with -fno-fat-lto-objects)

2024-09-03 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116410 --- Comment #14 from H.J. Lu --- (In reply to Sam James from comment #13) > (In reply to Jan Hubicka from comment #11) > > > We plan to adopt -ffat-lto-objects ourselves soon for at least a subset of > > > packages, so this was good timing. :) >

[Bug rtl-optimization/116516] [15 Regression] [lra] ICE in decompose_normal_address, at rtlanal.cc:6712 by r15-3213-g708ee71808ea61

2024-08-28 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116516 H.J. Lu changed: What|Removed |Added Summary|[15 Regression] [lra] ICE |[15 Regression] [lra] ICE |

[Bug rtl-optimization/116516] [15 Regression] [lra] ICE in decompose_normal_address, at rtlanal.cc:6712

2024-08-28 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116516 H.J. Lu changed: What|Removed |Added Summary|[lra] ICE in|[15 Regression] [lra] ICE |

[Bug rtl-optimization/63987] [lra] internal compiler error: in decompose_normal_address, at rtlanal.c:5851

2024-08-28 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63987 H.J. Lu changed: What|Removed |Added Target Milestone|--- |6.4 Status|UNCONFIRMED

[Bug ipa/116410] -ffat-lto-objects generates different and inefficient code compared with -fno-fat-lto-objects

2024-08-27 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116410 H.J. Lu changed: What|Removed |Added Status|WAITING |NEW --- Comment #6 from H.J. Lu --- A patch

[Bug ipa/116410] -ffat-lto-objects generates different and inefficient code compared with -fno-fat-lto-objects

2024-08-27 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116410 H.J. Lu changed: What|Removed |Added Status|NEW |WAITING

[Bug ipa/116410] -ffat-lto-objects generates different and inefficient code compared with -fno-fat-lto-objects

2024-08-27 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116410 --- Comment #5 from H.J. Lu --- Created attachment 59016 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59016&action=edit A patch Please try this.

[Bug target/116497] Need no_caller_saved_registers with SSE support

2024-08-27 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116497 --- Comment #19 from H.J. Lu --- (In reply to andi from comment #18) > > > -mgeneral-regs-only works for this case, but breaks SSE. > > > > Why is __attribute__((no_caller_saved_registers)) needed on start? > > To maintain the standard ABI to

[Bug target/116497] Need no_caller_saved_registers with SSE support

2024-08-27 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116497 --- Comment #17 from H.J. Lu --- (In reply to Andi Kleen from comment #16) > Created attachment 59013 [details] > test case > > This test case using Pinski's clobber trick shows the benefit. > > If you compile with -O2 -mgeneral-regs-only the

[Bug target/116497] Need no_caller_saved_registers with SSE support

2024-08-27 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116497 --- Comment #15 from H.J. Lu --- (In reply to andi from comment #13) > > --- Comment #11 from H.J. Lu --- > > Please provide a small testcase to show the issue. > > You mean a test case for no_caller_saved_registers failing with SSE? No. We

[Bug target/116497] Need no_caller_saved_registers with SSE support

2024-08-27 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116497 H.J. Lu changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug debug/116470] [15 regression] Enabling -gvariable-location-views breaks Solaris/x86 bootstrap

2024-08-23 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116470 --- Comment #7 from H.J. Lu --- (In reply to Bernd Edlinger from comment #5) > but one thing is funnny, in the bad asm > both symbols.LM19367 and .LM19368 appear to be in the same section: > > > .section.text.unlikely >

[Bug debug/116470] [15 regression] Enabling -gvariable-location-views breaks Solaris/x86 bootstrap

2024-08-23 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116470 --- Comment #6 from H.J. Lu --- They are in different sections: [hjl@gnu-cfl-3 tmp]$ cat foo.s .text .align 2 .p2align 4 .LM19367: pushl %ebp .section.text.unlikely .LM19368: nop

[Bug target/116174] [14/15 regression] Alignment request is added before endbr with -fcf-protection=branch since r15-888-gb644126237a1aa

2024-08-15 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116174 --- Comment #10 from H.J. Lu --- (In reply to Hongtao Liu from comment #9) > (In reply to Arnd Bergmann from comment #7) > > I confirmed that the patch from comment #6 addresses the build warnings I > > see in the kernel. > > Does the commit al

[Bug lto/116361] lto1: fatal error: multiple prevailing defs when using both LTO and OpenMP named critical sections with static libraries

2024-08-14 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116361 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

  1   2   3   4   5   6   7   8   9   10   >