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++/51223] [4.5/4.6/4.7 Regression] ICE with invalid function parameter


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

--- Comment #3 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2012-01-24 10:39:08 UTC ---
Author: paolo
Date: Tue Jan 24 10:39:03 2012
New Revision: 183472

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183472
Log:
/cp
2012-01-24  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/51223
    * call.c (build_over_call): Check for error_mark_node as
    TREE_VALUE when default arguments are processed.

/testsuite
2012-01-24  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/51223
    * g++.dg/parse/crash58.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/parse/crash58.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/call.c
    trunk/gcc/testsuite/ChangeLog


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