gcc/gcc/cp
Jason Merrill 3eb1e9c89d PR c++/82406 - C++17 error with noexcept function type
PR c++/70029 - ICE with ref-qualifier and -flto
gcc/
	* langhooks.h (struct lang_hooks_for_types): Add
	copy_lang_qualifiers.
	* langhooks-def.h (LANG_HOOKS_COPY_LANG_QUALIFIERS): Default to
	NULL.
	(LANG_HOOKS_FOR_TYPES_INITIALIZER): Use it.
	* tree.c (verify_type): Re-enable TYPE_CANONICAL main variant check.
	(build_type_attribute_qual_variant): Use copy_lang_qualifiers.
gcc/cp/
	* tree.c (cxx_copy_lang_qualifiers): New.
	* cp-tree.h: Declare it.
	* cp-objcp-common.h: Define LANG_HOOKS_COPY_LANG_QUALIFIERS.

From-SVN: r253424
2017-10-04 13:47:08 -04:00
..
ChangeLog PR c++/82406 - C++17 error with noexcept function type 2017-10-04 13:47:08 -04: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 PR c++/80767 - unnecessary instantiation of generic lambda 2017-09-18 14:37:10 -04: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 PR c++/80605 - __is_standard_layout and empty base 2017-05-31 13:53:06 -04:00
config-lang.in Update copyright years. 2017-01-01 13:07:43 +01:00
constexpr.c PR c++/80829 - ICE with constexpr copy of base subobject. 2017-06-19 16:56:02 -04:00
constraint.cc Update copyright years. 2017-01-01 13:07:43 +01:00
cp-array-notation.c re PR c++/70565 (ICE at gimplify.c:8832 (cilkplus array extension)) 2017-01-17 16:54:55 +00:00
cp-cilkplus.c re PR translation/79019 (translatable string typo in cif-code.def:141) 2017-01-09 22:48:33 +01:00
cp-cilkplus.h Update copyright years. 2017-01-01 13:07:43 +01:00
cp-gimplify.c backport: re PR c++/81314 (Undefined reference to a function with -fopenmp) 2017-09-15 13:27:07 +02:00
cp-lang.c Update copyright years. 2017-01-01 13:07:43 +01:00
cp-objcp-common.c re PR bootstrap/81926 (go/parse.o differs between stage2 and stage3) 2017-09-22 20:20:40 +00:00
cp-objcp-common.h PR c++/82406 - C++17 error with noexcept function type 2017-10-04 13:47:08 -04:00
cp-tree.def re PR c++/68727 (invalid offsetof expressions accepted) 2017-01-26 20:39:40 +01:00
cp-tree.h PR c++/82406 - C++17 error with noexcept function type 2017-10-04 13:47:08 -04:00
cp-ubsan.c Update copyright years. 2017-01-01 13:07:43 +01:00
cvt.c re PR c++/79184 (-Wint-in-bool-context triggered erroneously in template parameter) 2017-02-10 16:33:45 +00:00
cxx-pretty-print.c re PR c++/80296 (Broken diagnostic 'unary_plus_expr' not supported by expression) 2017-04-04 16:30:44 +00:00
cxx-pretty-print.h Update copyright years. 2017-01-01 13:07:43 +01:00
decl.c PR c++/80935 - wrong C++17 error with lambda 2017-09-18 14:36:59 -04:00
decl.h [libcp1] handle anon aggregates linkage-named by typedefs 2017-04-15 03:28:31 +00:00
decl2.c PR c++/60063 - -Wunused-local-typedefs and templates. 2017-06-18 00:54:37 -04:00
dump.c Update copyright years. 2017-01-01 13:07:43 +01:00
error.c PR c++/80241 - ICE with alignas pack expansion. 2017-04-18 09:38:55 +00:00
except.c PR c++/80059 - ICE with noexcept and __transaction_atomic 2017-03-20 15:02:09 +00:00
expr.c Update copyright years. 2017-01-01 13:07:43 +01:00
friend.c Introduce C++ support in libcc1 2017-01-31 01:02:03 +00:00
g++spec.c Update copyright years. 2017-01-01 13:07:43 +01:00
init.c PR c++/80473 allow suppressing notes about over-aligned new 2017-04-20 19:36:27 +01:00
lambda.c re PR c++/71570 (ICE on invalid variable capture in cxx_incomplete_type_diagnostic, at cp/typeck2.c:55) 2017-07-27 09:36:37 +00:00
lang-specs.h Update copyright years. 2017-01-01 13:07:43 +01:00
lex.c Introduce C++ support in libcc1 2017-01-31 01:02:03 +00:00
logic.cc Update copyright years. 2017-01-01 13:07:43 +01:00
mangle.c PR c++/80614 - Wrong mangling for C++17 noexcept type 2017-06-16 22:33:28 -04:00
method.c PR c++/67054 - Inherited ctor with non-default-constructible members 2017-08-09 16:17:47 -04:00
name-lookup.c PR c++/81164 - ICE with invalid inherited constructor. 2017-06-29 12:46:29 -04: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 re PR c++/79899 (ICE in ctor_omit_inherited_parms at gcc/cp/method.c:576 on ARM target) 2017-03-10 16:33:04 +01:00
parser.c PR c++/81236 - ICE with template-id in generic lambda 2017-09-18 14:37:16 -04:00
parser.h PR c++/78948 - instantiation from discarded statement 2017-01-08 01:36:10 -05:00
pt.c PR c++/81525 - broken handling of auto in generic lambda. 2017-10-04 11:38:24 -04: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 PR c++/81164 - ICE with invalid inherited constructor. 2017-06-29 12:46:29 -04:00
semantics.c PR c++/81236 - ICE with template-id in generic lambda 2017-09-18 14:37:16 -04:00
tree.c PR c++/82406 - C++17 error with noexcept function type 2017-10-04 13:47:08 -04:00
type-utils.h Update copyright years. 2017-01-01 13:07:43 +01:00
typeck.c re PR c++/82040 (ICE with -Wbool-operation and ~) 2017-09-01 09:24:54 +00:00
typeck2.c re PR c++/80095 (ICE with this pointer in NSDMI) 2017-04-07 18:09:55 +00:00
vtable-class-hierarchy.c Update copyright years. 2017-01-01 13:07:43 +01:00