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
/cp
[pf3gnuchains/gcc-fork.git]
/
gcc
/
cp
/
pt.c
diff --git
a/gcc/cp/pt.c
b/gcc/cp/pt.c
index
fbf9b90
..
7561d3f
100644
(file)
--- a/
gcc/cp/pt.c
+++ b/
gcc/cp/pt.c
@@
-14468,6
+14468,10
@@
unify (tree tparms, tree targs, tree parm, tree arg, int strict)
FOR_EACH_CONSTRUCTOR_VALUE (CONSTRUCTOR_ELTS (arg), i, elt)
{
int elt_strict = strict;
+
+ if (elt == error_mark_node)
+ return 1;
+
if (!BRACE_ENCLOSED_INITIALIZER_P (elt))
{
tree type = TREE_TYPE (elt);