projects
/
platform
/
upstream
/
linaro-gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6344508
)
(build_enumerator): Fix error in last change.
author
rms
<rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 9 Jul 1992 06:11:19 +0000
(06:11 +0000)
committer
rms
<rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 9 Jul 1992 06:11:19 +0000
(06:11 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1538
138bc75d
-0d04-0410-961f-
82ee72b054a4
gcc/c-decl.c
patch
|
blob
|
history
diff --git
a/gcc/c-decl.c
b/gcc/c-decl.c
index
68a269f
..
4faddf6
100644
(file)
--- a/
gcc/c-decl.c
+++ b/
gcc/c-decl.c
@@
-5049,7
+5049,8
@@
build_enumerator (name, value)
/* Validate and default VALUE. */
/* Remove no-op casts from the value. */
- STRIP_NOPS (value);
+ if (value)
+ STRIP_NOPS (value);
if (value != 0 && TREE_CODE (value) != INTEGER_CST)
{