Go to file
Jason Merrill 2fb595f834 c++: Template template parameter in constraint [PR95371]
any_template_parm_r was assuming that the DECL_TEMPLATE_RESULT of a template
will have a suitable TEMPLATE_INFO from which we can look at the generic
arguments for that template.  But that wasn't true for a template template
parameter; this patch makes it so.

gcc/cp/ChangeLog:

	PR c++/95371
	* pt.c (process_template_parm): Set DECL_TEMPLATE_INFO
	on the DECL_TEMPLATE_RESULT.

gcc/testsuite/ChangeLog:

	PR c++/95371
	* g++.dg/cpp2a/concepts-ttp1.C: New test.
2020-05-29 18:16:54 -04:00
config Avoid nested save_CFLAGS and save_LDFLAGS 2020-05-29 12:56:40 -07:00
contrib contrib: Remove rs6000-ibm-aix5.3.0 from config-list.mk 2020-05-29 17:38:10 +02:00
fixincludes
gcc c++: Template template parameter in constraint [PR95371] 2020-05-29 18:16:54 -04:00
gnattools
gotools
include
INSTALL
intl
libada
libatomic Avoid nested save_CFLAGS and save_LDFLAGS 2020-05-29 12:56:40 -07:00
libbacktrace Avoid nested save_CFLAGS and save_LDFLAGS 2020-05-29 12:56:40 -07:00
libcc1 Avoid nested save_CFLAGS and save_LDFLAGS 2020-05-29 12:56:40 -07:00
libcpp Avoid nested save_CFLAGS and save_LDFLAGS 2020-05-29 12:56:40 -07:00
libdecnumber Avoid nested save_CFLAGS and save_LDFLAGS 2020-05-29 12:56:40 -07:00
libffi
libgcc Avoid nested save_CFLAGS and save_LDFLAGS 2020-05-29 12:56:40 -07:00
libgfortran Avoid nested save_CFLAGS and save_LDFLAGS 2020-05-29 12:56:40 -07:00
libgo libgo: update x/sys/cpu after gccgo support added 2020-05-25 13:43:44 -07:00
libgomp Avoid nested save_CFLAGS and save_LDFLAGS 2020-05-29 12:56:40 -07:00
libhsail-rt
libiberty Avoid nested save_CFLAGS and save_LDFLAGS 2020-05-29 12:56:40 -07:00
libitm Avoid nested save_CFLAGS and save_LDFLAGS 2020-05-29 12:56:40 -07:00
libobjc Avoid nested save_CFLAGS and save_LDFLAGS 2020-05-29 12:56:40 -07:00
liboffloadmic
libphobos Avoid nested save_CFLAGS and save_LDFLAGS 2020-05-29 12:56:40 -07:00
libquadmath Avoid nested save_CFLAGS and save_LDFLAGS 2020-05-29 12:56:40 -07:00
libsanitizer Avoid nested save_CFLAGS and save_LDFLAGS 2020-05-29 12:56:40 -07:00
libssp Avoid nested save_CFLAGS and save_LDFLAGS 2020-05-29 12:56:40 -07:00
libstdc++-v3 Avoid nested save_CFLAGS and save_LDFLAGS 2020-05-29 12:56:40 -07:00
libvtv Avoid nested save_CFLAGS and save_LDFLAGS 2020-05-29 12:56:40 -07:00
lto-plugin Avoid nested save_CFLAGS and save_LDFLAGS 2020-05-29 12:56:40 -07:00
maintainer-scripts bugzilla-close-candidate.py: Fix sorting of branches. 2020-05-29 16:37:48 +02:00
zlib Avoid nested save_CFLAGS and save_LDFLAGS 2020-05-29 12:56:40 -07:00
.dir-locals.el
.gitattributes
.gitignore
ABOUT-NLS
ar-lib
ChangeLog Daily bump. 2020-05-29 00:16:23 +00:00
ChangeLog.jit
ChangeLog.tree-ssa
compile
config-ml.in
config.guess
config.rpath
config.sub
configure jit: port libgccjit to Windows 2020-05-28 14:43:58 -04:00
configure.ac jit: port libgccjit to Windows 2020-05-28 14:43:58 -04:00
COPYING
COPYING3
COPYING3.LIB
COPYING.LIB
COPYING.RUNTIME
depcomp
install-sh
libtool-ldflags
libtool.m4
lt~obsolete.m4
ltgcc.m4
ltmain.sh
ltoptions.m4
ltsugar.m4
ltversion.m4
MAINTAINERS
Makefile.def
Makefile.in
Makefile.tpl
missing
mkdep
mkinstalldirs
move-if-change
multilib.am
README
symlink-tree
test-driver
ylwrap

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the files whose
names start with COPYING for copying permission.  The manuals, and
some of the runtime libraries, are under different terms; see the
individual source files for details.

The directory INSTALL contains copies of the installation information
as HTML and plain text.  The source of this information is
gcc/doc/install.texi.  The installation information includes details
of what is included in the GCC sources and what files GCC installs.

See the file gcc/doc/gcc.texi (together with other files that it
includes) for usage and porting information.  An online readable
version of the manual is in the files gcc/doc/gcc.info*.

See http://gcc.gnu.org/bugs/ for how to report bugs usefully.

Copyright years on GCC source files may be listed using range
notation, e.g., 1987-2012, indicating that every year in the range,
inclusive, is a copyrightable year that could otherwise be listed
individually.