]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/44627 (ICE in dump_expr, at cp/error.c:1735)
authorJakub Jelinek <jakub@redhat.com>
Tue, 22 Jun 2010 20:48:24 +0000 (22:48 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 22 Jun 2010 20:48:24 +0000 (22:48 +0200)
commitc52180763961dc9af9c31b5f1c448cad60e94713
tree4dfbb15f4b58707ab258ebf51b4da449494281b2
parent2aa01de23336bae797303c6438aa24c34f0dafc1
re PR c++/44627 (ICE in dump_expr, at cp/error.c:1735)

PR c++/44627
* error.c (dump_expr): Don't look at CALL_EXPR_ARG (t, 0) if
the CALL_EXPR has no arguments.

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

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