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++/50861] [4.7 Regression] ICE: internal compiler error: tree check: expected tree that contains âdecl minimalâ structure, have âerror_markâ in tsubst_copy_and_build, at cp/pt.c:13526


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

--- Comment #2 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2011-10-25 13:48:17 UTC ---
Author: paolo
Date: Tue Oct 25 13:48:10 2011
New Revision: 180430

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

    PR c++/50858
    * typeck.c (composite_pointer_type_r): Check return value of
    composite_pointer_type_r for error_mark_node.

/testsuite
2011-10-25  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/50858
    * g++.dg/overload/operator5.C: New.

/cp
2011-10-25  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/50861
    * pt.c (tsubst_copy_and_build): Check return value of
    tsubst_copy_and_build for error_mark_node.

/testsuite
2011-10-25  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/50861
    * g++.dg/template/crash108.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/overload/operator5.C
    trunk/gcc/testsuite/g++.dg/template/crash108.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c
    trunk/gcc/cp/typeck.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]