gcc/gcc/cp
Nathan Sidwell dc7650cc6d re PR c++/78765 (ICE on invalid C++ code on x86_64-linux-gnu (internal compiler error: in cp_build_addr_expr_1, at cp/typeck.c:5708))
cp/
	PR c++/78765
	* pt.c (convert_nontype_argument): Don't try and see if integral
	or enum expressions are constants prematurely.

	testsuite/
	PR c++/78765
	* g++.dg/cpp0x/pr78765.C: New.

From-SVN: r244101
2017-01-05 12:30:26 +00:00
..
ChangeLog re PR c++/78765 (ICE on invalid C++ code on x86_64-linux-gnu (internal compiler error: in cp_build_addr_expr_1, at cp/typeck.c:5708)) 2017-01-05 12:30:26 +00:00
ChangeLog-1993
ChangeLog-1994
ChangeLog-1995
ChangeLog-1996
ChangeLog-1997
ChangeLog-1998
ChangeLog-1999
ChangeLog-2000
ChangeLog-2001
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012
ChangeLog-2013
ChangeLog-2014
ChangeLog-2015
ChangeLog-2016 Update copyright years. 2017-01-01 13:07:43 +01:00
ChangeLog.ptr
ChangeLog.tree-ssa
Make-lang.in Update copyright years. 2017-01-01 13:07:43 +01:00
NEWS Update copyright years. 2017-01-01 13:07:43 +01:00
call.c Update copyright years. 2017-01-01 13:07:43 +01:00
cfns.gperf Update copyright years. 2017-01-01 13:07:43 +01:00
cfns.h Update copyright years. 2017-01-01 13:07:43 +01:00
class.c Update copyright years. 2017-01-01 13:07:43 +01:00
config-lang.in Update copyright years. 2017-01-01 13:07:43 +01:00
constexpr.c re PR c++/77545 (ICE on valid C++11 code: in potential_constant_expression_1, at cp/constexpr.c:5480) 2017-01-04 17:47:04 +00:00
constraint.cc Update copyright years. 2017-01-01 13:07:43 +01:00
cp-array-notation.c Update copyright years. 2017-01-01 13:07:43 +01:00
cp-cilkplus.c Update copyright years. 2017-01-01 13:07:43 +01:00
cp-cilkplus.h Update copyright years. 2017-01-01 13:07:43 +01:00
cp-gimplify.c Update copyright years. 2017-01-01 13:07:43 +01:00
cp-lang.c Update copyright years. 2017-01-01 13:07:43 +01:00
cp-objcp-common.c Update copyright years. 2017-01-01 13:07:43 +01:00
cp-objcp-common.h Update copyright years. 2017-01-01 13:07:43 +01:00
cp-tree.def Update copyright years. 2017-01-01 13:07:43 +01:00
cp-tree.h re PR c++/66735 ([C++14] lambda init-capture fails for const references) 2017-01-04 15:23:40 +00:00
cp-ubsan.c Update copyright years. 2017-01-01 13:07:43 +01:00
cvt.c Update copyright years. 2017-01-01 13:07:43 +01:00
cxx-pretty-print.c Update copyright years. 2017-01-01 13:07:43 +01:00
cxx-pretty-print.h Update copyright years. 2017-01-01 13:07:43 +01:00
decl.c Update copyright years. 2017-01-01 13:07:43 +01:00
decl.h Update copyright years. 2017-01-01 13:07:43 +01:00
decl2.c Update copyright years. 2017-01-01 13:07:43 +01:00
dump.c Update copyright years. 2017-01-01 13:07:43 +01:00
error.c Update copyright years. 2017-01-01 13:07:43 +01:00
except.c Update copyright years. 2017-01-01 13:07:43 +01:00
expr.c Update copyright years. 2017-01-01 13:07:43 +01:00
friend.c Update copyright years. 2017-01-01 13:07:43 +01:00
g++spec.c Update copyright years. 2017-01-01 13:07:43 +01:00
init.c Update copyright years. 2017-01-01 13:07:43 +01:00
lambda.c re PR c++/66735 ([C++14] lambda init-capture fails for const references) 2017-01-04 15:23:40 +00:00
lang-specs.h Update copyright years. 2017-01-01 13:07:43 +01:00
lex.c Update copyright years. 2017-01-01 13:07:43 +01:00
logic.cc Update copyright years. 2017-01-01 13:07:43 +01:00
mangle.c Update copyright years. 2017-01-01 13:07:43 +01:00
method.c Update copyright years. 2017-01-01 13:07:43 +01:00
name-lookup.c Update copyright years. 2017-01-01 13:07:43 +01:00
name-lookup.h Update copyright years. 2017-01-01 13:07:43 +01:00
operators.def Update copyright years. 2017-01-01 13:07:43 +01:00
optimize.c Update copyright years. 2017-01-01 13:07:43 +01:00
parser.c re PR c++/78693 (Bogus 'inconsistent deduction for ‘auto’' error when having a dependent initializer and a nondependent one in the same declaration) 2017-01-04 22:30:35 +01:00
parser.h Update copyright years. 2017-01-01 13:07:43 +01:00
pt.c re PR c++/78765 (ICE on invalid C++ code on x86_64-linux-gnu (internal compiler error: in cp_build_addr_expr_1, at cp/typeck.c:5708)) 2017-01-05 12:30:26 +00:00
ptree.c Update copyright years. 2017-01-01 13:07:43 +01:00
repo.c Update copyright years. 2017-01-01 13:07:43 +01:00
rtti.c Update copyright years. 2017-01-01 13:07:43 +01:00
search.c Update copyright years. 2017-01-01 13:07:43 +01:00
semantics.c Update copyright years. 2017-01-01 13:07:43 +01:00
tree.c Update copyright years. 2017-01-01 13:07:43 +01:00
type-utils.h Update copyright years. 2017-01-01 13:07:43 +01:00
typeck.c re PR c++/64767 (Could GCC warn when a pointer is compared against '\0'?) 2017-01-04 21:47:04 +00:00
typeck2.c Update copyright years. 2017-01-01 13:07:43 +01:00
vtable-class-hierarchy.c Update copyright years. 2017-01-01 13:07:43 +01:00