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:
fe4d64a
)
(check_case_value): Strip the new nops with STRIP_TYPE_NOPS.
author
rms
<rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 10 Jul 1992 01:50:20 +0000
(
01:50
+0000)
committer
rms
<rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 10 Jul 1992 01:50:20 +0000
(
01:50
+0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1549
138bc75d
-0d04-0410-961f-
82ee72b054a4
gcc/c-common.c
patch
|
blob
|
history
diff --git
a/gcc/c-common.c
b/gcc/c-common.c
index
86d202e
..
f8c723f
100644
(file)
--- a/
gcc/c-common.c
+++ b/
gcc/c-common.c
@@
-309,8
+309,7
@@
check_case_value (value)
return value;
/* Strip NON_LVALUE_EXPRs since we aren't using as an lvalue. */
- if (TREE_CODE (value) == NON_LVALUE_EXPR)
- value = TREE_OPERAND (value, 0);
+ STRIP_TYPE_NOPS (value);
if (TREE_CODE (value) != INTEGER_CST
&& value != error_mark_node)