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++/51431] [4.4/4.5/4.6/4.7 Regression] ICE with invalid use of abstract class


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

--- Comment #1 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2011-12-06 17:12:35 UTC ---
Author: paolo
Date: Tue Dec  6 17:12:17 2011
New Revision: 182055

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182055
Log:
/cp
2011-12-06  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/51431
    * init.c (build_value_init): Check build_aggr_init_expr return
    value for error_mark_node.

/testsuite
2011-12-06  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/51431
    * g++.dg/other/abstract3.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/other/abstract3.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/init.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]