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

--- Comment #15 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Uroš Bizjak from comment #14)
> (In reply to Jakub Jelinek from comment #13)
> > (In reply to Uroš Bizjak from comment #12)
> > > (In reply to Jakub Jelinek from comment #10)
> > > > and r264676 fixed that ICE, but hangs on it.
> > > Are you sure you have correct revision here? Mentioned revision removes 
> > > FPSR
> > > x87 status register, which x86_64 should not use at all. The description
> > > mentions r264726 that mentions many changes in ira-lives.c and lra-lives.c
> > 
> > Yes.
> 
> Strange... Even more strange is the fact, that it works for me with:
> 
> GCC: (GNU) 9.0.0 20181119 (experimental) [trunk revision 266278]
> 
> $ /ssd/uros/gcc-build/gcc/cc1 -quiet -O2 -fschedule-insns
> -fno-guess-branch-probability -fno-isolate-erroneous-paths-dereference
> -fno-omit-frame-pointer -fno-split-wide-types -fno-tree-ccp -fno-tree-sra
> pr87485.c; echo $?
> pr87485.c: In function ‘c8’:
> pr87485.c:19:23: warning: division by zero [-Wdiv-by-zero]
>    19 |       *xh += fl < (e4 / 0);
>       |                       ^
> 0

Ah, needs also -fstack-protector-strong.

Reply via email to