diff options
author | (no author) <(no author)@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-05-13 00:26:22 +0000 |
---|---|---|
committer | (no author) <(no author)@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-05-13 00:26:22 +0000 |
commit | 642b971b14d7107cfe01bf72648ae3b510a2d33c (patch) | |
tree | baf23254fca2fd8d16741acf27572f3219d56c89 /gcc/simplify-rtx.c | |
parent | 59bc598e01e292d67c32b6ae240b4544d4c234ab (diff) |
This commit was manufactured by cvs2svn to create tagapple/gcc-1751
'apple-gcc-1751'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/tags/apple-gcc-1751@81762 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/simplify-rtx.c')
-rw-r--r-- | gcc/simplify-rtx.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/simplify-rtx.c b/gcc/simplify-rtx.c index 2ade695b980..f880b461f26 100644 --- a/gcc/simplify-rtx.c +++ b/gcc/simplify-rtx.c @@ -1572,7 +1572,11 @@ simplify_binary_operation (enum rtx_code code, enum machine_mode mode, return simplify_gen_unary (NEG, mode, op1, mode); /* (-1 - a) is ~a. */ - if (trueop0 == constm1_rtx) + /* APPLE LOCAL disallow (not (SYM)) + But not when a is relocatable (this arises temporarily when + pulling 386 global addresses out of a loop). */ + if (trueop0 == constm1_rtx + && GET_CODE (op1) != SYMBOL_REF ) return simplify_gen_unary (NOT, mode, op1, mode); /* Subtracting 0 has no effect unless the mode has signed zeros |