]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/64487 (internal compiler error: in fold_offsetof_1, at c-family/c-common...
authorJason Merrill <jason@redhat.com>
Tue, 13 Jan 2015 14:49:17 +0000 (09:49 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 13 Jan 2015 14:49:17 +0000 (09:49 -0500)
commitc1dca92f0ebcd0e6c5e64d75e17bc8753047683a
tree7762313de6b057cec5c4e633c749207f62b36870
parent97ac6836cdb1a51b59deee738ce042409dd59ad8
re PR c++/64487 (internal compiler error: in fold_offsetof_1, at c-family/c-common.c:9857)

PR c++/64487
* semantics.c (finish_offsetof): Handle templates here.
* parser.c (cp_parser_builtin_offsetof): Not here.

From-SVN: r219536
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/cp/semantics.c
gcc/testsuite/g++.dg/template/offsetof3.C [new file with mode: 0644]