This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/84350] [7/8 Regression] ICE with new and auto
- From: "paolo at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 14 Feb 2018 18:00:00 +0000
- Subject: [Bug c++/84350] [7/8 Regression] ICE with new and auto
- Auto-submitted: auto-generated
- References: <bug-84350-4@http.gcc.gnu.org/bugzilla/>
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