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
2009-04-16 Paolo Bonzini <bonzini@gnu.org>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
cp
/
decl.c
diff --git
a/gcc/cp/decl.c
b/gcc/cp/decl.c
index
2c13e84
..
707bd33
100644
(file)
--- a/
gcc/cp/decl.c
+++ b/
gcc/cp/decl.c
@@
-5157,7
+5157,7
@@
check_initializer (tree decl, tree init, int flags, tree *cleanup)
decl);
init = build_tree_list (NULL_TREE, init);
}
- else if (
(*targetm.vector_opaque_p)
(type))
+ else if (
TREE_CODE (type) == VECTOR_TYPE && TYPE_VECTOR_OPAQUE
(type))
{
error ("opaque vector types cannot be initialized");
init = error_mark_node;