diff options
author | sayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-12-13 23:49:28 +0000 |
---|---|---|
committer | sayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-12-13 23:49:28 +0000 |
commit | 70fb5d1c4101fe7dab4f1a7d504ecb7102affe59 (patch) | |
tree | 610abc1c82d439c98e13f70c11d153d2004220e4 /gcc/gcov.c | |
parent | 78a289a921a5787579715c5d70fcd75c6f072a1b (diff) | |
download | gcc-70fb5d1c4101fe7dab4f1a7d504ecb7102affe59.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92109 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gcov.c')
0 files changed, 0 insertions, 0 deletions