diff options
author | Jakub Jelinek <jakub@redhat.com> | 2007-10-27 13:58:26 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2007-10-27 13:58:26 +0200 |
commit | 094a5fe2659e4bf82420bfe1cdb57cc799a37644 (patch) | |
tree | 5162a0eff158259f8a026fc2fd2b03ff65148d86 /gcc/fortran/lang-specs.h | |
parent | d449b45833001db693cf55eb5326c8eb684bc73e (diff) | |
download | gcc-094a5fe2659e4bf82420bfe1cdb57cc799a37644.zip gcc-094a5fe2659e4bf82420bfe1cdb57cc799a37644.tar.gz gcc-094a5fe2659e4bf82420bfe1cdb57cc799a37644.tar.bz2 |
re PR c++/33842 (Broken diagnostic: 'offsetof_expr' not supported by dump_expr)
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.
From-SVN: r129677
Diffstat (limited to 'gcc/fortran/lang-specs.h')
0 files changed, 0 insertions, 0 deletions