diff options
author | Jakub Jelinek <jakub@redhat.com> | 2011-07-04 20:53:56 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2011-07-04 20:53:56 +0200 |
commit | 707f991907e5c97c56a05654fee49f4940158994 (patch) | |
tree | b9c8211932e2c4b13367e217f110ffc882b8f5cf /gcc/combine.c | |
parent | 15923c25df505b21061fda148dcb2b036af4735a (diff) | |
download | gcc-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