aboutsummaryrefslogtreecommitdiff
path: root/gcc/combine.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2011-07-04 20:53:56 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2011-07-04 20:53:56 +0200
commit707f991907e5c97c56a05654fee49f4940158994 (patch)
treeb9c8211932e2c4b13367e217f110ffc882b8f5cf /gcc/combine.c
parent15923c25df505b21061fda148dcb2b036af4735a (diff)
downloadgcc-707f991907e5c97c56a05654fee49f4940158994.zip
gcc-707f991907e5c97c56a05654fee49f4940158994.tar.gz
gcc-707f991907e5c97c56a05654fee49f4940158994.tar.bz2
re PR rtl-optimization/49472 (Compiler segfault on valid code)
PR rtl-optimization/49472 * simplify-rtx.c (simplify_unary_operation_1) <case NEG>: When negating MULT, negate the second operand instead of first. (simplify_binary_operation_1) <case MULT>: If one operand is a NEG and the other is MULT, don't attempt to optimize by negation of the MULT operand if it only moves the NEG operation around. * gfortran.dg/pr49472.f90: New test. From-SVN: r175821
Diffstat (limited to 'gcc/combine.c')
0 files changed, 0 insertions, 0 deletions