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++/71440] ICE on invalid C++ code in instantiate_type, at cp/class.c:8247


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71440

--- Comment #3 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Thu Aug  3 09:26:17 2017
New Revision: 250848

URL: https://gcc.gnu.org/viewcvs?rev=250848&root=gcc&view=rev
Log:
/cp
2017-08-03  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/71440
        * typeck.c (build_x_unary_op): Avoid pretty-printing constructor /
        destructor as expressions.

/testsuite
2017-08-03  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/71440
        * g++.dg/template/crash127.C: New.

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