[Bug c++/28284] [4.2 regression] ICE with invalid static const variable
jason at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Sep 7 17:25:00 GMT 2006
------- Comment #4 from jason at gcc dot gnu dot org 2006-09-07 17:25 -------
Subject: Bug 28284
Author: jason
Date: Thu Sep 7 17:25:05 2006
New Revision: 116755
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116755
Log:
PR c++/28284
* pt.c (fold_non_dependent_expr): Make sure expr is not dereferenced if
it
is NULL.
Added:
trunk/gcc/testsuite/g++.dg/template/pr28284.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28284
More information about the Gcc-bugs
mailing list