diff options
| author | Roger Sayle <roger@eyesopen.com> | 2004-12-13 23:49:28 +0000 |
|---|---|---|
| committer | Roger Sayle <sayle@gcc.gnu.org> | 2004-12-13 23:49:28 +0000 |
| commit | 5ac20c1a831f603d5e46e3e2938f0bbf6c8b0423 (patch) | |
| tree | 610abc1c82d439c98e13f70c11d153d2004220e4 /gcc/c-errors.c | |
| parent | 04482133da7cc90eb44c16e1abe6223e2014fc1e (diff) | |
| download | gcc-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/c-errors.c')
0 files changed, 0 insertions, 0 deletions
