This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/44627] [4.3/4.4/4.5/4.6 Regression] ICE in dump_expr, at cp/error.c:1735



------- Comment #3 from jakub at gcc dot gnu dot org  2010-06-22 20:47 -------
Subject: Bug 44627

Author: jakub
Date: Tue Jun 22 20:46:51 2010
New Revision: 161228

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=161228
Log:
        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.

Added:
    branches/gcc-4_5-branch/gcc/testsuite/g++.dg/other/method1.C
Modified:
    branches/gcc-4_5-branch/gcc/cp/ChangeLog
    branches/gcc-4_5-branch/gcc/cp/error.c
    branches/gcc-4_5-branch/gcc/testsuite/ChangeLog


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]