]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/35336 (Broken diagnostic: 'bit_field_ref' not supported by dump_expr)
authorJakub Jelinek <jakub@redhat.com>
Fri, 5 Dec 2008 21:10:16 +0000 (22:10 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 5 Dec 2008 21:10:16 +0000 (22:10 +0100)
commit5eddced53a0b1a080297ae5420768750ae9e282d
treecee1b2906941519dc567d0b6dc148a9e80a5d21b
parent4f809983df5aff0181c6780a68a3d9359bc331db
re PR c++/35336 (Broken diagnostic: 'bit_field_ref' not supported by dump_expr)

PR c++/35336
* c-pretty-print.c (pp_c_postfix_expression): Handle BIT_FIELD_REF.
(pp_c_expression): Likewise.

* error.c (dump_expr): Handle BIT_FIELD_REF.

* g++.dg/other/error30.C: New test.

From-SVN: r142497
gcc/ChangeLog
gcc/c-pretty-print.c
gcc/cp/ChangeLog
gcc/cp/error.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/other/error30.C [new file with mode: 0644]