[Bug target/94087] std::random_device often fails when used from multiple threads

2020-05-14 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94087 --- Comment #15 from H.J. Lu --- (In reply to Jonathan Wakely from comment #13) > We could do this easily enough (which could be simplified if RDRAND is > guaranteed to be available when RDSEED is available): > All Intel processors with RDSEED

[Bug target/95134] New: -ffreestanding should avoid libcall

2020-05-14 Thread hjl.tools at gmail dot com
Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com CC: ubizjak at gmail dot com Target Milestone: --- Target: i386, x86-64 [hjl@gnu-cfl-2 freestand]$ cat x.i struct foo { char array[257]; }; extern struct foo x; void func

[Bug target/95134] Add a target option to avoid libcall

2020-05-14 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95134 H.J. Lu changed: What|Removed |Added Summary|-ffreestanding should avoid |Add a target option to |libc

[Bug target/95134] Add a target option to avoid libcall

2020-05-14 Thread hjl.tools at gmail dot com
|NEW Assignee|unassigned at gcc dot gnu.org |hjl.tools at gmail dot com --- Comment #5 from H.J. Lu --- Created attachment 48538 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48538&action=edit A patch to add -mavoid-libcall The -mgeneral-regs-only option ge

[Bug jit/94778] All jit tests failed with multilib

2020-05-14 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94778 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/95151] New: Add cmpmemM pattern for -minline-all-stringops

2020-05-15 Thread hjl.tools at gmail dot com
: target Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com CC: crazylht at gmail dot com Target Milestone: --- Target: i386,x86-64 'cmpmemM' Block compare instruction, with five operands like the operands of

[Bug bootstrap/95147] [11 Regression] Bootstrap fails with GCC 4.8 host compiler

2020-05-15 Thread hjl.tools at gmail dot com
gcc dot gnu.org |hjl.tools at gmail dot com Status|UNCONFIRMED |NEW Ever confirmed|0 |1

[Bug bootstrap/95147] [11 Regression] Bootstrap fails with GCC 4.8 host compiler

2020-05-15 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95147 H.J. Lu changed: What|Removed |Added URL||https://gcc.gnu.org/piperma

[Bug bootstrap/95147] [11 Regression] Bootstrap fails with GCC 4.8 host compiler

2020-05-15 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95147 H.J. Lu changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug target/95162] New: -mpreferred-stack-boundary=2 doesn't work with libgcc functions

2020-05-16 Thread hjl.tools at gmail dot com
ormal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com CC: ubizjak at gmail dot com Target Milestone: --- Target: i386,x86-64 [hjl@gnu-cfl-2 pr95021]$ cat d.c void foo (_Decima

[Bug target/95162] -mpreferred-stack-boundary=2 doesn't work with libgcc functions

2020-05-16 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95162 --- Comment #1 from H.J. Lu --- GCC manual says '-mpreferred-stack-boundary=NUM' Attempt to keep the stack boundary aligned to a 2 raised to NUM byte boundary. If '-mpreferred-stack-boundary' is not specified, the default is 4 (1

[Bug target/95162] -mpreferred-stack-boundary=2 doesn't work with libgcc functions

2020-05-16 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95162 H.J. Lu changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug middle-end/95021] [10/11 Regression] Bogus -Wclobbered warning

2020-05-17 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95021 --- Comment #10 from H.J. Lu --- Fixed for GCC 11.

[Bug target/95151] [9/10/11 Regression] Add cmpmemM pattern for -minline-all-stringops

2020-05-19 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95151 H.J. Lu changed: What|Removed |Added Summary|Add cmpmemM pattern for |[9/10/11 Regression] Add |-m

[Bug target/95212] New: enum processor_features is out of sync

2020-05-19 Thread hjl.tools at gmail dot com
Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com CC: ubizjak at gmail dot com Target Milestone: --- Target: i386, x86-64 libgcc has enum processor_features { FEATURE_CMOV = 0, ... FEATURE_AVX512BITALG

[Bug libgcc/95220] New: Incorrect GFNI dectection

2020-05-19 Thread hjl.tools at gmail dot com
Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com CC: ubizjak at gmail dot com Target Milestone: --- Target: i386, x86-64 get_available_features in libgcc/config/i386/cpuinfo.c has if (avx512_usable) { ... if

[Bug target/95212] enum processor_features is out of sync

2020-05-19 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95212 H.J. Lu changed: What|Removed |Added Target Milestone|--- |10.2 Resolution|---

[Bug libgcc/95220] Incorrect GFNI dectection

2020-05-19 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95220 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Target Milestone|---

[Bug target/95238] New: [11 Regression] Invalid *pushsi2_rex64

2020-05-20 Thread hjl.tools at gmail dot com
Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com CC: ubizjak at gmail dot com Target Milestone: --- Target: x86-64 In 64-bit mode, we can only push 16-bit or 64-bit memory/register. commit

[Bug target/95238] [11 Regression] Invalid *pushsi2_rex64

2020-05-20 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95238 --- Comment #1 from H.J. Lu --- The "i" constraint shouldn't be used for flag_pic since symbolic constant leads to writable text in 32-bit mode and invalid in 64-bit mode.

[Bug target/95238] [11 Regression] Invalid *pushsi2_rex64

2020-05-20 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95238 --- Comment #3 from H.J. Lu --- (In reply to Uroš Bizjak from comment #2) > (In reply to H.J. Lu from comment #1) > > The "i" constraint shouldn't be used for flag_pic since symbolic constant > > leads to writable text in 32-bit mode and invalid

[Bug target/95238] [11 Regression] Invalid *pushsi2_rex64

2020-05-20 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95238 H.J. Lu changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug target/95237] LOCAL_DECL_ALIGNMENT shrinks alignment, FAIL gcc.target/i386/pr69454-2.c

2020-05-20 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95237 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |NEW Target Milestone|---

[Bug libgcc/91695] [X86] get_available_features only sets FEATURE_GFNI and FEATURE_VPCLMULQDQ when avx512_usable is true

2020-05-21 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91695 H.J. Lu changed: What|Removed |Added Target Milestone|--- |8.5 Status|NEW

[Bug target/95258] New: -march=native doesn't handle -mavx512vpopcntdq

2020-05-21 Thread hjl.tools at gmail dot com
onent: target Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com CC: ubizjak at gmail dot com Target Milestone: --- Target: i386,x86-64 AVX512VPOPCNTDQ check is missing from driver-i386.c

[Bug target/95259] New: Duplicated codes in libgcc, driver-i386.c and i386-builtins.c

2020-05-21 Thread hjl.tools at gmail dot com
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com CC: ubizjak at gmail dot com Depends on: 95258, 91695, 95212, 95220 Target Milestone: --- Target: i386, x86-64 There are

[Bug target/95259] Duplicated codes in libgcc, driver-i386.c and i386-builtins.c

2020-05-21 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95259 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug target/95259] Duplicated codes in libgcc, driver-i386.c and i386-builtins.c

2020-05-21 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95259 H.J. Lu changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |hjl.tools at gmail dot com

[Bug target/95260] New: Confusing comments in cpuid.h

2020-05-21 Thread hjl.tools at gmail dot com
Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com Target Milestone: --- Target: i386, x86-64 cpuid.h has /* XFEATURE_ENABLED_MASK register bits (%eax == 13, %ecx == 0) */ ^^^ This is decimal

[Bug target/95260] Confusing comments in cpuid.h

2020-05-21 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95260 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/95259] Duplicated codes in libgcc, driver-i386.c and i386-builtins.c

2020-05-21 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95259 H.J. Lu changed: What|Removed |Added Attachment #48576|0 |1 is obsolete|

[Bug target/95260] Confusing comments in cpuid.h

2020-05-21 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95260 --- Comment #4 from H.J. Lu --- (In reply to Martin Liška from comment #1) > Just a question: why do you create PRs for all these issues? > Is it because you want to backport fixes to active branches? That would be nice.

[Bug target/95258] -march=native doesn't handle -mavx512vpopcntdq

2020-05-22 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95258 --- Comment #2 from H.J. Lu --- Fixed for GCC 11 so far.

[Bug target/95259] Duplicated codes in libgcc, driver-i386.c and i386-builtins.c

2020-05-24 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95259 Bug 95259 depends on bug 95258, which changed state. Bug 95258 Summary: -march=native doesn't handle -mavx512vpopcntdq https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95258 What|Removed |Added -

[Bug target/95258] -march=native doesn't handle -mavx512vpopcntdq

2020-05-24 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95258 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Target Milestone|---

[Bug middle-end/95353] New: [10/11 Regression] GCC can't build binutils

2020-05-26 Thread hjl.tools at gmail dot com
onent: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com CC: msebor at gcc dot gnu.org Target Milestone: --- Assembler in binutils has struct frag { ... /* Data begins here. */ char fr_literal[1]; }; and fr_liter

[Bug middle-end/95353] [10/11 Regression] GCC can't build binutils

2020-05-26 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95353 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug middle-end/95353] [10/11 Regression] GCC can't build binutils

2020-05-26 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95353 --- Comment #2 from H.J. Lu --- Created attachment 48612 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48612&action=edit a testcase $ gcc -O2 x.i -S /export/gnu/import/git/sources/binutils-gdb-release/gas/config/tc-csky.c: In function ‘md

[Bug middle-end/95353] [10/11 Regression] GCC can't build binutils

2020-05-26 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95353 H.J. Lu changed: What|Removed |Added Status|WAITING |NEW

[Bug bootstrap/95364] New: [Regression] contrib/gcc_update -r 8712 no longer works

2020-05-27 Thread hjl.tools at gmail dot com
Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com Target Milestone: --- Before switching to git repo, we could use $ contrib/gcc_update -r 8712 to switch to revision 8712. After switching to git, it is no

[Bug target/95259] Duplicated codes in libgcc, driver-i386.c and i386-builtins.c

2020-05-28 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95259 H.J. Lu changed: What|Removed |Added URL||https://gcc.gnu.org/piperma

[Bug target/95400] -march=native and -march=icelake-client produce different results on icelake client

2020-05-29 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95400 H.J. Lu changed: What|Removed |Added Status|WAITING |NEW --- Comment #2 from H.J. Lu --- [hjl@gnu-

[Bug target/95400] -march=native and -march=icelake-client produce different results on icelake client

2020-05-29 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95400 H.J. Lu changed: What|Removed |Added Known to work||11.0 --- Comment #3 from H.J. Lu --- Fixed on

[Bug bootstrap/95413] [11 regression] i686-linux --enable-targets=all cannot configure m64 libgomp

2020-05-29 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95413 H.J. Lu changed: What|Removed |Added CC||hjl.tools at gmail dot com Status

[Bug bootstrap/95413] [11 regression] i686-linux --enable-targets=all cannot configure m64 libgomp

2020-05-29 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95413 --- Comment #3 from H.J. Lu --- I successfully bootstrapped commit c92716b2b1d117a803775a2e2336b751050ff7c2 Author: Martin Liska Date: Fri May 29 13:21:41 2020 +0200 Port bugzilla-close-candidate script to git. with CC="cc -m32 -fno-lt

[Bug bootstrap/95413] [11 regression] i686-linux --enable-targets=all cannot configure m64 libgomp

2020-05-29 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95413 --- Comment #4 from H.J. Lu --- (In reply to r...@cebitec.uni-bielefeld.de from comment #2) > > How did CET changes add -march=i486 -mtune=i686? Can you bisect to the > > commit? > > Done: the reghunt identified > > commit 4c1a5d8b71e29b71e0bc

[Bug bootstrap/95413] [11 regression] i686-linux --enable-targets=all cannot configure m64 libgomp

2020-05-29 Thread hjl.tools at gmail dot com
gnu.org |hjl.tools at gmail dot com

[Bug bootstrap/95413] [11 regression] i686-linux --enable-targets=all cannot configure m64 libgomp

2020-05-29 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95413 --- Comment #6 from H.J. Lu --- I am testing this: diff --git a/config/cet.m4 b/config/cet.m4 index 2bb2c8a95ac..911fbd46475 100644 --- a/config/cet.m4 +++ b/config/cet.m4 @@ -7,13 +7,14 @@ GCC_ENABLE(cet, auto, ,[enable Intel CET in target libr

[Bug bootstrap/95413] [11 regression] i686-linux --enable-targets=all cannot configure m64 libgomp

2020-05-29 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95413 H.J. Lu changed: What|Removed |Added URL||https://gcc.gnu.org/piperma

[Bug bootstrap/95413] [11 regression] i686-linux --enable-targets=all cannot configure m64 libgomp

2020-05-29 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95413 H.J. Lu changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug target/95151] [9/10/11 Regression] Add cmpmemM pattern for -minline-all-stringops

2020-05-30 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95151 --- Comment #2 from H.J. Lu --- Initial attempt failed on [hjl@gnu-cfl-2 pr95151]$ cat saved.c #include #include #include #include unsigned char *buf1, *buf2; int ret; size_t page_size; static void do_one_test (char *dst, char *src, const

[Bug target/95439] New: Incorrect zero count check in cmpstrnsi

2020-05-30 Thread hjl.tools at gmail dot com
Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com CC: hubicka at ucw dot cz, ubizjak at gmail dot com Target Milestone: --- Target: i386,x86-64 cmpstrnsi expander has emit_insn (gen_cmp_1 (Pmode, countreg, countreg

[Bug middle-end/95442] New: LRA inserts a reload insn for REG_DEAD register

2020-05-30 Thread hjl.tools at gmail dot com
: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com CC: vmakarov at redhat dot com Target Milestone: --- match_reload has if (find_reg_note (curr_insn, REG_UNUSED, out_rtx) == NULL_RTX) { start_sequence

[Bug target/95443] New: cmpstrnqi patterns update string length

2020-05-30 Thread hjl.tools at gmail dot com
Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com CC: crazylht at gmail dot com, hubicka at ucw dot cz, ubizjak at gmail dot com Target Milestone: --- Target: i386,x86-64 We have countreg = ix86_zero_extend_to_Pmode

[Bug target/95444] New: Incorrect constraints on length operand in cmpstrnqi patterns

2020-05-30 Thread hjl.tools at gmail dot com
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com CC: crazylht at gmail dot com, hubicka at ucw dot cz, ubizjak at gmail dot com Target Milestone: --- Target: i386,x864-64 cmpstrnqi

[Bug target/95447] New: cmpstrn peepholes are out of date

2020-05-30 Thread hjl.tools at gmail dot com
Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com CC: crazylht at gmail dot com, hubicka at ucw dot cz, ubizjak at gmail dot com Target Milestone: --- Target: i386,x86-64 cmpstrn peepholes are out of date. i386.md has

[Bug target/95439] Incorrect zero count check in cmpstrnsi

2020-05-30 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95439 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/95151] [9/10/11 Regression] Add cmpmemM pattern for -minline-all-stringops

2020-05-30 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95151 Bug 95151 depends on bug 95439, which changed state. Bug 95439 Summary: Incorrect zero count check in cmpstrnsi https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95439 What|Removed |Added

[Bug target/95151] [9/10/11 Regression] Add cmpmemM pattern for -minline-all-stringops

2020-05-31 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95151 Bug 95151 depends on bug 95444, which changed state. Bug 95444 Summary: Incorrect constraints on length operand in cmpstrnqi patterns https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95444 What|Removed |Added --

[Bug target/95444] Incorrect constraints on length operand in cmpstrnqi patterns

2020-05-31 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95444 H.J. Lu changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug target/95151] [9/10/11 Regression] Add cmpmemM pattern for -minline-all-stringops

2020-05-31 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95151 H.J. Lu changed: What|Removed |Added Keywords||patch URL|

[Bug target/95458] New: Inline strncmp is *much* slower than glibc

2020-06-01 Thread hjl.tools at gmail dot com
Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com CC: crazylht at gmail dot com Depends on: 43052 Target Milestone: --- Similar to PR 43052, inline strncmp is *much* slower than glibc. PR 43052 was "fixed" b

[Bug target/95237] LOCAL_DECL_ALIGNMENT shrinks alignment, FAIL gcc.target/i386/pr69454-2.c

2020-06-01 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95237 --- Comment #5 from H.J. Lu --- On i386, we don't do dynamic stack realignment for long long objects with -mpreferred-stack-boundary=2 on purpose. A backend should be allowed to opt-out gcc_assert (align >= DECL_ALIGN (var)); based one variabl

[Bug target/95237] LOCAL_DECL_ALIGNMENT shrinks alignment, FAIL gcc.target/i386/pr69454-2.c

2020-06-02 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95237 --- Comment #8 from H.J. Lu --- (In reply to Kito Cheng from comment #6) > Created attachment 48658 [details] > i386-Implement-ROUND_TYPE_ALIGN-to-make-sure-alignme.patch > > Some optimization might made decision depend on the alignment, and ali

[Bug target/95237] LOCAL_DECL_ALIGNMENT shrinks alignment, FAIL gcc.target/i386/pr69454-2.c

2020-06-02 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95237 --- Comment #10 from H.J. Lu --- (In reply to rguent...@suse.de from comment #9) > > The i386 psABI specifies 4 byte alignment for long long. But we want to > > use 8 byte alignment if there is no ABI implication and no stack realignment > > is

[Bug target/95237] LOCAL_DECL_ALIGNMENT shrinks alignment, FAIL gcc.target/i386/pr69454-2.c

2020-06-02 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95237 --- Comment #12 from H.J. Lu --- (In reply to H.J. Lu from comment #10) > (In reply to rguent...@suse.de from comment #9) > > > > The i386 psABI specifies 4 byte alignment for long long. But we want to > > > use 8 byte alignment if there is no

[Bug sanitizer/95496] New: [10/11 Regression] Bogus -Wformat-overflow= warnings with -fsanitize=undefined

2020-06-03 Thread hjl.tools at gmail dot com
: normal Priority: P3 Component: sanitizer Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org, jakub at gcc dot gnu.org, kcc at gcc dot gnu.org

[Bug sanitizer/95496] [10/11 Regression] Bogus -Wformat-overflow= warnings with -fsanitize=undefined

2020-06-03 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95496 H.J. Lu changed: What|Removed |Added Last reconfirmed||2020-06-03 CC|

[Bug fortran/95546] New: Random Fortran test failures

2020-06-04 Thread hjl.tools at gmail dot com
Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com CC: skpgkp2 at gmail dot com Target Milestone: --- I got random failures: t line 12 of file /export/gnu/import/git/gcc-test-master-intel64/src-master/gcc/testsuite/gfortran.dg/eof_4.f90 (unit

[Bug fortran/95546] Random Fortran test failures

2020-06-04 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95546 H.J. Lu changed: What|Removed |Added Last reconfirmed||2020-06-04 Ever confirmed|0

[Bug lto/95604] LTO doesn't pick up -fcf-protection flag for the link step

2020-06-09 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95604 --- Comment #1 from H.J. Lu --- (In reply to Matthias Klose from comment #0) > Building the example from PR93966 with the -fcf-protection flag in the > compile step, but not in the link step, I get the error triggered by the -z > option. > > $ c

[Bug lto/95604] LTO doesn't pick up -fcf-protection flag for the link step

2020-06-09 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95604 --- Comment #3 from H.J. Lu --- (In reply to Matthias Klose from comment #2) > Really? The documentation states: > > The macro "__CET__" is defined when -fcf-protection is used. > > so it's a preprocessor option as well? __CET__ check isn't

[Bug target/95621] Add CET(PTA_SHSTK) to march=tigerlake

2020-06-10 Thread hjl.tools at gmail dot com
|--- |INVALID CC|hjl at gcc dot gnu.org |hjl.tools at gmail dot com --- Comment #1 from H.J. Lu --- I don't think PTA_SHSTK is needed since -mshstk is only used to enable CET in run-time library which is backward compatible. GCC run-time libraries are com

[Bug target/81652] [meta-bug] -fcf-protection=full bugs

2020-06-11 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81652 Bug 81652 depends on bug 93492, which changed state. Bug 93492 Summary: Broken code with -fpatchable-function-entry and -fcf-protection=full https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93492 What|Removed |Adde

[Bug target/93492] Broken code with -fpatchable-function-entry and -fcf-protection=full

2020-06-11 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93492 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/95655] New: -mfentry -pg generates extra push/pop

2020-06-12 Thread hjl.tools at gmail dot com
Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com CC: crazylht at gmail dot com Target Milestone: --- Target: i386 [hjl@gnu-cfl-2 tmp]$ cat y.i void f10_endbr (void) { } [hjl@gnu-cfl-2 tmp]$ /usr/gcc-10.1.1-32bit/bin/gcc -O1

[Bug target/95655] -mfentry -pg generates extra push/pop

2020-06-12 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95655 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/95655] -mfentry -pg generates extra push/pop

2020-06-12 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95655 --- Comment #2 from H.J. Lu --- The differences starts at IRA: diff -upr good/y.i.286r.ira bad/y.i.286r.ira --- good/y.i.286r.ira 2020-06-12 05:15:19.975544607 -0700 +++ bad/y.i.286r.ira2020-06-12 05:12:35.275007543 -0700 @@ -47,7 +47,7 @@

[Bug target/95655] -mfentry -pg generates extra push/pop

2020-06-12 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95655 H.J. Lu changed: What|Removed |Added Keywords||patch URL|

[Bug target/95660] get_intel_cpu in cpuinfo.c contains unnecessary check for brand_id

2020-06-12 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95660 H.J. Lu changed: What|Removed |Added Last reconfirmed||2020-06-12 Version|unknown

[Bug target/95660] get_intel_cpu in cpuinfo.c contains unnecessary check for brand_id

2020-06-12 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95660 H.J. Lu changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |hjl.tools at gmail dot com

[Bug target/95660] get_intel_cpu in cpuinfo.c contains unnecessary check for brand_id

2020-06-12 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95660 H.J. Lu changed: What|Removed |Added Target Milestone|--- |11.0

[Bug target/95400] -march=native and -march=icelake-client produce different results on icelake client

2020-06-13 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95400 H.J. Lu changed: What|Removed |Added Target Milestone|--- |8.5 Status|NEW

[Bug target/93492] Broken code with -fpatchable-function-entry and -fcf-protection=full

2020-06-14 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93492 H.J. Lu changed: What|Removed |Added CC||iains at gcc dot gnu.org, |

[Bug target/93492] Broken code with -fpatchable-function-entry and -fcf-protection=full

2020-06-15 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93492 H.J. Lu changed: What|Removed |Added Status|REOPENED|WAITING --- Comment #23 from H.J. Lu --- Do -

[Bug d/95680] New: libdruntime doesn't support shadow stack

2020-06-15 Thread hjl.tools at gmail dot com
nt: d Assignee: ibuclaw at gdcproject dot org Reporter: hjl.tools at gmail dot com Target Milestone: --- libdruntime manipulates user stack. It doesn't support shadow stack from Intel CET: https://software.intel.com/content/www/us/en/develop/articles/intel-sdm.html like th

[Bug target/95674] Unnecessary move when doing division-by-multiplication

2020-06-15 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95674 --- Comment #2 from H.J. Lu --- PR 95442 is also REG_DEAD related.

[Bug d/95680] libdruntime doesn't support shadow stack

2020-06-15 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95680 H.J. Lu changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug target/95488] Suboptimal multiplication codegen for v16qi

2020-06-16 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95488 H.J. Lu changed: What|Removed |Added Status|RESOLVED|REOPENED Last reconfirmed|

[Bug target/95748] Long long function parameter should be aligned to 32 bit on x86.

2020-06-19 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95748 H.J. Lu changed: What|Removed |Added Status|RESOLVED|REOPENED Ever confirmed|0

[Bug target/95764] Failure to optimize usage of _mm512_set1_epi32 to a single instruction

2020-06-19 Thread hjl.tools at gmail dot com
, ||hjl.tools at gmail dot com --- Comment #2 from H.J. Lu --- There are quite a few memory broadcast bug. This may be a dup. PR 87767?

[Bug target/95748] Long long function parameter should be aligned to 32 bit on x86.

2020-06-19 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95748 --- Comment #3 from H.J. Lu --- [hjl@gnu-cfl-2 tmp]$ cat x.c typedef __UINTPTR_TYPE__ uintptr_t; __attribute__ ((noclone, noinline)) void check (uintptr_t address, uintptr_t align) { if (address & (align - 1)) __builtin_abort(); } __attr

[Bug c++/95768] -march=sandybridge -O2 -Wall crashes as 'during GIMPLE pass: uninit ... Segmentation fault'

2020-06-19 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95768 H.J. Lu changed: What|Removed |Added Target Milestone|--- |11.0 Ever confirmed|0

[Bug target/95774] __builtin_cpu_is can't detect cooperlake

2020-06-19 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95774 H.J. Lu changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |hjl.tools at gmail dot com Last

[Bug other/95778] target_clones indirection eliminates requires noinline

2020-06-20 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95778 --- Comment #3 from H.J. Lu --- *** Bug 95780 has been marked as a duplicate of this bug. ***

[Bug other/95780] target_clones treats internal visibility different from static functions

2020-06-20 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95780 H.J. Lu changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRMED

[Bug ipa/95790] Incorrect static target dispatch

2020-06-20 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95790 H.J. Lu changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug ipa/95790] Incorrect static target dispatch

2020-06-20 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95790 --- Comment #4 from H.J. Lu --- (In reply to Yichao Yu from comment #2) > The C++ code attached above produces the following incorrect code with `g++ > -O2 -S` > > .file "a.c" > .text > .p2align 4 > .globl _Z3b

[Bug middle-end/95793] New: Nested function multi-versioning doesn't work

2020-06-20 Thread hjl.tools at gmail dot com
onent: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com Target Milestone: --- [hjl@gnu-cfl-2 pr95790]$ cat x.cc #include extern char *buf; __attribute__ ((target ("default"))) static int foo(const char *buf) { return 1; }

[Bug ipa/95790] Incorrect static target dispatch

2020-06-20 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95790 --- Comment #6 from H.J. Lu --- (In reply to Yichao Yu from comment #5) > It’s wrong when running on a target that has avx512f. The unoptimuzed > version will call the correct foo but the unoptimized case won’t. > > As I said, this is an issue w

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