[Bug rtl-optimization/80501] [6/7/8 Regression] Wrong code w/ a signed char, a shift, and a conversion to int
ubizjak at gmail dot com
gcc-bugzilla@gcc.gnu.org
Mon Apr 24 11:35:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80501
--- Comment #7 from Uroš Bizjak <ubizjak at gmail dot com> ---
Comment on attachment 41252
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41252
gcc8-pr80501.patch
> && exact_log2 (UINTVAL (XEXP (inner, 1)))
>- >= GET_MODE_BITSIZE (mode))))
>+ >= GET_MODE_BITSIZE (mode) - 1)))
This can be written as "> GET_MODE_BITSIZE (mode)".
More information about the Gcc-bugs
mailing list