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

--- Comment #11 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Jakub Jelinek from comment #10)
> Created attachment 40815 [details]
> gcc7-pr79389.patch
> 
> Full untested patch.

I can confirm that MonteCarlo benchmark considerably improves with -O2, but
please note that your patch is ineffective with -Ofast for some reason, and the
testcase still compiles to a jump.

Reply via email to