summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
4ac6fa8)
* decl.c (grokvardecl): Set DECL_INTERFACE_KNOWN for declarations
with internal linkage.
PR c++/19878
* g++.dg/init/const2.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95490
138bc75d-0d04-0410-961f-
82ee72b054a4
+2005-02-23 Mark Mitchell <mark@codesourcery.com>
+
+ PR c++/19878
+ * decl.c (grokvardecl): Set DECL_INTERFACE_KNOWN for declarations
+ with internal linkage.
+
2005-02-23 Alexandre Oliva <aoliva@redhat.com>
* decl.c (grokvardecl): Don't exempt anonymous types from having
2005-02-23 Alexandre Oliva <aoliva@redhat.com>
* decl.c (grokvardecl): Don't exempt anonymous types from having
warning ("non-local variable %q#D uses local type %qT", decl, t);
}
}
warning ("non-local variable %q#D uses local type %qT", decl, t);
}
}
+ else
+ DECL_INTERFACE_KNOWN (decl) = 1;
+2005-02-23 Mark Mitchell <mark@codesourcery.com>
+
+ PR c++/19878
+ * g++.dg/init/const2.C: New test.
+
2005-02-23 Hans-Peter Nilsson <hp@axis.com>
PR tree-optimization/20100
2005-02-23 Hans-Peter Nilsson <hp@axis.com>
PR tree-optimization/20100
--- /dev/null
+// PR c++/19878
+
+struct S {
+ char k;
+};
+char const volatile S::* const p01 = &S::k;
+