gcc/libstdc++-v3/testsuite/23_containers/deque/requirements
Jason Merrill 5a58e967b5 PR c++/90047 - ICE with enable_if alias template.
In order to make alias templates useful for SFINAE we instantiate them under
the prevailing 'complain' argument, so an error encountered while
instantiating during SFINAE context is silent.  The problem in this PR comes
when we later look up the erroneous instantiation and don't give an error at
that point.  Fixed by not adding an erroneous instantiation to the hash
table, so we instantiate it again when needed and get the error.  This
required changes to a number of tests, which previously said "substitution
failed:" with no explanation of what the failure was; now we properly
explain.

	* pt.c (tsubst_decl) [TYPE_DECL]: Don't put an erroneous decl in the
	hash table when we're in SFINAE context.

From-SVN: r270433
2019-04-17 23:32:24 -04:00
..
dr438 PR c++/90047 - ICE with enable_if alias template. 2019-04-17 23:32:24 -04:00
exception Update copyright years. 2019-01-01 13:31:55 +01:00
explicit_instantiation Update copyright years. 2019-01-01 13:31:55 +01:00
partial_specialization Update copyright years. 2019-01-01 13:31:55 +01:00
citerators.cc Update copyright years. 2019-01-01 13:31:55 +01:00
do_the_right_thing.cc Update copyright years. 2019-01-01 13:31:55 +01:00
typedefs.cc Update copyright years. 2019-01-01 13:31:55 +01:00