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++/19878
[pf3gnuchains/gcc-fork.git]
/
gcc
/
cp
/
decl.c
diff --git
a/gcc/cp/decl.c
b/gcc/cp/decl.c
index
bf0fb20
..
cea13b8
100644
(file)
--- a/
gcc/cp/decl.c
+++ b/
gcc/cp/decl.c
@@
-5950,6
+5950,8
@@
grokvardecl (tree type,
warning ("non-local variable %q#D uses local type %qT", decl, t);
}
}
+ else
+ DECL_INTERFACE_KNOWN (decl) = 1;
return decl;
}