This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Jason Merrill wrote:
PR c++/18698
* decl2.c (grokfield): Only try to treat the decl as an access declaration if the scope is a class.
+ && TYPE_P (declarator->u.id.qualifying_scope) + && IS_AGGR_TYPE (declarator->u.id.qualifying_scope)
I think that last should be MAYBE_CLASS_TYPE_P?
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |