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 PR c++/48574
[pf3gnuchains/gcc-fork.git]
/
gcc
/
cp
/
class.c
diff --git
a/gcc/cp/class.c
b/gcc/cp/class.c
index
b6aebae
..
3216068
100644
(file)
--- a/
gcc/cp/class.c
+++ b/
gcc/cp/class.c
@@
-5939,6
+5939,7
@@
fixed_type_or_null (tree instance, int *nonnull, int *cdtorp)
itself. */
if (TREE_CODE (instance) == VAR_DECL
&& DECL_INITIAL (instance)
+ && !type_dependent_expression_p (DECL_INITIAL (instance))
&& !htab_find (ht, instance))
{
tree type;