This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/80831] [6/7/8 Regression] ICE: Segmentation fault with -fsyntax-only
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 17 Jun 2017 02:34:23 +0000
- Subject: [Bug c++/80831] [6/7/8 Regression] ICE: Segmentation fault with -fsyntax-only
- Auto-submitted: auto-generated
- References: <bug-80831-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80831
--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Sat Jun 17 02:33:51 2017
New Revision: 249330
URL: https://gcc.gnu.org/viewcvs?rev=249330&root=gcc&view=rev
Log:
PR c++/80831 - ICE with -fsyntax-only.
* decl2.c (c_parse_final_cleanups): Use cgraph_node::get_create.
Added:
branches/gcc-7-branch/gcc/testsuite/g++.dg/other/fsyntax-only1.C
Modified:
branches/gcc-7-branch/gcc/cp/ChangeLog
branches/gcc-7-branch/gcc/cp/decl2.c