[Bug tree-optimization/102622] [12 Regression] Wrong code with -O3 for skylake-avx512 and icelake-server by r12-3903

hjl.tools at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed Oct 6 13:04:20 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102622

--- Comment #6 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Aldy Hernandez from comment #4)
> Can you try with -fno-thread-jumps to make sure its really the threader at
> play?

-fno-thread-jumps fixes the bug.

> If so, you could try to narrow it down to the problematic threading path
> with:
> 
> -fdbg-cnt=registered_jump_thread:N:N
> 
> where N is the number that causes the problem.

What N should I try? I got

[hjl@gnu-skx-1 gcc]$ ./xgcc -B./ -S -O3 -march=native
/export/project/git/gcc-bisect/pr102622.cc
-fdbg-cnt=registered_jump_thread:10:10
cc1plus: error: Interval overlap of ??-fdbg-cnt=registered_jump_thread??: [1,
10] and [1, 10]


More information about the Gcc-bugs mailing list