OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
PR c/18867
[pf3gnuchains/gcc-fork.git]
/
gcc
/
c-typeck.c
diff --git
a/gcc/c-typeck.c
b/gcc/c-typeck.c
index
f2f9b4d
..
e5c8ef5
100644
(file)
--- a/
gcc/c-typeck.c
+++ b/
gcc/c-typeck.c
@@
-6507,6
+6507,7
@@
c_start_case (tree exp)
{
error ("switch quantity not an integer");
exp = integer_zero_node;
+ orig_type = error_mark_node;
}
else
{