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++/28292] [4.2 regression] ICE in acceptable_java_type



------- Comment #2 from lmillward at gcc dot gnu dot org  2006-07-15 14:45 -------
Subject: Bug 28292

Author: lmillward
Date: Sat Jul 15 14:44:48 2006
New Revision: 115474

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115474
Log:
        PR c++/28292
        * decl2.c (acceptable_java_type): Robustify. Use
        proper Boolean return type instead of return 1.
        (check_java_method): Don't issue error about
        type not being an acceptable Java parameter if 
        it's error_mark_node.

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


Added:
    trunk/gcc/testsuite/g++.dg/other/error12.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl2.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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