This is the mail archive of the gcc-bugs@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]

[Bug c++/64487] [4.8/4.9 Regression] internal compiler error: in fold_offsetof_1, at c-family/c-common.c:9857


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64487

--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Tue Jan 13 14:49:17 2015
New Revision: 219536

URL: https://gcc.gnu.org/viewcvs?rev=219536&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_8-branch/gcc/testsuite/g++.dg/template/offsetof3.C
Modified:
    branches/gcc-4_8-branch/gcc/cp/ChangeLog
    branches/gcc-4_8-branch/gcc/cp/parser.c
    branches/gcc-4_8-branch/gcc/cp/semantics.c


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]