[Bug c++/79435] [7 Regression] ICE on invalid C++ code (with member access into an incomplete type) on x86_64-linux-gnu: Segmentation fault
mpolacek at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Feb 10 16:33:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79435
--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Fri Feb 10 16:32:19 2017
New Revision: 245334
URL: https://gcc.gnu.org/viewcvs?rev=245334&root=gcc&view=rev
Log:
PR c++/79435
* pt.c (type_dependent_expression_p): Check if the expression type
is null.
* g++.dg/cpp1y/pr79435.C: New.
Added:
trunk/gcc/testsuite/g++.dg/cpp1y/pr79435.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list