[Bug c++/64487] [4.8/4.9 Regression] internal compiler error: in fold_offsetof_1, at c-family/c-common.c:9857
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jan 7 15:19:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64487
--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Wed Jan 7 15:18:39 2015
New Revision: 219311
URL: https://gcc.gnu.org/viewcvs?rev=219311&root=gcc&view=rev
Log:
PR c++/64487
* semantics.c (finish_offsetof): Handle templates here.
* parser.c (cp_parser_builtin_offsetof): Not here.
Added:
branches/gcc-4_9-branch/gcc/testsuite/g++.dg/template/offsetof3.C
Modified:
branches/gcc-4_9-branch/gcc/cp/ChangeLog
branches/gcc-4_9-branch/gcc/cp/parser.c
branches/gcc-4_9-branch/gcc/cp/semantics.c
More information about the Gcc-bugs
mailing list