]> gcc.gnu.org Git - gcc.git/commit - gcc/cp/pt.c
re PR c++/27601 (ICE (in fold_offsetof_1, at c-common.c:5998) on strange offsetof)
authorVolker Reichelt <reichelt@igpm.rwth-aachen.de>
Wed, 7 Jun 2006 16:08:30 +0000 (16:08 +0000)
committerVolker Reichelt <reichelt@gcc.gnu.org>
Wed, 7 Jun 2006 16:08:30 +0000 (16:08 +0000)
commitc291f8b146078790ba0bec3ce3cc5a86c8d8c187
tree171e00a1514b9456a0a43f471d90876c66f4b1f4
parent1af3e54d508cee22e0b416c085a26011b8b457a1
re PR c++/27601 (ICE (in fold_offsetof_1, at c-common.c:5998) on strange offsetof)

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
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/parser.c
gcc/cp/pt.c
gcc/cp/semantics.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/offsetof1.C
This page took 1.095541 seconds and 5 git commands to generate.