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++/84350] [7/8 Regression] ICE with new and auto


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

--- Comment #3 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Wed Feb 14 17:59:29 2018
New Revision: 257666

URL: https://gcc.gnu.org/viewcvs?rev=257666&root=gcc&view=rev
Log:
/cp
2018-02-14  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/84350
        * pt.c (do_auto_deduction): Don't check the TREE_TYPE of a null
        init, early return.

/testsuite
2018-02-14  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/84350
        * g++.dg/cpp0x/auto49.C: New.

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