projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43e046c
)
(const_binop): Strip NOPS from both args.
author
Richard Kenner
<kenner@gcc.gnu.org>
Tue, 16 Jan 1996 13:42:19 +0000
(08:42 -0500)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Tue, 16 Jan 1996 13:42:19 +0000
(08:42 -0500)
From-SVN: r11019
gcc/fold-const.c
patch
|
blob
|
history
diff --git
a/gcc/fold-const.c
b/gcc/fold-const.c
index
14e11d0
..
1c51ba8
100644
(file)
--- a/
gcc/fold-const.c
+++ b/
gcc/fold-const.c
@@
-1,5
+1,5
@@
/* Fold a constant sub-tree into a single node for C-compiler
- Copyright (C) 1987, 88, 92, 93, 94,
1995
Free Software Foundation, Inc.
+ Copyright (C) 1987, 88, 92, 93, 94,
95, 1996
Free Software Foundation, Inc.
This file is part of GNU CC.
@@
-966,6
+966,8
@@
const_binop (code, arg1, arg2, notrunc)
register tree arg1, arg2;
int notrunc;
{
+ STRIP_NOPS (arg1); STRIP_NOPS (arg2);
+
if (TREE_CODE (arg1) == INTEGER_CST)
{
register HOST_WIDE_INT int1l = TREE_INT_CST_LOW (arg1);