semantics.c
109 KB
-
re PR c++/27601 (ICE (in fold_offsetof_1, at c-common.c:5998) on strange offsetof) · c291f8b1
PR c++/27601 * cp-tree.h (finish_offsetof): Add prototype. * semantics.c (finish_offsetof): New function. * parser.c (cp_parser_builtin_offsetof): Call it instead of fold_offsetof. * pt.c (tsubst_copy_and_build): Likewise. * g++.dg/ext/offsetof1.C: Test member functions. From-SVN: r114469
Volker Reichelt committed