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
* init.c (build_new): Allow enumeration types for the array-bounds
[pf3gnuchains/gcc-fork.git]
/
gcc
/
tree.c
diff --git
a/gcc/tree.c
b/gcc/tree.c
index
b45dc19
..
4ef1441
100644
(file)
--- a/
gcc/tree.c
+++ b/
gcc/tree.c
@@
-2482,7
+2482,7
@@
build1 (code, type, node)
break;
default:
- if (TREE_CODE_CLASS (code) == '1' && TREE_CONSTANT (node))
+ if (TREE_CODE_CLASS (code) == '1' &&
node &&
TREE_CONSTANT (node))
TREE_CONSTANT (t) = 1;
break;
}