simplify-rtx.c
118 KB
-
re PR rtl-optimization/20532 (Bad code for DImode left shifts by 31 and then 1) · fab2f52c
gcc/ChangeLog: PR rtl-optimization/20532 * simplify-rtx.c (simplify_binary_operation_1): Protect from overflow when adding coefficients for PLUS or MINUS. (simplify_binary_operation_1): Handle CONST_DOUBLE exact power of two as multiplier. gcc/testsuite/ChangeLog: PR rtl-optimization/20532 * gcc.target/i386/badshift.c: New. From-SVN: r96982
Alexandre Oliva committed