re PR c++/35332 (Broken diagnostics for builtins)
authorJakub Jelinek <jakub@redhat.com>
Wed, 26 Mar 2008 13:03:30 +0000 (14:03 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 26 Mar 2008 13:03:30 +0000 (14:03 +0100)
commit07874f1f63c1b1d1686e5b8e0cb9e42515beca21
treed8addbaa28cf4f2130bfa997b103f2636a93b476
parent4990038deffbd5f5e6453c42d82d23d030cc0634
re PR c++/35332 (Broken diagnostics for builtins)

PR c++/35332
* error.c (dump_expr): Pass {,UN}ORDERED_EXPR, UN{LT,LE,GT,GE,EQ}_EXPR
and LTGT_EXPR to pp_expression.

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

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