[Bug c++/84350] [7/8 Regression] ICE with new and auto

paolo at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Feb 14 18:00:00 GMT 2018


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


More information about the Gcc-bugs mailing list