------- Comment #1 from jakub at gcc dot gnu dot org  2007-10-27 11:58 -------
Subject: Bug 33842

Author: jakub
Date: Sat Oct 27 11:58:26 2007
New Revision: 129677

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129677
Log:
        PR c++/33842
        * cxx-pretty-print.h (pp_cxx_offsetof_expression): New prototype.
        * cxx-pretty-print.c (pp_cxx_primary_expression): Handle
        OFFSETOF_EXPR.
        (pp_cxx_offsetof_expression_1, pp_cxx_offsetof_expression): New
        functions.
        * error.c (dump_expr): Handle OFFSETOF_EXPR.

        * g++.dg/template/error34.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/template/error34.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/cxx-pretty-print.c
    trunk/gcc/cp/cxx-pretty-print.h
    trunk/gcc/cp/error.c
    trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33842

Reply via email to