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
Fix up vla, vm and [*] sematics.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
c-objc-common.c
diff --git
a/gcc/c-objc-common.c
b/gcc/c-objc-common.c
index
8fcee73
..
facaeaf
100644
(file)
--- a/
gcc/c-objc-common.c
+++ b/
gcc/c-objc-common.c
@@
-257,3
+257,11
@@
c_types_compatible_p (tree x, tree y)
{
return comptypes (TYPE_MAIN_VARIANT (x), TYPE_MAIN_VARIANT (y));
}
+
+/* Determine if the type is a vla type for the backend. */
+
+bool
+c_vla_unspec_p (tree x, tree fn ATTRIBUTE_UNUSED)
+{
+ return c_vla_type_p (x);
+}