gcc/gcc
Jakub Jelinek 7b9361409d invoke.texi: Document -std=c++17 and -std=gnu++17 and document c++1z and gnu++1z as deprecated.
* doc/invoke.texi: Document -std=c++17 and -std=gnu++17 and document
	c++1z and gnu++1z as deprecated.  Change other references to
	-std=c++1z to -std=c++17 and -std=gnu++1z to -std=gnu++17.
	Change -Wc++1z-compat to -Wc++17-compat.
	* doc/cpp.texi: Document -std=c++17 defines __cplusplus 201703L.
	* dwarf2out.c (highest_c_language): Handle C++17.
	(gen_compile_unit_die): Likewise.
c-family/
	* c.opt (Wc++1z-compat): Change from option to undocumented alias.
	(Wc++17-compat): Change from undocumented alias to option.
	(Wnoexcept-type): Enable by Wc++17-compat instead of Wc++1z-compat,
	change C++1z to C++17 in description.
	(std=c++1z, std=gnu++1z): Change from option to undocumented
	deprecated alias.
	(std=c++17, std=gnu++17): Change from undocumented alias to option.
	Adjust description.
	* c-common.h (enum cxx_dialect): Rename cxx1z to cxx17.
	* c-opts.c (set_std_cxx1z): Rename to ...
	(set_std_cxx17): ... this.
	(c_common_handle_option): Rename OPT_std_c__1z to OPT_std_c__17
	and OPT_std_gnu__1z to OPT_std_gnu__17.  Adjust set_std_cxx1z
	caller.  
	(c_common_post_options): Use cxx17 instead of cxx1z.  Adjust
	comments.
cp/
	* decl.c (redeclaration_error_message): Use cxx17 instead of cxx1z,
	adjust diagnostics refering to C++1z or -std=gnu++1z or -std=c++1z
	to C++17 or -std=gnu++17 or -std=c++17.  Adjust comments.
	(cxx_init_decl_processing, next_initializable_field,
	is_direct_enum_init, check_initializer, cp_finish_decl,
	mark_inline_variable, grokdeclarator, grokparms, xref_basetypes,
	finish_function): Likewise.
	* cp-tree.h (DECL_INLINE_VAR_P): Likewise.
	* pt.c (mark_template_parm, convert_nontype_argument,
	instantiate_class_template_1, type_unification_real, unify,
	get_partial_spec_bindings, dependent_type_p_r): Likewise.
	* typeck.c (cp_build_unary_op): Likewise.
	* constexpr.c (var_in_maybe_constexpr_fn): Likewise.
	* call.c (build_user_type_conversion_1, build_over_call,
	build_special_member_call): Likewise.
	* lambda.c (begin_lambda_type): Likewise.
	* typeck2.c (process_init_constructor_record): Likewise.
	* class.c (build_base_field, finalize_literal_type_property,
	explain_non_literal_class): Likewise.
	* parser.c (cp_parser_diagnose_invalid_type_name,
	cp_parser_primary_expression, cp_parser_lambda_introducer,
	cp_parser_lambda_declarator_opt, cp_parser_selection_statement,
	cp_convert_range_for, cp_parser_perform_range_for_lookup,
	cp_parser_decomposition_declaration, cp_parser_linkage_specification,
	cp_parser_static_assert, cp_parser_simple_type_specifier,
	cp_parser_namespace_definition, cp_parser_using_declaration,
	cp_parser_init_declarator, cp_parser_type_parameter_key,
	cp_parser_exception_specification_opt, cp_parser_std_attribute_spec,
	cp_parser_constructor_declarator_p): Likewise.
	* mangle.c (struct globals): Rename need_cxx1z_warning to
	need_cxx17_warning.
	(write_exception_spec, start_mangling, mangle_decl): Likewise.
	* Make-lang.in (check-c++1z): Rename to check-c++17, depend on
	it.
	(check-c++17): New goal.  Use 17 instead of 1z.
	(check-c++-all): Use 17 instead of 1z.
testsuite/
	* lib/g++-dg.exp (g++-dg-runtest): Use 17 instead of 1z.
	* lib/target-supports.exp (check_effective_target_c++14): Use
	check_effective_target_c++17 instead of check_effective_target_c++1z.
	(check_effective_target_c++14_down): Likewise.
	(check_effective_target_c++1z_only): Rename to ...
	(check_effective_target_c++17_only): ... this.
	(check_effective_target_c++1z): Rename to ...
	(check_effective_target_c++17): ... this.
	* g++.dg/debug/dwarf2/inline-var-1.C: Use -std=c++17 or -std=gnu++17
	instead of -std=c++1z or -std=gnu++1z.  Use c++17 instead of c++1z
	and c++17_only instead of c++1z_only.  Adjust expected diagnostics
	and comments refering to 1z to 17.
	* g++.dg/debug/dwarf2/inline-var-2.C: Likewise.
	* g++.dg/template/partial5.C: Likewise.
	* g++.dg/template/nontype8.C: Likewise.
	* g++.dg/cpp1z/noexcept-type5.C: Likewise.
	* g++.dg/cpp1z/nontype3a.C: Likewise.
	* g++.dg/cpp1z/constexpr-lambda4.C: Likewise.
	* g++.dg/cpp1z/noexcept-type16.C: Likewise.
	* g++.dg/cpp1z/class-deduction32.C: Likewise.
	* g++.dg/cpp1z/pr78771.C: Likewise.
	* g++.dg/cpp1z/elide1.C: Likewise.
	* g++.dg/cpp1z/fold3.C: Likewise.
	* g++.dg/cpp1z/class-deduction2.C: Likewise.
	* g++.dg/cpp1z/noexcept-type12.C: Likewise.
	* g++.dg/cpp1z/inline-var2.C: Likewise.
	* g++.dg/cpp1z/eval-order2.C: Likewise.
	* g++.dg/cpp1z/decomp21.C: Likewise.
	* g++.dg/cpp1z/constexpr-lambda11.C: Likewise.
	* g++.dg/cpp1z/constexpr-lambda9.C: Likewise.
	* g++.dg/cpp1z/utf8-neg.C: Likewise.
	* g++.dg/cpp1z/class-deduction41.C: Likewise.
	* g++.dg/cpp1z/class-deduction23.C: Likewise.
	* g++.dg/cpp1z/nodiscard3.C: Likewise.
	* g++.dg/cpp1z/static_assert-nomsg.C: Likewise.
	* g++.dg/cpp1z/noexcept-type9.C: Likewise.
	* g++.dg/cpp1z/class-deduction21.C: Likewise.
	* g++.dg/cpp1z/range-for1.C: Likewise.
	* g++.dg/cpp1z/init-statement4.C: Likewise.
	* g++.dg/cpp1z/udlit-utf8char.C: Likewise.
	* g++.dg/cpp1z/decomp30.C: Likewise.
	* g++.dg/cpp1z/class-deduction39.C: Likewise.
	* g++.dg/cpp1z/register2.C: Likewise.
	* g++.dg/cpp1z/decomp9.C: Likewise.
	* g++.dg/cpp1z/regress1.C: Likewise.
	* g++.dg/cpp1z/direct-enum-init1.C: Likewise.
	* g++.dg/cpp1z/class-deduction30.C: Likewise.
	* g++.dg/cpp1z/abbrev2.C: Likewise.
	* g++.dg/cpp1z/nontype-auto6.C: Likewise.
	* g++.dg/cpp1z/regress2.C: Likewise.
	* g++.dg/cpp1z/decomp16.C: Likewise.
	* g++.dg/cpp1z/bool-increment1.C: Likewise.
	* g++.dg/cpp1z/aligned-new1.C: Likewise.
	* g++.dg/cpp1z/decomp3.C: Likewise.
	* g++.dg/cpp1z/register1.C: Likewise.
	* g++.dg/cpp1z/namespace-attribs.C: Likewise.
	* g++.dg/cpp1z/class-deduction1.C: Likewise.
	* g++.dg/cpp1z/decomp10.C: Likewise.
	* g++.dg/cpp1z/constexpr-if11.C: Likewise.
	* g++.dg/cpp1z/constexpr-lambda10.C: Likewise.
	* g++.dg/cpp1z/decomp27.C: Likewise.
	* g++.dg/cpp1z/noexcept-type2.C: Likewise.
	* g++.dg/cpp1z/constexpr-lambda6.C: Likewise.
	* g++.dg/cpp1z/class-deduction9.C: Likewise.
	* g++.dg/cpp1z/attributes-enum-1.C: Likewise.
	* g++.dg/cpp1z/decomp11.C: Likewise.
	* g++.dg/cpp1z/aligned-new3.C: Likewise.
	* g++.dg/cpp1z/utf8-2.C: Likewise.
	* g++.dg/cpp1z/lambda-this3.C: Likewise.
	* g++.dg/cpp1z/decomp-constexpr1.C: Likewise.
	* g++.dg/cpp1z/byte1.C: Likewise.
	* g++.dg/cpp1z/nontype-auto9.C: Likewise.
	* g++.dg/cpp1z/aggr-base4.C: Likewise.
	* g++.dg/cpp1z/constexpr-lambda1.C: Likewise.
	* g++.dg/cpp1z/nontype-auto3.C: Likewise.
	* g++.dg/cpp1z/utf8-2a.C: Likewise.
	* g++.dg/cpp1z/constexpr-lambda7.C: Likewise.
	* g++.dg/cpp1z/aggr-base6.C: Likewise.
	* g++.dg/cpp1z/cplusplus.C: Likewise.
	* g++.dg/cpp1z/class-deduction20.C: Likewise.
	* g++.dg/cpp1z/aggr-base2.C: Likewise.
	* g++.dg/cpp1z/class-deduction6.C: Likewise.
	* g++.dg/cpp1z/noexcept-type3.C: Likewise.
	* g++.dg/cpp1z/class-deduction31.C: Likewise.
	* g++.dg/cpp1z/class-deduction25.C: Likewise.
	* g++.dg/cpp1z/class-deduction18.C: Likewise.
	* g++.dg/cpp1z/fold9.C: Likewise.
	* g++.dg/cpp1z/noexcept-type8.C: Likewise.
	* g++.dg/cpp1z/abbrev1.C: Likewise.
	* g++.dg/cpp1z/constexpr-if10.C: Likewise.
	* g++.dg/cpp1z/utf8.C: Likewise.
	* g++.dg/cpp1z/noexcept-type7.C: Likewise.
	* g++.dg/cpp1z/aggr-base3.C: Likewise.
	* g++.dg/cpp1z/constexpr-lambda8.C: Likewise.
	* g++.dg/cpp1z/init-statement2.C: Likewise.
	* g++.dg/cpp1z/nontype-auto4.C: Likewise.
	* g++.dg/cpp1z/constexpr-if12.C: Likewise.
	* g++.dg/cpp1z/class-deduction40.C: Likewise.
	* g++.dg/cpp1z/nontype3.C: Likewise.
	* g++.dg/cpp1z/class-deduction14.C: Likewise.
	* g++.dg/cpp1z/fold7.C: Likewise.
	* g++.dg/cpp1z/nontype2.C: Likewise.
	* g++.dg/cpp1z/class-deduction15.C: Likewise.
	* g++.dg/cpp1z/nested-namespace-def1.C: Likewise.
	* g++.dg/cpp1z/class-deduction13.C: Likewise.
	* g++.dg/cpp1z/aligned-new7.C: Likewise.
	* g++.dg/cpp1z/noexcept-type1.C: Likewise.
	* g++.dg/cpp1z/nontype1.C: Likewise.
	* g++.dg/cpp1z/init-statement5.C: Likewise.
	* g++.dg/cpp1z/nontype-auto2.C: Likewise.
	* g++.dg/cpp1z/decomp17.C: Likewise.
	* g++.dg/cpp1z/fold4.C: Likewise.
	* g++.dg/cpp1z/constexpr-lambda2.C: Likewise.
	* g++.dg/cpp1z/fold7a.C: Likewise.
	* g++.dg/cpp1z/nontype-auto5.C: Likewise.
	* g++.dg/cpp1z/init-statement7.C: Likewise.
	* g++.dg/cpp1z/aggr-base5.C: Likewise.
	* g++.dg/cpp1z/constexpr-lambda5.C: Likewise.
	* g++.dg/cpp1z/pr79143.C: Likewise.
	* g++.dg/cpp1z/class-deduction38.C: Likewise.
	* g++.dg/cpp1z/nontype-auto8.C: Likewise.
	* g++.dg/cpp1z/class-deduction12.C: Likewise.
	* g++.dg/cpp1z/decomp20.C: Likewise.
	* g++.dg/cpp1z/class-deduction22.C: Likewise.
	* g++.dg/cpp1z/class-deduction29.C: Likewise.
	* g++.dg/cpp1z/class-deduction8.C: Likewise.
	* g++.dg/cpp1z/class-deduction43.C: Likewise.
	* g++.dg/cpp1z/feat-cxx1z.C: Likewise.
	* g++.dg/cpp1z/fold8.C: Likewise.
	* g++.dg/cpp1z/init-statement3.C: Likewise.
	* g++.dg/cpp1z/nontype-auto10.C: Likewise.
	* g++.dg/cpp1z/class-deduction36.C: Likewise.
	* g++.dg/cpp1z/noexcept-type17.C: Likewise.
	* g++.dg/cpp1z/fallthrough1.C: Likewise.
	* g++.dg/cpp1z/fold1.C: Likewise.
	* g++.dg/cpp1z/class-deduction26.C: Likewise.
	* g++.dg/cpp1z/fold-ice1.C: Likewise.
	* g++.dg/cpp1z/fold5.C: Likewise.
	* g++.dg/cpp1z/class-deduction34.C: Likewise.
	* g++.dg/cpp1z/noexcept-type6.C: Likewise.
	* g++.dg/cpp1z/class-deduction7.C: Likewise.
	* g++.dg/cpp1z/class-deduction16.C: Likewise.
	* g++.dg/cpp1z/class-deduction10.C: Likewise.
	* g++.dg/cpp1z/eval-order3.C: Likewise.
	* g++.dg/cpp1z/constexpr-lambda13.C: Likewise.
	* g++.dg/cpp1z/aggr-base2a.C: Likewise.
	* g++.dg/cpp1z/nontype-auto1.C: Likewise.
	* g++.dg/cpp1z/constexpr-lambda3.C: Likewise.
	* g++.dg/cpp1z/nontype-auto7.C: Likewise.
	* g++.dg/cpp1z/decomp15.C: Likewise.
	* g++.dg/cpp1z/noexcept-type4.C: Likewise.
	* g++.dg/cpp1z/fold-mangle.C: Likewise.
	* g++.dg/cpp1z/class-deduction35.C: Likewise.
	* g++.dg/cpp1z/decomp4.C: Likewise.
	* g++.dg/cpp1z/class-deduction42.C: Likewise.
	* g++.dg/cpp1z/init-statement8.C: Likewise.
	* g++.dg/cpp1z/inline-var1a.C: Likewise.
	* g++.dg/cpp1z/init-statement6.C: Likewise.
	* g++.dg/cpp1z/class-deduction17.C: Likewise.
	* g++.dg/cpp1z/class-deduction28.C: Likewise.
	* g++.dg/cpp1z/class-deduction27.C: Likewise.
	* g++.dg/cpp1z/decomp-bitfield1.C: Likewise.
	* g++.dg/cpp1z/attributes-enum-1a.C: Likewise.
	* g++.dg/cpp1z/class-deduction11.C: Likewise.
	* g++.dg/cpp1z/constexpr-lambda12.C: Likewise.
	* g++.dg/cpp1z/init-statement9.C: Likewise.
	* g++.dg/cpp1z/class-deduction19.C: Likewise.
	* g++.dg/cpp1z/class-deduction5.C: Likewise.
	* g++.dg/cpp1z/fold2.C: Likewise.
	* g++.dg/cpp1z/class-deduction33.C: Likewise.
	* g++.dg/cpp1z/class-deduction24.C: Likewise.
	* g++.dg/cpp1z/aggr-base1.C: Likewise.
	* g++.dg/cpp1z/fold6.C: Likewise.
	* g++.dg/cpp1z/decomp12.C: Likewise.
	* g++.dg/cpp1z/class-deduction4.C: Likewise.
	* g++.dg/cpp1z/inline-var1.C: Likewise.
	* g++.dg/cpp1z/aligned-new2.C: Likewise.
	* g++.dg/cpp1z/class-deduction3.C: Likewise.
	* g++.dg/other/error3.C: Likewise.
	* g++.dg/init/new25.C: Likewise.
	* g++.dg/init/new13.C: Likewise.
	* g++.dg/tls/diag-2.C: Likewise.
	* g++.dg/tls/diag-4.C: Likewise.
	* g++.dg/opt/noreturn-1.C: Likewise.
	* g++.dg/eh/async-unwind2.C: Likewise.
	* g++.dg/eh/spec9.C: Likewise.
	* g++.dg/eh/spec7.C: Likewise.
	* g++.dg/eh/template1.C: Likewise.
	* g++.dg/eh/cond4.C: Likewise.
	* g++.dg/eh/pr41819.C: Likewise.
	* g++.dg/eh/delete1.C: Likewise.
	* g++.dg/eh/spec3.C: Likewise.
	* g++.dg/eh/forced4.C: Likewise.
	* g++.dg/eh/spec2.C: Likewise.
	* g++.dg/eh/shadow1.C: Likewise.
	* g++.dg/eh/pr38662.C: Likewise.
	* g++.dg/eh/ehopt1.C: Likewise.
	* g++.dg/eh/spec8.C: Likewise.
	* g++.dg/eh/init-temp2.C: Likewise.
	* g++.dg/rtti/crash3.C: Likewise.
	* g++.dg/warn/Wreturn-type-3.C: Likewise.
	* g++.dg/warn/register-parm-1.C: Likewise.
	* g++.dg/warn/register-var-2.C: Likewise.
	* g++.dg/gcov/gcov-7.C: Likewise.
	* g++.dg/tree-ssa/pr45605.C: Likewise.
	* g++.dg/cpp/pr23827_cxx98_neg.C: Likewise.
	* g++.dg/lookup/exception1.C: Likewise.
	* g++.dg/ubsan/pr79589.C: Likewise.
	* g++.dg/tm/pr47340.C: Likewise.
	* g++.dg/tm/pr46567.C: Likewise.
	* g++.dg/expr/bitfield5.C: Likewise.
	* g++.dg/expr/bool1.C: Likewise.
	* g++.dg/expr/lval3.C: Likewise.
	* g++.dg/expr/lval4.C: Likewise.
	* g++.dg/expr/bitfield4.C: Likewise.
	* g++.dg/expr/bitfield6.C: Likewise.
	* g++.dg/expr/bool3.C: Likewise.
	* g++.dg/ext/has_nothrow_constructor.C: Likewise.
	* g++.dg/ext/has_nothrow_copy-7.C: Likewise.
	* g++.dg/ext/has_nothrow_copy-1.C: Likewise.
	* g++.dg/ext/has_nothrow_copy-2.C: Likewise.
	* g++.dg/ext/has_nothrow_copy-4.C: Likewise.
	* g++.dg/ext/has_nothrow_copy-5.C: Likewise.
	* g++.dg/ext/has_nothrow_copy-6.C: Likewise.
	* g++.dg/ext/has_nothrow_assign.C: Likewise.
	* g++.dg/parse/register1.C: Likewise.
	* g++.dg/parse/error15.C: Likewise.
	* g++.dg/parse/linkage2.C: Likewise.
	* g++.dg/concepts/intro2.C: Likewise.
	* g++.dg/concepts/class.C: Likewise.
	* g++.dg/concepts/traits1.C: Likewise.
	* g++.dg/concepts/req5.C: Likewise.
	* g++.dg/concepts/var-concept5.C: Likewise.
	* g++.dg/concepts/fn-concept2.C: Likewise.
	* g++.dg/concepts/traits2.C: Likewise.
	* g++.dg/concepts/placeholder2.C: Likewise.
	* g++.dg/concepts/class6.C: Likewise.
	* g++.dg/concepts/memtmpl1.C: Likewise.
	* g++.dg/concepts/friend2.C: Likewise.
	* g++.dg/concepts/template-parm3.C: Likewise.
	* g++.dg/concepts/template-parm10.C: Likewise.
	* g++.dg/concepts/explicit-spec1.C: Likewise.
	* g++.dg/concepts/explicit-spec3.C: Likewise.
	* g++.dg/concepts/var-templ2.C: Likewise.
	* g++.dg/concepts/intro5.C: Likewise.
	* g++.dg/concepts/deduction-constraint1.C: Likewise.
	* g++.dg/concepts/iconv1.C: Likewise.
	* g++.dg/concepts/constrained-parm.C: Likewise.
	* g++.dg/concepts/template-template-parm1.C: Likewise.
	* g++.dg/concepts/var-concept3.C: Likewise.
	* g++.dg/concepts/class3.C: Likewise.
	* g++.dg/concepts/memfun2.C: Likewise.
	* g++.dg/concepts/req1.C: Likewise.
	* g++.dg/concepts/disjunction1.C: Likewise.
	* g++.dg/concepts/req17.C: Likewise.
	* g++.dg/concepts/pr65848.C: Likewise.
	* g++.dg/concepts/placeholder4.C: Likewise.
	* g++.dg/concepts/decl-diagnose.C: Likewise.
	* g++.dg/concepts/intro7.C: Likewise.
	* g++.dg/concepts/pr68683.C: Likewise.
	* g++.dg/concepts/partial-spec4.C: Likewise.
	* g++.dg/concepts/template-parm5.C: Likewise.
	* g++.dg/concepts/explicit-inst1.C: Likewise.
	* g++.dg/concepts/class-deduction1.C: Likewise.
	* g++.dg/concepts/class1.C: Likewise.
	* g++.dg/concepts/req15.C: Likewise.
	* g++.dg/concepts/memfun.C: Likewise.
	* g++.dg/concepts/pr68434.C: Likewise.
	* g++.dg/concepts/inherit-ctor4.C: Likewise.
	* g++.dg/concepts/partial-spec6.C: Likewise.
	* g++.dg/concepts/var-templ1.C: Likewise.
	* g++.dg/concepts/template-parm8.C: Likewise.
	* g++.dg/concepts/explicit-inst3.C: Likewise.
	* g++.dg/concepts/class4.C: Likewise.
	* g++.dg/concepts/req6.C: Likewise.
	* g++.dg/concepts/fn8.C: Likewise.
	* g++.dg/concepts/class5.C: Likewise.
	* g++.dg/concepts/placeholder5.C: Likewise.
	* g++.dg/concepts/req16.C: Likewise.
	* g++.dg/concepts/req10.C: Likewise.
	* g++.dg/concepts/var-concept2.C: Likewise.
	* g++.dg/concepts/auto3.C: Likewise.
	* g++.dg/concepts/generic-fn-err.C: Likewise.
	* g++.dg/concepts/pr65552.C: Likewise.
	* g++.dg/concepts/partial-concept-id2.C: Likewise.
	* g++.dg/concepts/fn1.C: Likewise.
	* g++.dg/concepts/partial-spec.C: Likewise.
	* g++.dg/concepts/template-parm12.C: Likewise.
	* g++.dg/concepts/diagnostic1.C: Likewise.
	* g++.dg/concepts/intro1.C: Likewise.
	* g++.dg/concepts/explicit-inst4.C: Likewise.
	* g++.dg/concepts/req18.C: Likewise.
	* g++.dg/concepts/explicit-spec5.C: Likewise.
	* g++.dg/concepts/var-concept6.C: Likewise.
	* g++.dg/concepts/fn9.C: Likewise.
	* g++.dg/concepts/req2.C: Likewise.
	* g++.dg/concepts/template-parm7.C: Likewise.
	* g++.dg/concepts/req14.C: Likewise.
	* g++.dg/concepts/template-parm6.C: Likewise.
	* g++.dg/concepts/variadic4.C: Likewise.
	* g++.dg/concepts/fn6.C: Likewise.
	* g++.dg/concepts/req-neg1.C: Likewise.
	* g++.dg/concepts/alias3.C: Likewise.
	* g++.dg/concepts/expression2.C: Likewise.
	* g++.dg/concepts/partial-spec3.C: Likewise.
	* g++.dg/concepts/expression3.C: Likewise.
	* g++.dg/concepts/memfun-err.C: Likewise.
	* g++.dg/concepts/pr66091.C: Likewise.
	* g++.dg/concepts/explicit-spec2.C: Likewise.
	* g++.dg/concepts/equiv.C: Likewise.
	* g++.dg/concepts/friend1.C: Likewise.
	* g++.dg/concepts/fn4.C: Likewise.
	* g++.dg/concepts/var-templ3.C: Likewise.
	* g++.dg/concepts/explicit-inst2.C: Likewise.
	* g++.dg/concepts/alias2.C: Likewise.
	* g++.dg/concepts/regress/alias-decl-42.C: Likewise.
	* g++.dg/concepts/placeholder6.C: Likewise.
	* g++.dg/concepts/fn10.C: Likewise.
	* g++.dg/concepts/req3.C: Likewise.
	* g++.dg/concepts/variadic2.C: Likewise.
	* g++.dg/concepts/pr65636.C: Likewise.
	* g++.dg/concepts/intro6.C: Likewise.
	* g++.dg/concepts/class2.C: Likewise.
	* g++.dg/concepts/fn2.C: Likewise.
	* g++.dg/concepts/req20.C: Likewise.
	* g++.dg/concepts/req8.C: Likewise.
	* g++.dg/concepts/placeholder1.C: Likewise.
	* g++.dg/concepts/pr65854.C: Likewise.
	* g++.dg/concepts/member-concept.C: Likewise.
	* g++.dg/concepts/template-parm2.C: Likewise.
	* g++.dg/concepts/variadic1.C: Likewise.
	* g++.dg/concepts/fn7.C: Likewise.
	* g++.dg/concepts/intro4.C: Likewise.
	* g++.dg/concepts/req13.C: Likewise.
	* g++.dg/concepts/inherit-ctor3.C: Likewise.
	* g++.dg/concepts/explicit-spec6.C: Likewise.
	* g++.dg/concepts/auto1.C: Likewise.
	* g++.dg/concepts/alias1.C: Likewise.
	* g++.dg/concepts/fn-concept1.C: Likewise.
	* g++.dg/concepts/template-parm11.C: Likewise.
	* g++.dg/concepts/explicit-spec4.C: Likewise.
	* g++.dg/concepts/partial-concept-id1.C: Likewise.
	* g++.dg/concepts/req9.C: Likewise.
	* g++.dg/concepts/req4.C: Likewise.
	* g++.dg/concepts/pr65681.C: Likewise.
	* g++.dg/concepts/req7.C: Likewise.
	* g++.dg/concepts/req12.C: Likewise.
	* g++.dg/concepts/fn5.C: Likewise.
	* g++.dg/concepts/alias4.C: Likewise.
	* g++.dg/concepts/generic-fn.C: Likewise.
	* g++.dg/concepts/feature-macro.C: Likewise.
	* g++.dg/concepts/req19.C: Likewise.
	* g++.dg/concepts/placeholder3.C: Likewise.
	* g++.dg/concepts/intro3.C: Likewise.
	* g++.dg/concepts/partial-spec5.C: Likewise.
	* g++.dg/concepts/template-parm4.C: Likewise.
	* g++.dg/concepts/dr1430.C: Likewise.
	* g++.dg/concepts/pr65634.C: Likewise.
	* g++.dg/concepts/var-concept4.C: Likewise.
	* g++.dg/concepts/pr67249.C: Likewise.
	* g++.dg/concepts/expression.C: Likewise.
	* g++.dg/concepts/pr65575.C: Likewise.
	* g++.dg/concepts/partial-spec2.C: Likewise.
	* g++.dg/concepts/template-parm9.C: Likewise.
	* g++.dg/concepts/inherit-ctor1.C: Likewise.
	* g++.dg/concepts/equiv2.C: Likewise.
	* g++.dg/concepts/req11.C: Likewise.
	* g++.dg/concepts/template-parm1.C: Likewise.
	* g++.dg/concepts/inherit-ctor2.C: Likewise.
	* g++.dg/concepts/var-concept1.C: Likewise.
	* g++.dg/concepts/fn3.C: Likewise.
	* g++.dg/torture/pr46364.C: Likewise.
	* g++.dg/torture/stackalign/eh-alloca-1.C: Likewise.
	* g++.dg/torture/stackalign/eh-fastcall-1.C: Likewise.
	* g++.dg/torture/stackalign/eh-vararg-1.C: Likewise.
	* g++.dg/torture/stackalign/eh-vararg-2.C: Likewise.
	* g++.dg/torture/stackalign/eh-global-1.C: Likewise.
	* g++.dg/torture/stackalign/eh-thiscall-1.C: Likewise.
	* g++.dg/torture/stackalign/eh-inline-2.C: Likewise.
	* g++.dg/torture/stackalign/eh-inline-1.C: Likewise.
	* g++.dg/torture/pr52918-1.C: Likewise.
	* g++.dg/torture/pr49394.C: Likewise.
	* g++.dg/torture/pr57190.C: Likewise.
	* g++.dg/cpp0x/static_assert8.C: Likewise.
	* g++.dg/cpp0x/noexcept19.C: Likewise.
	* g++.dg/cpp0x/variadic-throw.C: Likewise.
	* g++.dg/cpp0x/variadic73.C: Likewise.
	* g++.dg/cpp0x/noexcept02.C: Likewise.
	* g++.dg/cpp0x/defaulted23.C: Likewise.
	* g++.dg/cpp0x/noexcept08.C: Likewise.
	* g++.dg/cpp0x/auto9.C: Likewise.
	* g++.dg/cpp0x/lambda/lambda-eh2.C: Likewise.
	* g++.dg/cpp0x/error5.C: Likewise.
	* c-c++-common/gomp/atomic-12.c: Likewise.
	* c-c++-common/gomp/atomic-13.c: Likewise.
	* c-c++-common/gomp/atomic-14.c: Likewise.
	* c-c++-common/Wvarargs-2.c: Likewise.
	* c-c++-common/Wvarargs.c: Likewise.
	* c-c++-common/vector-subscript-2.c: Likewise.
	* g++.old-deja/g++.robertl/eb123.C: Likewise.
	* g++.old-deja/g++.eh/tmpl3.C: Likewise.
	* g++.old-deja/g++.eh/cleanup2.C: Likewise.
	* g++.old-deja/g++.eh/badalloc1.C: Likewise.
	* g++.old-deja/g++.eh/throw2.C: Likewise.
	* g++.old-deja/g++.eh/throw1.C: Likewise.
	* g++.old-deja/g++.eh/tmpl1.C: Likewise.
	* g++.old-deja/g++.other/new7.C: Likewise.
	* g++.old-deja/g++.other/crash30.C: Likewise.
	* g++.old-deja/g++.other/regstack.C: Likewise.
	* g++.old-deja/g++.other/crash28.C: Likewise.
	* g++.old-deja/g++.jason/bool5.C: Likewise.
	* g++.old-deja/g++.mike/p10416.C: Likewise.
	* g++.old-deja/g++.mike/eh25.C: Likewise.
	* g++.old-deja/g++.mike/eh55.C: Likewise.
libcpp/
	* include/cpplib.h (enum c_lang): Rename CLK_GNUCXX1Z
	to CLK_GNUCXX17 and CLK_CXX1Z to CLK_CXX17.
	* init.c (lang_defaults, cpp_init_builtins): Likewise.
	* expr.c (cpp_classify_number): Use C++17 instead of C++1z
	in diagnostics.
libstdc++-v3/
	* testsuite/libstdc++-prettyprinters/cxx17.cc: Use -std=c++17 or
	-std=gnu++17 instead of -std=c++1z or -std=gnu++1z.  Use c++17 instead
	of c++1z and c++17_only instead of c++1z_only.  Adjust expected
	diagnostics and comments refering to 1z to 17.
	* testsuite/30_threads/lock_guard/cons/deduction.cc: Likewise.
	* testsuite/30_threads/scoped_lock/cons/deduction.cc: Likewise.
	* testsuite/30_threads/scoped_lock/cons/1.cc: Likewise.
	* testsuite/30_threads/scoped_lock/requirements/typedefs.cc: Likewise.
	* testsuite/30_threads/scoped_lock/requirements/explicit_instantiation.cc:
	Likewise.
	* testsuite/30_threads/unique_lock/cons/deduction.cc: Likewise.
	* testsuite/18_support/launder/1.cc (test02): Likewise.
	* testsuite/18_support/launder/requirements_neg.cc: Likewise.
	* testsuite/18_support/launder/requirements.cc: Likewise.
	* testsuite/18_support/byte/requirements.cc: Likewise.
	* testsuite/18_support/byte/ops.cc: Likewise.
	* testsuite/18_support/byte/global_neg.cc: Likewise.
	* testsuite/18_support/uncaught_exceptions/uncaught_exceptions.cc:
	Likewise.
	* testsuite/27_io/types/4.cc: Likewise.
	* testsuite/25_algorithms/sample/81221.cc: Likewise.
	* testsuite/25_algorithms/sample/1.cc: Likewise.
	* testsuite/25_algorithms/sample/2.cc: Likewise.
	* testsuite/25_algorithms/search/searcher.cc: Likewise.
	* testsuite/28_regex/basic_regex/ctors/deduction.cc: Likewise.
	* testsuite/experimental/filesystem/path/construct/string_view.cc:
	Likewise.
	* testsuite/24_iterators/range_access_cpp17.cc: Likewise.
	* testsuite/24_iterators/container_access.cc: Likewise.
	* testsuite/ext/pb_ds/regression/hash_map_rand.cc: Likewise.
	* testsuite/ext/pb_ds/regression/trie_set_rand.cc: Likewise.
	* testsuite/ext/pb_ds/regression/hash_set_rand.cc: Likewise.
	* testsuite/ext/pb_ds/regression/list_update_set_rand.cc: Likewise.
	* testsuite/ext/pb_ds/regression/list_update_map_rand.cc: Likewise.
	* testsuite/ext/pb_ds/regression/priority_queue_rand.cc: Likewise.
	* testsuite/ext/pb_ds/regression/tree_set_rand.cc: Likewise.
	* testsuite/ext/pb_ds/regression/tree_map_rand.cc: Likewise.
	* testsuite/ext/pb_ds/regression/trie_map_rand.cc: Likewise.
	* testsuite/20_util/shared_ptr/casts/reinterpret.cc: Likewise.
	* testsuite/20_util/shared_ptr/cons/deduction.cc: Likewise.
	* testsuite/20_util/shared_ptr/cons/array.cc: Likewise.
	* testsuite/20_util/shared_ptr/observers/array.cc (struct A): Likewise.
	* testsuite/20_util/pair/cons/deduction.cc: Likewise.
	* testsuite/20_util/variant/deduction.cc: Likewise.
	* testsuite/20_util/tuple/78939.cc: Likewise.
	* testsuite/20_util/tuple/cons/deduction.cc: Likewise.
	* testsuite/20_util/void_t/1.cc: Likewise.
	* testsuite/20_util/duration/arithmetic/constexpr_c++17.cc: Likewise.
	* testsuite/20_util/unique_ptr/cons/deduction_neg.cc: Likewise.
	* testsuite/20_util/addressof/requirements/constexpr.cc: Likewise.
	* testsuite/20_util/weak_ptr/cons/deduction.cc: Likewise.
	* testsuite/20_util/has_unique_object_representations/requirements/typedefs.cc:
	Likewise.
	* testsuite/20_util/has_unique_object_representations/requirements/explicit_instantiation.cc:
	Likewise.
	* testsuite/20_util/has_unique_object_representations/value.cc:
	Likewise.
	* testsuite/20_util/time_point/arithmetic/constexpr.cc: Likewise.
	* testsuite/20_util/function_objects/invoke/59768.cc: Likewise.
	* testsuite/20_util/function_objects/mem_fn/80478.cc: Likewise.
	* testsuite/20_util/function/cons/deduction.cc: Likewise.
	* testsuite/20_util/specialized_algorithms/memory_management_tools/destroy_neg.cc:
	Likewise.
	* testsuite/20_util/is_aggregate/requirements/typedefs.cc: Likewise.
	* testsuite/20_util/is_aggregate/requirements/explicit_instantiation.cc:
	Likewise.
	* testsuite/20_util/is_aggregate/value.cc: Likewise.
	* testsuite/26_numerics/lcm/1.cc: Likewise.
	* testsuite/26_numerics/lcm/lcm_neg.cc: Likewise.
	* testsuite/26_numerics/gcd/1.cc: Likewise.
	* testsuite/26_numerics/gcd/gcd_neg.cc: Likewise.
	* testsuite/26_numerics/valarray/deduction.cc: Likewise.
	* testsuite/26_numerics/headers/cmath/types_std_c++0x_neg.cc: Likewise.
	* testsuite/26_numerics/headers/cmath/hypot.cc: Likewise.
	* testsuite/23_containers/queue/members/emplace_cxx17_return.cc:
	Likewise.
	* testsuite/23_containers/array/cons/deduction.cc: Likewise.
	* testsuite/23_containers/array/cons/deduction_neg.cc: Likewise.
	* testsuite/23_containers/deque/modifiers/emplace/cxx17_return.cc:
	Likewise.
	* testsuite/23_containers/deque/cons/deduction.cc: Likewise.
	* testsuite/23_containers/stack/members/emplace_cxx17_return.cc:
	Likewise.
	* testsuite/23_containers/list/modifiers/emplace/cxx17_return.cc:
	Likewise.
	* testsuite/23_containers/list/cons/deduction.cc: Likewise.
	* testsuite/23_containers/forward_list/modifiers/emplace_cxx17_return.cc:
	Likewise.
	* testsuite/23_containers/forward_list/cons/deduction.cc: Likewise.
	* testsuite/23_containers/unordered_set/allocator/ext_ptr.cc: Likewise.
	* testsuite/23_containers/vector/modifiers/emplace/cxx17_return.cc:
	Likewise.
	* testsuite/23_containers/vector/cons/deduction.cc: Likewise.
	* testsuite/23_containers/vector/bool/emplace_cxx17_return.cc:
	Likewise.
	* testsuite/21_strings/basic_string/cons/char/9.cc: Likewise.
	* testsuite/21_strings/basic_string/cons/char/deduction.cc: Likewise.
	* testsuite/21_strings/basic_string/cons/char/79162.cc: Likewise.
	* testsuite/21_strings/basic_string/cons/wchar_t/9.cc: Likewise.
	* testsuite/21_strings/basic_string/cons/wchar_t/deduction.cc:
	Likewise.
	* testsuite/21_strings/basic_string/cons/wchar_t/79162.cc: Likewise.
	* testsuite/21_strings/basic_string_view/modifiers/swap/char/1.cc:
	Likewise.
	* testsuite/21_strings/basic_string_view/modifiers/swap/wchar_t/1.cc:
	Likewise.
	* testsuite/21_strings/basic_string_view/operations/compare/char/2.cc:
	Likewise.
	* testsuite/21_strings/basic_string_view/operations/compare/char/70483.cc:
	Likewise.
	* testsuite/21_strings/basic_string_view/operations/compare/wchar_t/2.cc:
	Likewise.
	* testsuite/21_strings/char_traits/requirements/constexpr_functions_c++17.cc:
	Likewise.

From-SVN: r252826
2017-09-15 18:15:46 +02:00
..
ada Make-lang.in: In the fallback mechanim... 2017-09-13 13:18:46 +00:00
brig re PR hsa/81713 (BIT_FIELD_REF produced by Brig FE do not pass new verification) 2017-08-04 15:50:14 +00:00
c re PR c/82167 (Segmentation fault when dereferencing the address of an array argument) 2017-09-13 16:46:17 +00:00
c-family invoke.texi: Document -std=c++17 and -std=gnu++17 and document c++1z and gnu++1z as deprecated. 2017-09-15 18:15:46 +02:00
common 2017-09-11 Vidya Praveen <vidyapraveen@arm.com> 2017-09-11 15:14:57 +01:00
config Turn FUNCTION_ARG_OFFSET into a hook 2017-09-15 14:37:28 +00:00
cp invoke.texi: Document -std=c++17 and -std=gnu++17 and document c++1z and gnu++1z as deprecated. 2017-09-15 18:15:46 +02:00
doc invoke.texi: Document -std=c++17 and -std=gnu++17 and document c++1z and gnu++1z as deprecated. 2017-09-15 18:15:46 +02:00
fortran re PR fortran/82184 (187.facerec in SPEC CPU 2000 miscompares) 2017-09-15 07:26:14 +00:00
ginclude
go libgo: update to go1.9 2017-09-14 17:11:35 +00:00
jit Fix crash accessing builtins in sanitizer.def and after (PR jit/82174) 2017-09-14 19:30:26 +00:00
lto Add some changelog entries that went astray during the machmode commits 2017-08-30 11:53:37 +00:00
objc [34/77] Add a SCALAR_INT_TYPE_MODE macro 2017-08-30 11:13:13 +00:00
objcp
po * de.po: Update. 2017-08-21 15:08:22 +01:00
testsuite invoke.texi: Document -std=c++17 and -std=gnu++17 and document c++1z and gnu++1z as deprecated. 2017-09-15 18:15:46 +02:00
ABOUT-GCC-NLS
BASE-VER
COPYING
COPYING.LIB
COPYING3
COPYING3.LIB
ChangeLog invoke.texi: Document -std=c++17 and -std=gnu++17 and document c++1z and gnu++1z as deprecated. 2017-09-15 18:15:46 +02:00
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
ChangeLog.dataflow
ChangeLog.gimple-classes
ChangeLog.graphite
ChangeLog.jit
ChangeLog.lib
ChangeLog.ptr
ChangeLog.tree-ssa
ChangeLog.tuples
DATESTAMP Daily bump. 2017-09-15 00:16:17 +00:00
DEV-PHASE
FSFChangeLog
FSFChangeLog.10
FSFChangeLog.11
LANGUAGES
Makefile.in Makefile.in (install-mkheaders): Fix typo, where the multi_dir variable was referenced as multidir in command. 2017-08-07 19:55:55 +00:00
ONEWS
README.Portability
acinclude.m4
aclocal.m4
addresses.h
alias.c Turn HARD_REGNO_MODE_OK into a target hook 2017-09-04 10:49:59 +00:00
alias.h
alloc-pool.c
alloc-pool.h re PR other/81667 (trunk/gcc/alloc-pool.h:239: possible missing initialiser ?) 2017-08-02 13:25:12 +00:00
asan.c asan.c (initialize_sanitizer_builtins): Add BT_FN_VOID_UINT8_UINT8... 2017-09-06 16:30:46 +02:00
asan.h
attribs.c Reduce lookup_attribute memory footprint. 2017-09-12 14:24:29 +00:00
attribs.h Reduce lookup_attribute memory footprint. 2017-09-12 14:24:29 +00:00
auto-inc-dec.c
auto-profile.c
auto-profile.h
backend.h
basic-block.h
bb-reorder.c trans.c: Include header files. 2017-08-08 04:46:51 +00:00
bb-reorder.h
bitmap.c
bitmap.h
brig-builtins.def
bt-load.c
builtin-attrs.def builtin-attrs.def: Add comments. 2017-08-14 15:32:07 -06:00
builtin-types.def asan.c (initialize_sanitizer_builtins): Add BT_FN_VOID_UINT8_UINT8... 2017-09-06 16:30:46 +02:00
builtins.c Make more use of int_mode_for_size 2017-09-05 19:57:01 +00:00
builtins.def
builtins.h [62/77] Big machine_mode to scalar_int_mode replacement 2017-08-30 11:18:59 +00:00
caller-save.c Convert hard_regno_nregs to a function 2017-09-12 13:29:05 +00:00
calls.c Turn SLOW_UNALIGNED_ACCESS into a target hook 2017-09-12 13:27:55 +00:00
calls.h
ccmp.c
ccmp.h
cfg-flags.def
cfg.c
cfg.h
cfganal.c
cfganal.h
cfgbuild.c re PR target/81325 (-fcompare-debug failure on ppc64le) 2017-09-14 10:07:30 +02:00
cfgbuild.h
cfgcleanup.c
cfgcleanup.h
cfgexpand.c Store VECTOR_CST_NELTS directly in tree_node 2017-09-14 15:25:57 +00:00
cfgexpand.h
cfghooks.c
cfghooks.h
cfgloop.c
cfgloop.h [36/77] Use scalar_int_mode in the RTL iv routines 2017-08-30 11:13:59 +00:00
cfgloopanal.c
cfgloopmanip.c
cfgloopmanip.h
cfgrtl.c
cfgrtl.h
cgraph.c Introduce TARGET_SUPPORTS_ALIASES 2017-08-11 08:14:54 +00:00
cgraph.h
cgraphbuild.c
cgraphclones.c
cgraphunit.c re PR debug/81936 (ICE in dwarf2out_die_ref_for_decl, at dwarf2out.c:5543) 2017-08-24 13:41:51 +00:00
chkp-builtins.def
cif-code.def
cilk-builtins.def
cilk-common.c
cilk.h
cilkplus.def
collect-utils.c
collect-utils.h
collect2-aix.c
collect2-aix.h
collect2.c
collect2.h
combine-stack-adj.c
combine.c re PR rtl-optimization/82192 (gcc produces incorrect code with -O2 and bit-field) 2017-09-15 17:54:04 +02:00
common.md
common.opt Add -static-pie to GCC driver to create static PIE 2017-09-12 09:30:28 -07:00
compare-elim.c
conditions.h
config.build
config.gcc 2017-09-11 Vidya Praveen <vidyapraveen@arm.com> 2017-09-11 15:14:57 +01:00
config.host
config.in
configure
configure.ac
context.c
context.h
convert.c Turn TRULY_NOOP_TRUNCATION into a hook 2017-09-15 13:47:41 +00:00
convert.h
coretypes.h Turn FUNCTION_ARG_PADDING into a target hook 2017-09-04 10:50:38 +00:00
coverage.c [19/77] Add a smallest_int_mode_for_size helper function 2017-08-30 11:10:44 +00:00
coverage.h
cppbuiltin.c
cppbuiltin.h
cppdefault.c
cppdefault.h
cprop.c Drop df_ from df_read_modify_subreg_p 2017-08-30 15:28:18 +00:00
cse.c Add a partial_subreg_p predicate 2017-08-30 15:25:38 +00:00
cselib.c Convert hard_regno_nregs to a function 2017-09-12 13:29:05 +00:00
cselib.h
cstamp-h.in
data-streamer-in.c
data-streamer-out.c
data-streamer.c
data-streamer.h
dbgcnt.c
dbgcnt.def
dbgcnt.h
dbxout.c re PR go/78628 (GO fails to build a translation unit decl) 2017-08-21 10:29:00 +00:00
dbxout.h
dce.c
dce.h
ddg.c
ddg.h
debug.c re PR go/78628 (GO fails to build a translation unit decl) 2017-08-21 10:29:00 +00:00
debug.h re PR go/78628 (GO fails to build a translation unit decl) 2017-08-21 10:29:00 +00:00
defaults.h Turn SLOW_UNALIGNED_ACCESS into a target hook 2017-09-12 13:27:55 +00:00
df-core.c
df-problems.c Drop df_ from df_read_modify_subreg_p 2017-08-30 15:28:18 +00:00
df-scan.c Drop df_ from df_read_modify_subreg_p 2017-08-30 15:28:18 +00:00
df.h Drop df_ from df_read_modify_subreg_p 2017-08-30 15:28:18 +00:00
dfp.c [2/77] Add an E_ prefix to case statements 2017-08-30 11:08:28 +00:00
dfp.h
diagnostic-color.c
diagnostic-color.h
diagnostic-core.h re PR c/81233 (--Wdiscarded-qualifiers and Wincompatible-pointer-types missing important detail) 2017-08-09 11:28:22 +00:00
diagnostic-show-locus.c diagnostic-show-locus.c: remove unused field from class colorizer 2017-08-16 19:08:16 +00:00
diagnostic.c re PR c/81233 (--Wdiscarded-qualifiers and Wincompatible-pointer-types missing important detail) 2017-08-09 11:28:22 +00:00
diagnostic.def
diagnostic.h
dojump.c [62/77] Big machine_mode to scalar_int_mode replacement 2017-08-30 11:18:59 +00:00
dojump.h
dominance.c
dominance.h
domwalk.c
domwalk.h
double-int.c
double-int.h
dse.c Turn MODES_TIEABLE_P into a target hook 2017-09-04 10:50:23 +00:00
dumpfile.c
dumpfile.h
dwarf2asm.c
dwarf2asm.h
dwarf2cfi.c [62/77] Big machine_mode to scalar_int_mode replacement 2017-08-30 11:18:59 +00:00
dwarf2out.c invoke.texi: Document -std=c++17 and -std=gnu++17 and document c++1z and gnu++1z as deprecated. 2017-09-15 18:15:46 +02:00
dwarf2out.h
edit-context.c
edit-context.h
emit-rtl.c Turn CANNOT_CHANGE_MODE_CLASS into a hook 2017-09-15 12:56:34 +00:00
emit-rtl.h
errors.c
errors.h
et-forest.c
et-forest.h
except.c PR82045: Avoid passing machine modes through "..." 2017-09-04 07:30:53 +00:00
except.h
exec-tool.in
explow.c Improve alloca alignment 2017-09-05 13:27:58 +00:00
explow.h
expmed.c Turn TRULY_NOOP_TRUNCATION into a hook 2017-09-15 13:47:41 +00:00
expmed.h [62/77] Big machine_mode to scalar_int_mode replacement 2017-08-30 11:18:59 +00:00
expr.c Store VECTOR_CST_NELTS directly in tree_node 2017-09-14 15:25:57 +00:00
expr.h [62/77] Big machine_mode to scalar_int_mode replacement 2017-08-30 11:18:59 +00:00
fibonacci_heap.c
fibonacci_heap.h
file-find.c
file-find.h
final.c [62/77] Big machine_mode to scalar_int_mode replacement 2017-08-30 11:18:59 +00:00
fixed-value.c [67/77] Use scalar_mode in fixed-value.* 2017-08-30 11:19:47 +00:00
fixed-value.h [76/77] Add a scalar_mode_pod class 2017-08-30 11:20:55 +00:00
flag-types.h asan.c (initialize_sanitizer_builtins): Add BT_FN_VOID_UINT8_UINT8... 2017-09-06 16:30:46 +02:00
flags.h
fold-const-call.c [34/77] Add a SCALAR_INT_TYPE_MODE macro 2017-08-30 11:13:13 +00:00
fold-const-call.h
fold-const.c Use vec<> for constant permute masks 2017-09-14 16:04:32 +00:00
fold-const.h re PR c++/82084 (ICE: constructing wstring with -O3) 2017-09-04 14:10:11 +00:00
fp-test.c
function-tests.c
function.c Turn FUNCTION_ARG_OFFSET into a hook 2017-09-15 14:37:28 +00:00
function.h Turn FUNCTION_ARG_PADDING into a target hook 2017-09-04 10:50:38 +00:00
fwprop.c [26/77] Use is_a <scalar_int_mode> in subreg/extract simplifications 2017-08-30 11:11:42 +00:00
gcc-ar.c
gcc-main.c
gcc-plugin.h
gcc-rich-location.c
gcc-rich-location.h
gcc-symtab.h
gcc.c Add -static-pie to GCC driver to create static PIE 2017-09-12 09:30:28 -07:00
gcc.h
gcov-counter.def
gcov-dump.c
gcov-io.c
gcov-io.h
gcov-iov.c
gcov-tool.c
gcov.c Fix segfault in gcov.c (PR gcov-profile/81561). 2017-08-01 14:06:13 +00:00
gcse-common.c
gcse-common.h
gcse.c
gcse.h
gdbasan.in
gdbhooks.py gdbhooks.py (OptMachineModePrinter.to_string): Use 8 spaces instead of tab. 2017-09-04 10:10:51 +02:00
gdbinit.in
gen-pass-instances.awk
genattr-common.c
genattr.c
genattrtab.c
genautomata.c
gencfn-macros.c
gencheck.c
genchecksum.c
gencodes.c
genconditions.c [3/77] Allow machine modes to be classes 2017-08-30 11:08:36 +00:00
genconfig.c
genconstants.c
genemit.c
genenums.c
generic-match-head.c
generic-match.h
genextract.c
genflags.c
gengenrtl.c
gengtype-lex.l
gengtype-parse.c
gengtype-state.c
gengtype.c
gengtype.h
genhooks.c
genmatch.c
genmddeps.c
genmddump.c
genmodes.c [77/77] Add a complex_mode class 2017-08-30 11:21:04 +00:00
genmultilib
genopinit.c
genoutput.c [1/77] Add an E_ prefix to mode names 2017-08-30 11:08:14 +00:00
genpeep.c
genpreds.c Turn HARD_REGNO_MODE_OK into a target hook 2017-09-04 10:49:59 +00:00
genrecog.c [1/77] Add an E_ prefix to mode names 2017-08-30 11:08:14 +00:00
gensupport.c
gensupport.h
gentarget-def.c
ggc-common.c
ggc-internal.h
ggc-none.c
ggc-page.c
ggc-tests.c
ggc.h
gimple-builder.c
gimple-builder.h
gimple-expr.c trans.c: Include header files. 2017-08-08 04:46:51 +00:00
gimple-expr.h
gimple-fold.c Add gimple_build_vector* helpers 2017-09-14 16:18:55 +00:00
gimple-fold.h Add gimple_build_vector* helpers 2017-09-14 16:18:55 +00:00
gimple-iterator.c
gimple-iterator.h
gimple-laddress.c
gimple-low.c
gimple-low.h
gimple-match-head.c
gimple-match.h
gimple-predict.h
gimple-pretty-print.c PR c/81117 - Improve buffer overflow checking in strncpy - part 1 2017-08-14 12:35:13 -06:00
gimple-pretty-print.h PR c/81117 - Improve buffer overflow checking in strncpy - part 1 2017-08-14 12:35:13 -06:00
gimple-ssa-backprop.c
gimple-ssa-isolate-paths.c Fix profile update in tree-ssa-isolate-paths.c (PR tree-optimization/82059). 2017-09-01 13:02:37 +00:00
gimple-ssa-nonnull-compare.c
gimple-ssa-split-paths.c
gimple-ssa-sprintf.c [20/77] Replace MODE_INT checks with is_int_mode 2017-08-30 11:10:53 +00:00
gimple-ssa-store-merging.c [store-merging] Use store order as tie-breaker in sort_by_bitpos 2017-09-13 13:49:50 +00:00
gimple-ssa-strength-reduction.c 2017-09-06 Richard Biener <rguenther@suse.de> 2017-09-06 12:55:13 +00:00
gimple-ssa-warn-alloca.c
gimple-ssa.h
gimple-streamer-in.c
gimple-streamer-out.c
gimple-streamer.h
gimple-walk.c
gimple-walk.h
gimple.c trans.c: Include header files. 2017-08-08 04:46:51 +00:00
gimple.def
gimple.h
gimplify-me.c
gimplify-me.h
gimplify.c Set the call nothrow flag more often 2017-08-29 07:47:05 +00:00
gimplify.h
glimits.h
godump.c
graph.c
graph.h
graphds.c
graphds.h
graphite-dependences.c
graphite-isl-ast-to-gimple.c [17/77] Add an int_mode_for_size helper function 2017-08-30 11:10:28 +00:00
graphite-optimize-isl.c
graphite-poly.c
graphite-scop-detection.c re PR tree-optimization/68823 ([graphite] tramp3d-v4 compiled with -floop-nest-optimize crashes) 2017-09-15 07:03:02 +00:00
graphite-sese-to-poly.c
graphite.c
graphite.h
gsstruct.def
gstab.h
gsyms.h
gsyslimits.h
gtm-builtins.def
haifa-sched.c
hard-reg-set.h Turn CANNOT_CHANGE_MODE_CLASS into a hook 2017-09-15 12:56:34 +00:00
hash-map-tests.c
hash-map-traits.h
hash-map.h
hash-set-tests.c
hash-set.h
hash-table.c
hash-table.h
hash-traits.h Use base inequality for some vector alias checks 2017-08-04 10:40:35 +00:00
highlev-plugin-common.h
hooks.c Turn TRULY_NOOP_TRUNCATION into a hook 2017-09-15 13:47:41 +00:00
hooks.h Turn TRULY_NOOP_TRUNCATION into a hook 2017-09-15 13:47:41 +00:00
host-default.c
hosthooks-def.h
hosthooks.h
hsa-brig-format.h
hsa-brig.c [9/77] Add SCALAR_FLOAT_TYPE_MODE 2017-08-30 11:09:27 +00:00
hsa-builtins.def
hsa-common.c trans.c: Include header files. 2017-08-08 04:46:51 +00:00
hsa-common.h
hsa-dump.c
hsa-gen.c Make HSA resilient to side-effects of split_edge 2017-09-11 11:09:26 +02:00
hsa-regalloc.c Make HSA resilient to side-effects of split_edge 2017-09-11 11:09:26 +02:00
hw-doloop.c
hw-doloop.h
hwint.c
hwint.h
ifcvt.c Add a partial_subreg_p predicate 2017-08-30 15:25:38 +00:00
ifcvt.h
inchash.c
inchash.h
incpath.c
incpath.h
init-regs.c
input.c re PR c/81417 (-Wsign-compare should print types being compared) 2017-08-09 08:51:20 +00:00
input.h re PR c/81417 (-Wsign-compare should print types being compared) 2017-08-09 08:51:20 +00:00
insn-addr.h
insn-notes.def
internal-fn.c [62/77] Big machine_mode to scalar_int_mode replacement 2017-08-30 11:18:59 +00:00
internal-fn.def Add missing ECF_NOTHROW flags to internal.def 2017-08-17 16:31:09 +00:00
internal-fn.h
intl.c
intl.h
ipa-chkp.c trans.c: Include header files. 2017-08-08 04:46:51 +00:00
ipa-chkp.h
ipa-comdats.c
ipa-cp.c trans.c: Include header files. 2017-08-08 04:46:51 +00:00
ipa-devirt.c trans.c: Include header files. 2017-08-08 04:46:51 +00:00
ipa-fnsummary.c trans.c: Include header files. 2017-08-08 04:46:51 +00:00
ipa-fnsummary.h
ipa-hsa.c
ipa-icf-gimple.c Fix IPA ICF with ASM statements (PR inline-asm/82001). 2017-08-30 12:38:31 +00:00
ipa-icf-gimple.h Fix IPA ICF with ASM statements (PR inline-asm/82001). 2017-08-30 12:38:31 +00:00
ipa-icf.c
ipa-icf.h
ipa-inline-analysis.c
ipa-inline-transform.c
ipa-inline.c trans.c: Include header files. 2017-08-08 04:46:51 +00:00
ipa-inline.h
ipa-polymorphic-call.c
ipa-predicate.c
ipa-predicate.h
ipa-profile.c
ipa-prop.c
ipa-prop.h
ipa-pure-const.c
ipa-ref.c
ipa-ref.h
ipa-reference.c
ipa-reference.h
ipa-split.c
ipa-utils.c
ipa-utils.h
ipa-visibility.c Introduce TARGET_SUPPORTS_ALIASES 2017-08-11 08:14:54 +00:00
ipa.c trans.c: Include header files. 2017-08-08 04:46:51 +00:00
ira-build.c Add a partial_subreg_p predicate 2017-08-30 15:25:38 +00:00
ira-color.c Convert hard_regno_nregs to a function 2017-09-12 13:29:05 +00:00
ira-conflicts.c Turn HARD_REGNO_CALL_PART_CLOBBERED into a target hook 2017-09-04 10:49:21 +00:00
ira-costs.c Make more use of in_hard_reg_set_p 2017-09-12 13:28:37 +00:00
ira-emit.c Convert hard_regno_nregs to a function 2017-09-12 13:29:05 +00:00
ira-int.h Convert hard_regno_nregs to a function 2017-09-12 13:29:05 +00:00
ira-lives.c Drop df_ from df_read_modify_subreg_p 2017-08-30 15:28:18 +00:00
ira.c Convert hard_regno_nregs to a function 2017-09-12 13:29:05 +00:00
ira.h Turn HARD_REGNO_MODE_OK into a target hook 2017-09-04 10:49:59 +00:00
is-a.h [59/77] Add a rtx_jump_table_data::get_data_mode helper 2017-08-30 11:18:37 +00:00
jump.c
langhooks-def.h PR c++/70029 - ICE with ref-qualifier and -flto 2017-09-08 18:39:17 -04:00
langhooks.c
langhooks.h PR c++/70029 - ICE with ref-qualifier and -flto 2017-09-08 18:39:17 -04:00
lcm.c
lcm.h
libfuncs.h
limitx.h
limity.h
lists.c
lock-and-run.sh
loop-doloop.c [62/77] Big machine_mode to scalar_int_mode replacement 2017-08-30 11:18:59 +00:00
loop-init.c
loop-invariant.c [25/77] Use is_a <scalar_int_mode> for bitmask optimisations 2017-08-30 11:11:32 +00:00
loop-iv.c [36/77] Use scalar_int_mode in the RTL iv routines 2017-08-30 11:13:59 +00:00
loop-unroll.c [36/77] Use scalar_int_mode in the RTL iv routines 2017-08-30 11:13:59 +00:00
loop-unroll.h
lower-subreg.c Make mode_for_size return an opt_mode 2017-09-05 19:57:18 +00:00
lower-subreg.h [16/77] Add scalar_int_mode_pod 2017-08-30 11:10:18 +00:00
lra-assigns.c Convert hard_regno_nregs to a function 2017-09-12 13:29:05 +00:00
lra-coalesce.c Add a partial_subreg_p predicate 2017-08-30 15:25:38 +00:00
lra-constraints.c Turn SECONDARY_MEMORY_NEEDED into a hook 2017-09-13 17:05:16 +00:00
lra-eliminations.c Make more use of paradoxical_subreg_p 2017-08-22 16:14:48 +00:00
lra-int.h
lra-lives.c Convert hard_regno_nregs to a function 2017-09-12 13:29:05 +00:00
lra-remat.c Convert hard_regno_nregs to a function 2017-09-12 13:29:05 +00:00
lra-spills.c Convert hard_regno_nregs to a function 2017-09-12 13:29:05 +00:00
lra.c Make more use of end_hard_regno 2017-09-12 13:28:27 +00:00
lra.h
lto-cgraph.c trans.c: Include header files. 2017-08-08 04:46:51 +00:00
lto-compress.c
lto-compress.h
lto-opts.c
lto-section-in.c
lto-section-names.h
lto-section-out.c
lto-streamer-in.c [6/77] Make GET_MODE_WIDER return an opt_mode 2017-08-30 11:09:01 +00:00
lto-streamer-out.c re PR go/78628 (GO fails to build a translation unit decl) 2017-08-21 10:29:00 +00:00
lto-streamer.c
lto-streamer.h re PR go/78628 (GO fails to build a translation unit decl) 2017-08-21 10:29:00 +00:00
lto-wrapper.c re PR go/78628 (GO fails to build a translation unit decl) 2017-08-21 10:29:00 +00:00
machmode.def
machmode.h Turn TRULY_NOOP_TRUNCATION into a hook 2017-09-15 13:47:41 +00:00
main.c
match.pd re PR middle-end/82149 (match.pd: 2919: bad if test ?) 2017-09-12 13:21:52 +00:00
mcf.c
mem-stats-traits.h
mem-stats.h
memmodel.h
memory-block.cc
memory-block.h
mkconfig.sh
mode-classes.def
mode-switching.c Convert hard_regno_nregs to a function 2017-09-12 13:29:05 +00:00
modulo-sched.c
multiple_target.c
omp-builtins.def
omp-expand.c re PR middle-end/81768 (error: control flow in the middle of basic block) 2017-09-05 23:31:39 +02:00
omp-expand.h
omp-general.c trans.c: Include header files. 2017-08-08 04:46:51 +00:00
omp-general.h
omp-grid.c
omp-grid.h
omp-low.c re PR middle-end/81768 (error: control flow in the middle of basic block) 2017-09-05 23:32:35 +02:00
omp-low.h
omp-offload.c trans.c: Include header files. 2017-08-08 04:46:51 +00:00
omp-offload.h
omp-simd-clone.c [65/77] Add a SCALAR_TYPE_MODE macro 2017-08-30 11:19:29 +00:00
opt-functions.awk
opt-gather.awk
opt-include.awk
opt-read.awk
optabs-libfuncs.c [20/77] Replace MODE_INT checks with is_int_mode 2017-08-30 11:10:53 +00:00
optabs-libfuncs.h
optabs-query.c Use vec<> for constant permute masks 2017-09-14 16:04:32 +00:00
optabs-query.h Use vec<> for constant permute masks 2017-09-14 16:04:32 +00:00
optabs-tree.c
optabs-tree.h
optabs.c Make mode_for_vector return an opt_mode 2017-09-05 19:57:39 +00:00
optabs.def re PR middle-end/19706 (Recognize common Fortran usages of copysign.) 2017-08-08 13:15:44 +00:00
optabs.h
optc-gen.awk
optc-save-gen.awk
opth-gen.awk
opts-common.c Fix --help=target (PR other/39851). 2017-08-29 07:46:10 +00:00
opts-diagnostic.h
opts-global.c Fix --help=target (PR other/39851). 2017-08-29 07:46:10 +00:00
opts.c asan.c (initialize_sanitizer_builtins): Add BT_FN_VOID_UINT8_UINT8... 2017-09-06 16:30:46 +02:00
opts.h Fix --help=target (PR other/39851). 2017-08-29 07:46:10 +00:00
output.h re PR target/81979 (Assembler messages: Error: can't resolve `.got2' {.got2 section} - `.LCF0' {.text.unlikely section}) 2017-09-07 13:20:40 +02:00
params-enum.h
params-list.h
params-options.h
params.c
params.def
params.h
pass_manager.h
passes.c trans.c: Include header files. 2017-08-08 04:46:51 +00:00
passes.def passes.def (pass_split_crit_edges): Remove instance before PRE. 2017-09-07 07:44:43 +00:00
plugin.c
plugin.def
plugin.h
postreload-gcse.c
postreload.c Turn CANNOT_CHANGE_MODE_CLASS into a hook 2017-09-15 12:56:34 +00:00
predict.c trans.c: Include header files. 2017-08-08 04:46:51 +00:00
predict.def
predict.h
prefix.c
prefix.h
pretty-print.c PR c/81859 - [8 Regression] valgrind error from warn_about_normalization 2017-08-17 10:50:06 -06:00
pretty-print.h
print-rtl-function.c function.c (fndecl_name): Use verbosity 1 (no arguments) for lang_hooks.decl_printable_name. 2017-08-23 13:44:20 +00:00
print-rtl.c print-rtl: NOT is ~, not ! 2017-08-07 12:21:32 +02:00
print-rtl.h
print-tree.c Add warn_if_not_aligned attribute 2017-08-18 02:38:38 -07:00
print-tree.h
profile-count.c
profile-count.h
profile.c
profile.h
read-md.c
read-md.h Pass rtx and index to read-md.c iterator routines 2017-08-21 09:51:14 +00:00
read-rtl-function.c
read-rtl-function.h
read-rtl.c Pass rtx and index to read-md.c iterator routines 2017-08-21 09:51:14 +00:00
real.c
real.h (decimal_)float_mode_for_size in real.h 2017-09-05 19:57:09 +00:00
realmpfr.c
realmpfr.h
recog.c Turn CANNOT_CHANGE_MODE_CLASS into a hook 2017-09-15 12:56:34 +00:00
recog.h
ree.c Use hard_regno_nregs instead of HARD_REGNO_NREGS 2017-09-12 13:29:18 +00:00
reg-notes.def
reg-stack.c [4/77] Add FOR_EACH iterators for modes 2017-08-30 11:08:44 +00:00
regcprop.c Turn CANNOT_CHANGE_MODE_CLASS into a hook 2017-09-15 12:56:34 +00:00
regcprop.h
reginfo.c Turn HARD_REGNO_NREGS into a target hook 2017-09-12 13:29:36 +00:00
regrename.c Convert hard_regno_nregs to a function 2017-09-12 13:29:05 +00:00
regrename.h
regs.h Convert hard_regno_nregs to a function 2017-09-12 13:29:05 +00:00
regset.h
regstat.c
reload.c Turn CANNOT_CHANGE_MODE_CLASS into a hook 2017-09-15 12:56:34 +00:00
reload.h
reload1.c Turn CANNOT_CHANGE_MODE_CLASS into a hook 2017-09-15 12:56:34 +00:00
reorg.c
resource.c
resource.h
rtl-chkp.c
rtl-chkp.h
rtl-error.c
rtl-error.h
rtl-iter.h
rtl-tests.c
rtl.c
rtl.def
rtl.h Turn HARD_REGNO_NREGS into a target hook 2017-09-12 13:29:36 +00:00
rtlanal.c Turn CANNOT_CHANGE_MODE_CLASS into a hook 2017-09-15 12:56:34 +00:00
rtlhash.c
rtlhash.h
rtlhooks-def.h [49/77] Simplify nonzero/num_sign_bits hooks 2017-08-30 11:17:12 +00:00
rtlhooks.c Turn TRULY_NOOP_TRUNCATION into a hook 2017-09-15 13:47:41 +00:00
run-rtl-passes.c
run-rtl-passes.h
sancov.c Fix SPARC bootstrap: sancov.c needs memmodel.h 2017-09-08 08:35:23 +00:00
sanitizer.def asan.c (initialize_sanitizer_builtins): Add BT_FN_VOID_UINT8_UINT8... 2017-09-06 16:30:46 +02:00
sanopt.c trans.c: Include header files. 2017-08-08 04:46:51 +00:00
sbitmap.c
sbitmap.h
sched-deps.c Convert hard_regno_nregs to a function 2017-09-12 13:29:05 +00:00
sched-ebb.c
sched-int.h
sched-rgn.c
sdbout.c [74/77] Various small scalar_mode changes 2017-08-30 11:20:47 +00:00
sdbout.h
sel-sched-dump.c
sel-sched-dump.h
sel-sched-ir.c
sel-sched-ir.h
sel-sched.c Convert hard_regno_nregs to a function 2017-09-12 13:29:05 +00:00
sel-sched.h
selftest-rtl.c
selftest-rtl.h
selftest-run-tests.c
selftest.c
selftest.h
sese.c
sese.h
shrink-wrap.c
shrink-wrap.h
signop.h
simplify-rtx.c Add subreg_memory_offset helper functions 2017-09-04 10:48:40 +00:00
sparseset.c
sparseset.h
spellcheck-tree.c
spellcheck-tree.h
spellcheck.c
spellcheck.h
sreal.c
sreal.h
ssa-iterators.h
ssa.h
stab.def
stack-ptr-mod.c
statistics.c
statistics.h
stmt.c Fix emission of exception dispatch (PR middle-end/82154). 2017-09-13 19:12:08 +00:00
stmt.h
stor-layout.c Turn SLOW_UNALIGNED_ACCESS into a target hook 2017-09-12 13:27:55 +00:00
stor-layout.h Make mode_for_size_tree return an opt_mode 2017-09-05 19:57:56 +00:00
store-motion.c
streamer-hooks.c
streamer-hooks.h
stringpool.c
stringpool.h
substring-locations.c
substring-locations.h
symbol-summary.h
symtab.c Introduce TARGET_SUPPORTS_ALIASES 2017-08-11 08:14:54 +00:00
sync-builtins.def
system.h Turn FUNCTION_ARG_OFFSET into a hook 2017-09-15 14:37:28 +00:00
target-def.h
target-globals.c
target-globals.h
target-hooks-macros.h
target-insns.def retire mem_signal_fence pattern 2017-09-01 17:08:42 +03:00
target.def Turn FUNCTION_ARG_OFFSET into a hook 2017-09-15 14:37:28 +00:00
target.h Use vec<> for constant permute masks 2017-09-14 16:04:32 +00:00
targhooks.c Turn FUNCTION_ARG_OFFSET into a hook 2017-09-15 14:37:28 +00:00
targhooks.h Turn FUNCTION_ARG_OFFSET into a hook 2017-09-15 14:37:28 +00:00
timevar.c
timevar.def Make expansion of balanced binary trees of switches on tree level. 2017-08-29 14:12:44 +00:00
timevar.h
tlink.c
toplev.c Fix --help=target (PR other/39851). 2017-08-29 07:46:10 +00:00
toplev.h
tracer.c
tracer.h
trans-mem.c trans.c: Include header files. 2017-08-08 04:46:51 +00:00
trans-mem.h
tree-affine.c
tree-affine.h
tree-call-cdce.c Set the call nothrow flag more often 2017-08-29 07:47:05 +00:00
tree-cfg.c tree-cfg.c (verify_gimple_assign_binary): Add verification for WIDEN_SUM_EXPR... 2017-09-13 08:09:31 +00:00
tree-cfg.h Learn CFG cleanup to transform single case switches to gcond. 2017-09-05 08:12:27 +00:00
tree-cfgcleanup.c Learn CFG cleanup to transform single case switches to gcond. 2017-09-05 08:12:27 +00:00
tree-cfgcleanup.h
tree-chkp-opt.c
tree-chkp.c Do not instrument void variables with MPX (PR tree-opt/79987). 2017-08-11 10:01:13 +00:00
tree-chkp.h
tree-chrec.c
tree-chrec.h
tree-complex.c
tree-core.h Store VECTOR_CST_NELTS directly in tree_node 2017-09-14 15:25:57 +00:00
tree-data-ref.c Pool alignment information for common bases 2017-08-04 10:42:53 +00:00
tree-data-ref.h Pool alignment information for common bases 2017-08-04 10:42:53 +00:00
tree-dfa.c
tree-dfa.h
tree-diagnostic.c PR c/81117 - Improve buffer overflow checking in strncpy - part 1 2017-08-14 12:35:13 -06:00
tree-diagnostic.h
tree-dump.c
tree-dump.h
tree-eh.c tree-eh.c (lower_try_finally_switch): Set the location of the finally on the entire header of the finally block in... 2017-08-30 19:10:38 +00:00
tree-eh.h
tree-emutls.c
tree-hash-traits.h
tree-hasher.h
tree-if-conv.c [18/77] Make int_mode_for_mode return an opt_scalar_int_mode 2017-08-30 11:10:36 +00:00
tree-if-conv.h
tree-inline.c [65/77] Add a SCALAR_TYPE_MODE macro 2017-08-30 11:19:29 +00:00
tree-inline.h
tree-into-ssa.c trans.c: Include header files. 2017-08-08 04:46:51 +00:00
tree-into-ssa.h
tree-iterator.c
tree-iterator.h
tree-loop-distribution.c Fix build of --enable-gather-detailed-mem-stats (PR bootstrap/81864). 2017-08-17 19:56:46 +00:00
tree-nested.c [35/77] Add uses of as_a <scalar_int_mode> 2017-08-30 11:13:29 +00:00
tree-nested.h
tree-nrv.c
tree-object-size.c trans.c: Include header files. 2017-08-08 04:46:51 +00:00
tree-object-size.h
tree-outof-ssa.c
tree-outof-ssa.h
tree-parloops.c trans.c: Include header files. 2017-08-08 04:46:51 +00:00
tree-parloops.h
tree-pass.h Make expansion of balanced binary trees of switches on tree level. 2017-08-29 14:12:44 +00:00
tree-phinodes.c
tree-phinodes.h
tree-predcom.c re PR tree-optimization/81744 (ICE: verify_ssa failed, at tree-ssa.c:1186) 2017-08-08 11:32:05 +00:00
tree-pretty-print.c function.c (fndecl_name): Use verbosity 1 (no arguments) for lang_hooks.decl_printable_name. 2017-08-23 13:44:20 +00:00
tree-pretty-print.h PR c/81117 - Improve buffer overflow checking in strncpy - part 1 2017-08-14 12:35:13 -06:00
tree-profile.c trans.c: Include header files. 2017-08-08 04:46:51 +00:00
tree-scalar-evolution.c
tree-scalar-evolution.h
tree-sra.c Enqueue all SRA links for write flag propagation 2017-09-06 11:25:00 +02:00
tree-ssa-address.c [62/77] Big machine_mode to scalar_int_mode replacement 2017-08-30 11:18:59 +00:00
tree-ssa-address.h
tree-ssa-alias.c re PR tree-optimization/81884 (Invalid code generation with zero size arrays or flexible array members) 2017-08-21 07:37:59 +00:00
tree-ssa-alias.h
tree-ssa-ccp.c trans.c: Include header files. 2017-08-08 04:46:51 +00:00
tree-ssa-ccp.h
tree-ssa-coalesce.c
tree-ssa-coalesce.h
tree-ssa-copy.c
tree-ssa-dce.c
tree-ssa-dom.c tree-ssa-dom.c (edge_info::record_simple_equiv): Call derive_equivalences. 2017-08-28 23:03:36 -06:00
tree-ssa-dom.h
tree-ssa-dse.c
tree-ssa-forwprop.c Use vec<> for constant permute masks 2017-09-14 16:04:32 +00:00
tree-ssa-ifcombine.c asan.c (initialize_sanitizer_builtins): Add BT_FN_VOID_UINT8_UINT8... 2017-09-06 16:30:46 +02:00
tree-ssa-live.c trans.c: Include header files. 2017-08-08 04:46:51 +00:00
tree-ssa-live.h
tree-ssa-loop-ch.c re PR middle-end/81832 (ICE in expand_LOOP_DIST_ALIAS, at internal-fn.c:2273) 2017-08-16 15:02:03 +00:00
tree-ssa-loop-im.c tree-ssa-loop-im.c (struct lim_aux_data): Add ref index member. 2017-08-21 07:21:33 +00:00
tree-ssa-loop-ivcanon.c
tree-ssa-loop-ivopts.c [62/77] Big machine_mode to scalar_int_mode replacement 2017-08-30 11:18:59 +00:00
tree-ssa-loop-ivopts.h
tree-ssa-loop-manip.c [19/77] Add a smallest_int_mode_for_size helper function 2017-08-30 11:10:44 +00:00
tree-ssa-loop-manip.h
tree-ssa-loop-niter.c re PR tree-optimization/81913 (wrong code at -O1) 2017-08-24 15:38:39 +00:00
tree-ssa-loop-niter.h
tree-ssa-loop-prefetch.c Pool alignment information for common bases 2017-08-04 10:42:53 +00:00
tree-ssa-loop-split.c
tree-ssa-loop-unswitch.c
tree-ssa-loop.c trans.c: Include header files. 2017-08-08 04:46:51 +00:00
tree-ssa-loop.h
tree-ssa-math-opts.c [65/77] Add a SCALAR_TYPE_MODE macro 2017-08-30 11:19:29 +00:00
tree-ssa-operands.c
tree-ssa-operands.h
tree-ssa-phionlycprop.c
tree-ssa-phiopt.c
tree-ssa-phiprop.c
tree-ssa-pre.c re PR tree-optimization/82157 (ICE on valid code at -O2 and -O3: cannot update SSA form) 2017-09-12 14:15:37 +00:00
tree-ssa-propagate.c
tree-ssa-propagate.h
tree-ssa-reassoc.c re PR tree-optimization/64910 (tree reassociation results in poor code) 2017-09-05 23:20:25 -06:00
tree-ssa-sccvn.c re PR tree-optimization/82217 (ICE on valid code at -O1 and above: in visit_phi, at tree-ssa-sccvn.c:3908) 2017-09-15 09:19:36 +00:00
tree-ssa-sccvn.h
tree-ssa-scopedtables.c re PR tree-optimization/82052 (ICE with "-O3 -m32" on x86_64-linux-gnu (internal compiler error: in pop_to_marker, at tree-ssa-scopedtables.c:71)) 2017-09-01 09:32:15 -06:00
tree-ssa-scopedtables.h re PR tree-optimization/81741 (Misoptimisation : replacing a constant field read access by a function call) 2017-08-22 09:13:09 -06:00
tree-ssa-sink.c
tree-ssa-strlen.c Turn SLOW_UNALIGNED_ACCESS into a target hook 2017-09-12 13:27:55 +00:00
tree-ssa-structalias.c tree-ssa-structalias.c (solve_graph): When propagating to successors update the graphs succ edges and avoid duplicate... 2017-08-17 12:10:11 +00:00
tree-ssa-tail-merge.c
tree-ssa-ter.c
tree-ssa-ter.h
tree-ssa-threadbackward.c tree-ssa-threadbackward.c (fsm_find_thread_path): Make GC vectors heap vectors. 2017-09-12 07:24:32 +00:00
tree-ssa-threadbackward.h
tree-ssa-threadedge.c
tree-ssa-threadedge.h
tree-ssa-threadupdate.c tree-ssa-threadbackward.c (fsm_find_thread_path): Make GC vectors heap vectors. 2017-09-12 07:24:32 +00:00
tree-ssa-threadupdate.h
tree-ssa-uncprop.c
tree-ssa-uninit.c
tree-ssa.c trans.c: Include header files. 2017-08-08 04:46:51 +00:00
tree-ssa.h
tree-ssanames.c [34/77] Add a SCALAR_INT_TYPE_MODE macro 2017-08-30 11:13:13 +00:00
tree-ssanames.h
tree-stdarg.c
tree-stdarg.h
tree-streamer-in.c [76/77] Add a scalar_mode_pod class 2017-08-30 11:20:55 +00:00
tree-streamer-out.c re PR go/78628 (GO fails to build a translation unit decl) 2017-08-21 10:29:00 +00:00
tree-streamer.c
tree-streamer.h
tree-switch-conversion.c Learn CFG cleanup to transform single case switches to gcond. 2017-09-05 08:12:27 +00:00
tree-tailcall.c Add a type_has_mode_precision_p helper function 2017-08-21 14:50:56 +00:00
tree-vect-data-refs.c Add LOOP_VINFO_MAX_VECT_FACTOR 2017-09-14 16:35:39 +00:00
tree-vect-generic.c Use vec<> for constant permute masks 2017-09-14 16:04:32 +00:00
tree-vect-loop-manip.c Use base inequality for some vector alias checks 2017-08-04 10:40:35 +00:00
tree-vect-loop.c Add LOOP_VINFO_MAX_VECT_FACTOR 2017-09-14 16:35:39 +00:00
tree-vect-patterns.c tree-vect-patterns.c (vect_pattern_recog_1): Use VECTOR_TYPE_P instead of VECTOR_MODE_P check. 2017-08-30 16:16:37 +00:00
tree-vect-slp.c Use vec<> for constant permute masks 2017-09-14 16:04:32 +00:00
tree-vect-stmts.c Add a vect_worthwhile_without_simd_p helper routine 2017-09-14 16:30:54 +00:00
tree-vectorizer.c trans.c: Include header files. 2017-08-08 04:46:51 +00:00
tree-vectorizer.h Add LOOP_VINFO_MAX_VECT_FACTOR 2017-09-14 16:35:39 +00:00
tree-vrp.c [62/77] Big machine_mode to scalar_int_mode replacement 2017-08-30 11:18:59 +00:00
tree-vrp.h tree-vrp.h: Add include guard. 2017-08-03 07:42:36 +00:00
tree.c Use vec<> in build_vector 2017-09-14 15:46:08 +00:00
tree.def
tree.h Use vec<> in build_vector 2017-09-14 15:46:08 +00:00
treestruct.def
tsan.c trans.c: Include header files. 2017-08-08 04:46:51 +00:00
tsan.h
tsystem.h
typeclass.h
typed-splay-tree.c
typed-splay-tree.h
ubsan.c [65/77] Add a SCALAR_TYPE_MODE macro 2017-08-30 11:19:29 +00:00
ubsan.h
valtrack.c Convert hard_regno_nregs to a function 2017-09-12 13:29:05 +00:00
valtrack.h
value-prof.c
value-prof.h
var-tracking.c Convert hard_regno_nregs to a function 2017-09-12 13:29:05 +00:00
varasm.c Convert hard_regno_nregs to a function 2017-09-12 13:29:05 +00:00
varasm.h
varpool.c Introduce TARGET_SUPPORTS_ALIASES 2017-08-11 08:14:54 +00:00
vec.c
vec.h
version.c
version.h
vmsdbg.h
vmsdbgout.c re PR go/78628 (GO fails to build a translation unit decl) 2017-08-21 10:29:00 +00:00
vtable-verify.c
vtable-verify.h
web.c
wide-int-print.cc
wide-int-print.h
wide-int.cc
wide-int.h [21/77] Replace SCALAR_INT_MODE_P checks with is_a <scalar_int_mode> 2017-08-30 11:11:02 +00:00
xcoff.h
xcoffout.c
xcoffout.h

README.Portability

Copyright (C) 2000-2017 Free Software Foundation, Inc.

This file is intended to contain a few notes about writing C code
within GCC so that it compiles without error on the full range of
compilers GCC needs to be able to compile on.

The problem is that many ISO-standard constructs are not accepted by
either old or buggy compilers, and we keep getting bitten by them.
This knowledge until now has been sparsely spread around, so I
thought I'd collect it in one useful place.  Please add and correct
any problems as you come across them.

I'm going to start from a base of the ISO C90 standard, since that is
probably what most people code to naturally.  Obviously using
constructs introduced after that is not a good idea.

For the complete coding style conventions used in GCC, please read
http://gcc.gnu.org/codingconventions.html


String literals
---------------

Some compilers like MSVC++ have fairly low limits on the maximum
length of a string literal; 509 is the lowest we've come across.  You
may need to break up a long printf statement into many smaller ones.


Empty macro arguments
---------------------

ISO C (6.8.3 in the 1990 standard) specifies the following:

If (before argument substitution) any argument consists of no
preprocessing tokens, the behavior is undefined.

This was relaxed by ISO C99, but some older compilers emit an error,
so code like

#define foo(x, y) x y
foo (bar, )

needs to be coded in some other way.


Avoid unnecessary test before free
----------------------------------

Since SunOS 4 stopped being a reasonable portability target,
(which happened around 2007) there has been no need to guard
against "free (NULL)".  Thus, any guard like the following
constitutes a redundant test:

  if (P)
    free (P);

It is better to avoid the test.[*]
Instead, simply free P, regardless of whether it is NULL.

[*] However, if your profiling exposes a test like this in a
performance-critical loop, say where P is nearly always NULL, and
the cost of calling free on a NULL pointer would be prohibitively
high, consider using __builtin_expect, e.g., like this:

  if (__builtin_expect (ptr != NULL, 0))
    free (ptr);



Trigraphs
---------

You weren't going to use them anyway, but some otherwise ISO C
compliant compilers do not accept trigraphs.


Suffixes on Integer Constants
-----------------------------

You should never use a 'l' suffix on integer constants ('L' is fine),
since it can easily be confused with the number '1'.


			Common Coding Pitfalls
			======================

errno
-----

errno might be declared as a macro.


Implicit int
------------

In C, the 'int' keyword can often be omitted from type declarations.
For instance, you can write

  unsigned variable;

as shorthand for

  unsigned int variable;

There are several places where this can cause trouble.  First, suppose
'variable' is a long; then you might think

  (unsigned) variable

would convert it to unsigned long.  It does not.  It converts to
unsigned int.  This mostly causes problems on 64-bit platforms, where
long and int are not the same size.

Second, if you write a function definition with no return type at
all:

  operate (int a, int b)
  {
    ...
  }

that function is expected to return int, *not* void.  GCC will warn
about this.

Implicit function declarations always have return type int.  So if you
correct the above definition to

  void
  operate (int a, int b)
  ...

but operate() is called above its definition, you will get an error
about a "type mismatch with previous implicit declaration".  The cure
is to prototype all functions at the top of the file, or in an
appropriate header.

Char vs unsigned char vs int
----------------------------

In C, unqualified 'char' may be either signed or unsigned; it is the
implementation's choice.  When you are processing 7-bit ASCII, it does
not matter.  But when your program must handle arbitrary binary data,
or fully 8-bit character sets, you have a problem.  The most obvious
issue is if you have a look-up table indexed by characters.

For instance, the character '\341' in ISO Latin 1 is SMALL LETTER A
WITH ACUTE ACCENT.  In the proper locale, isalpha('\341') will be
true.  But if you read '\341' from a file and store it in a plain
char, isalpha(c) may look up character 225, or it may look up
character -31.  And the ctype table has no entry at offset -31, so
your program will crash.  (If you're lucky.)

It is wise to use unsigned char everywhere you possibly can.  This
avoids all these problems.  Unfortunately, the routines in <string.h>
take plain char arguments, so you have to remember to cast them back
and forth - or avoid the use of strxxx() functions, which is probably
a good idea anyway.

Another common mistake is to use either char or unsigned char to
receive the result of getc() or related stdio functions.  They may
return EOF, which is outside the range of values representable by
char.  If you use char, some legal character value may be confused
with EOF, such as '\377' (SMALL LETTER Y WITH UMLAUT, in Latin-1).
The correct choice is int.

A more subtle version of the same mistake might look like this:

  unsigned char pushback[NPUSHBACK];
  int pbidx;
  #define unget(c) (assert(pbidx < NPUSHBACK), pushback[pbidx++] = (c))
  #define get(c) (pbidx ? pushback[--pbidx] : getchar())
  ...
  unget(EOF);

which will mysteriously turn a pushed-back EOF into a SMALL LETTER Y
WITH UMLAUT.


Other common pitfalls
---------------------

o Expecting 'plain' char to be either sign or unsigned extending.

o Shifting an item by a negative amount or by greater than or equal to
  the number of bits in a type (expecting shifts by 32 to be sensible
  has caused quite a number of bugs at least in the early days).

o Expecting ints shifted right to be sign extended.

o Modifying the same value twice within one sequence point.

o Host vs. target floating point representation, including emitting NaNs
  and Infinities in a form that the assembler handles.

o qsort being an unstable sort function (unstable in the sense that
  multiple items that sort the same may be sorted in different orders
  by different qsort functions).

o Passing incorrect types to fprintf and friends.

o Adding a function declaration for a module declared in another file to
  a .c file instead of to a .h file.