aboutsummaryrefslogtreecommitdiff
path: root/gcc/passes.c
diff options
context:
space:
mode:
authorRoger Sayle <roger@eyesopen.com>2004-12-13 23:49:28 +0000
committerRoger Sayle <sayle@gcc.gnu.org>2004-12-13 23:49:28 +0000
commit5ac20c1a831f603d5e46e3e2938f0bbf6c8b0423 (patch)
tree610abc1c82d439c98e13f70c11d153d2004220e4 /gcc/passes.c
parent04482133da7cc90eb44c16e1abe6223e2014fc1e (diff)
downloadgcc-5ac20c1a831f603d5e46e3e2938f0bbf6c8b0423.zip
gcc-5ac20c1a831f603d5e46e3e2938f0bbf6c8b0423.tar.gz
gcc-5ac20c1a831f603d5e46e3e2938f0bbf6c8b0423.tar.bz2
re PR rtl-optimization/18928 (ice on valid code with -O2 -fPIC)
PR rtl-optimization/18928 * simplify_rtx.c (plus_minus_operand_p): New function to encode the test for suitable operands for calls to simplify_plus_minus. Only allow (CONST (PLUS x y)) if both x and y are CONSTANT_P. (simplify_binary_operation): Use plus_minus_operand_p. * gcc.dg/pr18928-1.c: New test case. From-SVN: r92109
Diffstat (limited to 'gcc/passes.c')
0 files changed, 0 insertions, 0 deletions