[Bug target/100461] [11/12 Regression] mingw build broken due to change of rdtsc implementation

2021-05-07 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100461 --- Comment #5 from H.J. Lu --- (In reply to Daniel Starke from comment #4) > Created attachment 50772 [details] > rdtsc.c > > Please find attached the mingw-w64 file. Please change #if !__has_builtin(__rdtsc) to #if

[Bug c++/100489] [10.3/11/12 REGRESSION] ICE in cp/constexpr.c:3556

2021-05-08 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100489 H.J. Lu changed: What|Removed |Added CC||jason at redhat dot com Last reconfirmed|

[Bug tree-optimization/42587] bswap not recognized for memory

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

[Bug target/91400] __builtin_cpu_supports conjunction is optimized poorly

2021-05-06 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91400 H.J. Lu changed: What|Removed |Added Version|unknown |12.0 Resolution|---

[Bug target/100445] [12 Regression] ice during RTL pass: vregs

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

[Bug c++/100455] [11 regression9 Obsoltee Template paraeter Cann

2021-05-06 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100455 H.J. Lu changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRMED

[Bug c++/100456] [11 regression] Obsolete Template parameter Causes Compile Error

2021-05-06 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100456 --- Comment #3 from H.J. Lu --- *** Bug 100455 has been marked as a duplicate of this bug. ***

[Bug target/100461] [11/12 Regression] mingw build broken due to change of rdtsc implementation

2021-05-07 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100461 H.J. Lu changed: What|Removed |Added Resolution|--- |WONTFIX Status|WAITING

[Bug target/98461] Suboptimal codegen for negating a movemask

2021-05-12 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98461 H.J. Lu changed: What|Removed |Added Target Milestone|--- |11.0

[Bug c/100483] Extend -fno-semantic-interposition to global variables

2021-05-16 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100483 --- Comment #4 from H.J. Lu --- Symbol resolution in an executable or a shared library at run-time is determined by 1. Linker options + all input files at link-time. 2. ld.so + all shared libraries at run-time. Add a compiler option at

[Bug target/100461] [11/12 Regression] mingw build broken due to change of rdtsc implementation

2021-05-06 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100461 --- Comment #3 from H.J. Lu --- What is in mingw-w64-crt/intrincs/rdtsc.c?

[Bug target/100865] New: pass_data_constant_pool_broadcast doesn't work on TImode

2021-06-01 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100865 Bug ID: 100865 Summary: pass_data_constant_pool_broadcast doesn't work on TImode Product: gcc Version: 11.1.1 Status: UNCONFIRMED Severity: normal

[Bug target/100704] New: Vector register isn't used to push BLKmode argument onto stack

2021-05-20 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100704 Bug ID: 100704 Summary: Vector register isn't used to push BLKmode argument onto stack Product: gcc Version: 11.1.1 Status: UNCONFIRMED Severity: normal

[Bug target/100704] Vector register isn't used to push BLKmode argument onto stack

2021-05-20 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100704 --- Comment #2 from H.J. Lu --- (In reply to Richard Biener from comment #1) > Hmm, I didn't realize we can't push %xmm regs... With loads+stores the > pushes do not look less efficient for this particular example? I suppose a > nice >

[Bug target/100704] Vector register isn't used to push BLKmode argument onto stack

2021-05-23 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100704 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |NEW Keywords|

[Bug tree-optimization/100787] [12 Regression] Bootstrap failure caused by r12-1077

2021-05-27 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100787 --- Comment #5 from H.J. Lu --- I have [hjl@gnu-skx-1 gcc-32bit]$ ls /usr/local32/bin addr2line as dwp gprof ld.bfd nm objdump readelf strings ar c++filt elfedit ld ld.gold objcopy ranlib size strip

[Bug target/100865] Convert CONST_WIDE_INT to broadcast

2021-06-02 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100865 --- Comment #5 from H.J. Lu --- A small benchmark: https://gitlab.com/x86-benchmarks/microbenchmark/-/tree/memset/broadcast shows that broadcast is a little bit faster on Intel Core i7-8559U: [hjl@gnu-cfl-2 microbenchmark]$ make gcc -g -I.

[Bug testsuite/100407] New test cases attr-retain-*.c fail after their introduction in r11-7284

2021-06-02 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100407 --- Comment #6 from H.J. Lu --- Created attachment 50914 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50914=edit attr-retain-1.s Here is my attr-retain-1.s. Please upload your attr-retain-1.s.

[Bug target/100865] Convert CONST_WIDE_INT to broadcast

2021-06-02 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100865 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |NEW CC|

[Bug testsuite/100407] New test cases attr-retain-*.c fail after their introduction in r11-7284

2021-06-02 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100407 H.J. Lu changed: What|Removed |Added Attachment #50914|0 |1 is obsolete|

[Bug target/100865] pass_data_constant_pool_broadcast doesn't work on TImode

2021-06-02 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100865 --- Comment #3 from H.J. Lu --- Created attachment 50916 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50916=edit x86: Convert CONST_WIDE_INT to broadcast in move expanders

[Bug testsuite/100407] New test cases attr-retain-*.c fail after their introduction in r11-7284

2021-06-02 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100407 --- Comment #5 from H.J. Lu --- I can't reproduce it with GCC master, glibc 2.33 and binutils 2.36 branch.

[Bug driver/69471] "-march=native" unintentionally breaks further -march/-mtune flags

2021-06-06 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69471 H.J. Lu changed: What|Removed |Added Target Milestone|9.5 |9.3 Resolution|---

[Bug middle-end/100593] [ELF] -fno-pic: Use GOT to take address of an external default visibility function

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

[Bug testsuite/100407] New test cases attr-retain-*.c fail after their introduction in r11-7284

2021-06-03 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100407 --- Comment #10 from H.J. Lu --- (In reply to seurer from comment #9) > > seurer@gcc1-power7:~/gcc/git/build/gcc-test$ grep .rodata attr-retain-1.s > .string "used_rodata2" > .string "unused_rodata" > .string "used_rodata" >

[Bug target/100896] New: --enable-initfini-array should be enabled for cross compiler to Linux

2021-06-03 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100896 Bug ID: 100896 Summary: --enable-initfini-array should be enabled for cross compiler to Linux Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug bootstrap/100787] New: [12 Regression] Bootstrap failure caused by r12-1077

2021-05-26 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100787 Bug ID: 100787 Summary: [12 Regression] Bootstrap failure caused by r12-1077 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug testsuite/100407] New test cases attr-retain-*.c fail after their introduction in r11-7284

2021-06-02 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100407 --- Comment #3 from H.J. Lu --- (In reply to seurer from comment #2) > I got it to fail on the gcc110 gcc farm machine. > > g:659cc7d6320aae7ab390b5886f0efed22f78e244, r12-1164 > make -k check-gcc RUNTESTFLAGS="--target_board=unix'{-m32}' >

[Bug target/101366] memset codegen for constant sized does not use SSE instructions

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

[Bug middle-end/101294] [12 Regression] ICE: in maybe_legitimize_operand, at optabs.c:7614 with -mavx since r12-1958-gedafb35bdadf309e

2021-07-02 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101294 --- Comment #3 from H.J. Lu --- This works: diff --git a/gcc/expr.c b/gcc/expr.c index 025033c9ecf..bd85bbfdd6f 100644 --- a/gcc/expr.c +++ b/gcc/expr.c @@ -7078,7 +7078,8 @@ store_constructor (tree exp, rtx target, int cleared, poly_int64

[Bug middle-end/101294] [12 Regression] ICE: in maybe_legitimize_operand, at optabs.c:7614 with -mavx since r12-1958-gedafb35bdadf309e

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

[Bug middle-end/101294] [12 Regression] ICE: in maybe_legitimize_operand, at optabs.c:7614 with -mavx since r12-1958-gedafb35bdadf309e

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

[Bug driver/101215] Using non-standard custom linker with -fuse-ld

2021-06-25 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101215 H.J. Lu changed: What|Removed |Added Last reconfirmed||2021-06-25 Status|UNCONFIRMED

[Bug driver/93645] Support Clang 12 --ld-path=

2021-06-25 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93645 H.J. Lu changed: What|Removed |Added CC||freesoftware at logarithmus dot de

[Bug driver/101215] Using non-standard custom linker with -fuse-ld

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

[Bug target/101241] Internal compiler error from MathFunctions.h in the eigen library

2021-06-30 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101241 H.J. Lu changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug target/101395] [11/12 regression] Compile failure with -march=native -m32 on sapphirerapids

2021-07-12 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101395 --- Comment #8 from H.J. Lu --- (In reply to Jakub Jelinek from comment #7) > Comment on attachment 51142 [details] > A patch > > Can't you use one single local_cpu_detect and pass it 2 arguments (arch/tune > and 32/64) instead of just one

[Bug target/101395] [11/12 regression] Compile failure with -march=native -m32 on sapphirerapids

2021-07-12 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101395 H.J. Lu changed: What|Removed |Added Attachment #51125|0 |1 is obsolete|

[Bug target/101395] [11/12 regression] Compile failure with -march=native -m32 on sapphirerapids

2021-07-12 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101395 H.J. Lu changed: What|Removed |Added Attachment #51142|0 |1 is obsolete|

[Bug libffi/101336] New: Incorrect target on gnux32 hosts

2021-07-05 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101336 Bug ID: 101336 Summary: Incorrect target on gnux32 hosts Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libffi

[Bug tree-optimization/101187] enhancement for vector logic right shift with constant bigger than element precision

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

[Bug target/101332] [12 Regression] FAIL: g++.dg/opt/pr91838.C

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

[Bug target/101332] New: [12 Regression] FAIL: g++.dg/opt/pr91838.C

2021-07-05 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101332 Bug ID: 101332 Summary: [12 Regression] FAIL: g++.dg/opt/pr91838.C Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug target/101395] [11/12 regression] Compile failure with -march=native -m32 on sapphirerapids

2021-07-09 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101395 H.J. Lu changed: What|Removed |Added Target Milestone|--- |11.2 Ever confirmed|0

[Bug target/101395] [11/12 regression] Compile failure with -march=native -m32 on sapphirerapids

2021-07-09 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101395 --- Comment #1 from H.J. Lu --- Created attachment 51124 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51124=edit A patch Please test this patch.

[Bug target/101395] [11/12 regression] Compile failure with -march=native -m32 on sapphirerapids

2021-07-09 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101395 H.J. Lu changed: What|Removed |Added Attachment #51124|0 |1 is obsolete|

[Bug libffi/101336] Incorrect target on gnux32 hosts

2021-07-09 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101336 H.J. Lu changed: What|Removed |Added Target Milestone|--- |12.0 Resolution|---

[Bug tree-optimization/101403] [12 Regression] wrong code with __builtin_bswap16() at -O1 by r12-2137

2021-07-10 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101403 H.J. Lu changed: What|Removed |Added CC||hjl.tools at gmail dot com Ever

[Bug target/70454] --with-arch=native isn't applied to 32-bit x86 target library

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

[Bug target/98667] gcc generates endbr32 invalid opcode on -march=i486

2021-04-27 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98667 Bug 98667 depends on bug 70454, which changed state. Bug 70454 Summary: --with-arch=native isn't applied to 32-bit x86 target library https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70454 What|Removed |Added

[Bug testsuite/100407] New test cases attr-retain-*.c fail after their introduction in r11-7284

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

[Bug target/99703] gcc-10.2.0 with Via C3 Eden: configure: error: Intel CET must be enabled on Intel CET enabled host

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

[Bug target/98997] Linking mismatched -fcf-protection objects generates incorrect code

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

[Bug target/98997] Linking mismatched -fcf-protection objects generates incorrect code

2021-02-08 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98997 --- Comment #6 from H.J. Lu --- (In reply to Andy Lutomirski from comment #4) > I should add: on brief inspection, that patch looks like an ABI break for > -fcf-protection=none True if __builtin_longjmp and __builtin_setjmp are compiled by

[Bug target/98997] Linking mismatched -fcf-protection objects generates incorrect code

2021-02-08 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98997 --- Comment #5 from H.J. Lu --- (In reply to Andy Lutomirski from comment #3) > What is -fcf-protection=stack actually supposed to do as compared to It is -fcf-protection=return. > -fcf-protection=none? Is it valid to run code compiled with >

[Bug rtl-optimization/98863] WRF with LTO consumes a lot of memory in REE, CPROP, PRE and LRA passes

2021-01-29 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98863 --- Comment #28 from H.J. Lu --- (In reply to Richard Biener from comment #27) > HJ, you added remove_partial_avx_dependency - it adds loads of DF problems > but during its execution it does not seem to use anything but doing > df_insn_rescan.

[Bug target/99703] gcc-10.2.0 with Via C3 Eden: configure: error: Intel CET must be enabled on Intel CET enabled host

2021-03-22 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99703 --- Comment #17 from H.J. Lu --- Created attachment 50451 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50451=edit A patch Try this.

[Bug target/99744] New: __attribute__ ((target("general-regs-only"))) doesn't work with GPR intrinsics

2021-03-23 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99744 Bug ID: 99744 Summary: __attribute__ ((target("general-regs-only"))) doesn't work with GPR intrinsics Product: gcc Version: 11.0 Status: UNCONFIRMED Severity:

[Bug target/99744] __attribute__ ((target("general-regs-only"))) doesn't work with GPR intrinsics

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

[Bug target/99704] volatile is needed on asm statements in

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

[Bug target/99703] gcc-10.2.0 with Via C3 Eden: configure: error: Intel CET must be enabled on Intel CET enabled host

2021-03-23 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99703 --- Comment #20 from H.J. Lu --- (In reply to Worx from comment #19) > It's seems that the patch fix the issue. > > Unfortunately, I have another error, but it's maybe i do not proper > configure "-march=c3" > > > > make[3]: Leaving

[Bug target/99703] gcc-10.2.0 with Via C3 Eden: configure: error: Intel CET must be enabled on Intel CET enabled host

2021-03-23 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99703 --- Comment #22 from H.J. Lu --- (In reply to Worx from comment #21) > Sorry about the dumb question, but how to know ? Run it under gdb and disassemble. It should show which instruction caused the problem.

[Bug testsuite/99731] New: g++.dg/modules/alias-1_a.H: error: failed to read compiled module: No such file or directory

2021-03-23 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99731 Bug ID: 99731 Summary: g++.dg/modules/alias-1_a.H: error: failed to read compiled module: No such file or directory Product: gcc Version: 11.0 Status: UNCONFIRMED

[Bug middle-end/98209] [8/9/10/11 Regression] printf failed with O1 or above

2021-03-25 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98209 H.J. Lu changed: What|Removed |Added Target Milestone|8.5 |11.0 --- Comment #13 from H.J. Lu --- Fixed

[Bug target/99744] __attribute__ ((target("general-regs-only"))) doesn't work with GPR intrinsics

2021-03-25 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99744 H.J. Lu changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug target/99744] __attribute__ ((target("general-regs-only"))) doesn't work with GPR intrinsics

2021-03-25 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99744 H.J. Lu changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

[Bug middle-end/98209] [8/9/10 Regression] printf failed with O1 or above

2021-03-25 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98209 --- Comment #14 from H.J. Lu --- The fix was reverted by commit de00a7bda94910835012bc7150be53b460a5c8b6 Author: H.J. Lu Date: Thu Mar 25 06:57:37 2021 -0700 Revert "x86: Skip ISA check for always_inline in system headers" This

[Bug target/99870] New: uiret generated for -mcmodel=kernel

2021-04-01 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99870 Bug ID: 99870 Summary: uiret generated for -mcmodel=kernel Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug middle-end/99857] [11 Regression] FAIL: libgomp.c/declare-variant-1.c (test for excess errors) by r11-7926

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

[Bug middle-end/99857] New: [11 Regression] FAIL: libgomp.c/declare-variant-1.c (test for excess errors) by r11-7926

2021-03-31 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99857 Bug ID: 99857 Summary: [11 Regression] FAIL: libgomp.c/declare-variant-1.c (test for excess errors) by r11-7926 Product: gcc Version: 11.0 Status: UNCONFIRMED

[Bug target/99881] Regression compare -O2 -ftree-vectorize with -O2 on SKX/CLX

2021-04-02 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99881 --- Comment #2 from H.J. Lu --- Created attachment 50501 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50501=edit A patch to add vec_contruct cost ix86_builtin_vectorization_cost has case vec_construct: { /* N

[Bug target/99881] Regression compare -O2 -ftree-vectorize with -O2 on SKX/CLX

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

[Bug testsuite/99731] g++.dg/modules/alias-1_a.H: error: failed to read compiled module: No such file or directory

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

[Bug target/99703] gcc-10.2.0 with Via C3 Eden: configure: error: Intel CET must be enabled on Intel CET enabled host

2021-03-23 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99703 --- Comment #23 from H.J. Lu --- Created attachment 50464 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50464=edit A program Please run this and upload its output. If it fails to run, please show me the output of $ grep "^flags"

[Bug target/99703] gcc-10.2.0 with Via C3 Eden: configure: error: Intel CET must be enabled on Intel CET enabled host

2021-03-23 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99703 --- Comment #25 from H.J. Lu --- (In reply to Worx from comment #24) > worx@c3eden ~ $ gdb ./sample.bin > GNU gdb (Gentoo 10.1 vanilla) 10.1 > Copyright (C) 2020 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later

[Bug target/99703] gcc-10.2.0 with Via C3 Eden: configure: error: Intel CET must be enabled on Intel CET enabled host

2021-03-23 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99703 --- Comment #28 from H.J. Lu --- (In reply to Worx from comment #27) > (gdb) disass/r (0x0804f547 - 2), +32 > Dump of assembler code from 0x804f545 to 0x804f565: >0x0804f545: 00 00 add%al,(%eax) > => 0x0804f547: 0f 44 44 24 14 cmove

[Bug target/99941] New: m_ALDERLAKE is missing from m_CORE_AVX2

2021-04-06 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99941 Bug ID: 99941 Summary: m_ALDERLAKE is missing from m_CORE_AVX2 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug target/99530] [i386] 'P' inline assembly operand modifier should obey -fno-plt

2021-03-11 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99530 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/99530] [i386] 'P' inline assembly operand modifier should obey -fno-plt

2021-03-11 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99530 --- Comment #3 from H.J. Lu --- Created attachment 50366 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50366=edit A patch I am testing this.

[Bug target/99530] [i386] 'P' inline assembly operand modifier should obey -fno-plt

2021-03-11 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99530 H.J. Lu changed: What|Removed |Added Attachment #50366|0 |1 is obsolete|

[Bug target/99530] [i386] 'P' inline assembly operand modifier should obey -fno-plt

2021-03-11 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99530 H.J. Lu changed: What|Removed |Added URL||https://gcc.gnu.org/piperma

[Bug target/99530] [i386] 'P' inline assembly operand modifier should obey -fno-plt

2021-03-11 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99530 --- Comment #12 from H.J. Lu --- (In reply to Thiago Macieira from comment #10) > (In reply to H.J. Lu from comment #9) > > Don't use %P with cmp. > > I know, but that's besides the point. I was merely trying to find something > that would have

[Bug target/99530] [i386] 'P' inline assembly operand modifier should obey -fno-plt

2021-03-11 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99530 --- Comment #9 from H.J. Lu --- (In reply to Thiago Macieira from comment #8) > (In reply to H.J. Lu from comment #7) > > Created attachment 50369 [details] > > The v2 patch > > Code generation with "call %P0" is now identical to what GCC

[Bug target/99530] [i386] 'P' inline assembly operand modifier should obey -fno-plt

2021-03-13 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99530 H.J. Lu changed: What|Removed |Added Attachment #50369|0 |1 is obsolete|

[Bug debug/99606] [10/11 Regression] ld.bfd: DWARF error: could not find abbrev number 64 since r10-7521-g54af95767e887d63

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

[Bug lto/99618] `.gnu.debuglto_.debug_macro' referenced in section `.gnu.debuglto_.debug_macro' of X defined in discarded section

2021-03-17 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99618 --- Comment #7 from H.J. Lu --- (In reply to Jakub Jelinek from comment #6) > For normal non-LTO debug macro we emit: > .section.debug_macro,"",@progbits > .Ldebug_macro0: > .value 0x5 # DWARF macro version number >

[Bug tree-optimization/99504] Missing memmove detection

2021-03-17 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99504 --- Comment #3 from H.J. Lu --- (In reply to CVS Commits from comment #2) > The master branch has been updated by H.J. Lu : > > https://gcc.gnu.org/g:adf14bdbc10d4114865a08cf20020a2616039057 > > commit

[Bug target/99530] [i386] 'P' inline assembly operand modifier should obey -fno-plt

2021-03-17 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99530 H.J. Lu changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug debug/99618] `.gnu.debuglto_.debug_macro' referenced in section `.gnu.debuglto_.debug_macro' of X defined in discarded section

2021-03-17 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99618 --- Comment #8 from H.J. Lu --- (In reply to Richard Biener from comment #5) > Maybe it's an assembler bug that it fails to set 'E' on the GROUP section? > SHF_EXLCUDE doesn't apply to "ld -r".

[Bug debug/99618] `.gnu.debuglto_.debug_macro' referenced in section `.gnu.debuglto_.debug_macro' of X defined in discarded section

2021-03-17 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99618 --- Comment #16 from H.J. Lu --- (In reply to Richard Biener from comment #15) > So as expected all of the linkers are happy with > > .section.gnu.debuglto_.debug_macro,"e",@progbits > .Ldebug_macro0: > .long

[Bug lto/99618] `.gnu.debuglto_.debug_macro' referenced in section `.gnu.debuglto_.debug_macro' of X defined in discarded section

2021-03-17 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99618 H.J. Lu changed: What|Removed |Added Resolution|MOVED |--- Last reconfirmed|

[Bug debug/99618] `.gnu.debuglto_.debug_macro' referenced in section `.gnu.debuglto_.debug_macro' of X defined in discarded section

2021-03-17 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99618 H.J. Lu changed: What|Removed |Added Status|REOPENED|NEW --- Comment #9 from H.J. Lu --- (In

[Bug target/99652] inline doesn't with -mno-sse

2021-03-18 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99652 H.J. Lu changed: What|Removed |Added Last reconfirmed||2021-03-18 Status|RESOLVED

[Bug target/99652] New: inline doesn't with -mno-sse

2021-03-18 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99652 Bug ID: 99652 Summary: inline doesn't with -mno-sse Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug target/99652] inline doesn't with -mno-sse

2021-03-18 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99652 H.J. Lu changed: What|Removed |Added See Also||https://sourceware.org/bugz

[Bug target/99652] inline doesn't with -mno-sse

2021-03-19 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99652 H.J. Lu changed: What|Removed |Added Target Milestone|--- |11.0 Status|NEW

[Bug target/99704] New: volatile is needed on asm statements in

2021-03-21 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99704 Bug ID: 99704 Summary: volatile is needed on asm statements in Product: gcc Version: 9.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug target/99704] volatile is needed on asm statements in

2021-03-21 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99704 H.J. Lu changed: What|Removed |Added Ever confirmed|0 |1 Assignee|unassigned at gcc dot

[Bug target/99703] gcc-10.2.0 with Via C3 Eden: configure: error: Intel CET must be enabled on Intel CET enabled host

2021-03-22 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99703 --- Comment #11 from H.J. Lu --- (In reply to Worx from comment #10) > When I deep dive, in the logs > > No issue at the root level : > > c3eden /opt/gcc-10.2.0 # ./configure --disable-cet > checking build system type... i686-pc-linux-gnu >

[Bug target/99679] [11 Regression] ICE in construct_container at gcc/config/i386/i386.c:2571 since g:5e2eabe1eed1e53d39923517122d3c7de2013ad4

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

<    1   2   3   4   5   6   7   8   9   10   >