- 20 Jun, 2017 19 commits
-
-
2017-06-20 Thomas Preud'homme <thomas.preudhomme@arm.com> contrib/ * dg-cmp-results.sh: Keep test result lines rather than throwing header and summary to support sum files with multiple tools. From-SVN: r249422
Thomas Preud'homme committed -
* call.c (build_over_call): Allow a TARGET_EXPR from reference binding. From-SVN: r249420
Jason Merrill committed -
* cp-tree.h (CPTI_NELTS_IDENTIFIER): Delete. (nelts_identifier): Delete. * decl.c (initialize_predefined_identifiers): Remove nelts. From-SVN: r249419
Nathan Sidwell committed -
* config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Update. From-SVN: r249418
Uros Bizjak committed -
gcc/ * config/aarch64/aarch64-option-extensions.def (rcpc): New. * config/aarch64/aarch64.h (AARCH64_FL_RCPC): New. From-SVN: r249414
James Greenhalgh committed -
gcc/ * config/aarch64/aarch64-option-extensions.def (fp16): Fix expected feature string. From-SVN: r249411
James Greenhalgh committed -
gcc/ * config/aarch64/aarch64-cores.def: Rearrange to sort by architecture, then by implementer ID. * config/aarch64/aarch64-tune.md: Regenerate. From-SVN: r249410
James Greenhalgh committed -
libstdc++-v3: * testsuite/20_util/variant/index_type.cc: Allow for all ilp32 and lp64 targets. gcc/testsuite: * c-c++-common/fold-masked-cmp-1.c: Allow for i?86-*-* target. * c-c++-common/fold-masked-cmp-2.c: Likewise. * c-c++-common/fold-masked-cmp-3.c: Likewise. * g++.dg/cpp0x/alignas4.C: Allow for i?86-*-* target, don't restrict to x86_64-*-*-gnu. Skip scan-assembler on *-*-darwin*. * g++.dg/vect/pr70944.cc: Allow for i?86-*-* target. * gcc.dg/loop-invariant.c: Likewise. * gcc.dg/lto/pr70955_0.c: Likewise. * gcc.dg/tree-ssa/pr69196-1.c: Likewise. * gcc.dg/tree-ssa/pr79803.c: Likewise. * gfortran.dg/pr68078.f90: Allow for i?86-*-linux*. * g++.dg/debug/dwarf2/const2b.C: Allow for x86_64-*-* target. * gcc.dg/attr-ms_struct-1.c: Allow for all i?86-*-*, x86_64-*-* targets. * gcc.dg/attr-ms_struct-2.c: Likewise. * gcc.dg/attr-ms_struct-packed1.c: Likewise. * gcc.dg/bf-ms-layout.c: Likewise. * gcc.dg/bf-ms-layout-2.c: Likewise. * gcc.dg/pic-macro-define.c: Remove target restrictions. Require fpic support. * gcc.target/i386/bitfield1.c: Allow for all i?86-*-*, x86_64-*-* targets. * gcc.target/i386/bitfield2.c: Likewise. * gcc.target/i386/darwin-fpmath.c: Allow for x86_64-*-darwin* targets. * gfortran.dg/fmt_pf.f90: Remove i?86-*-solaris2.9* from xfail. From-SVN: r249409
Rainer Orth committed -
PR c++/67074 - namespace aliases * decl.c (duplicate_decls): Don't error here on mismatched namespace alias. * name-lookup.c (name_lookup::add_value): Matching namespaces are not ambiguous. (diagnose_name_conflict): Namespaces are never redeclarations. (update_binding): An alias can match a real namespace. PR c++/67074 * g++.dg/lookup/pr67074.C: New. * g++.dg/parse/namespace-alias-1.C: Adjust. From-SVN: r249408
Nathan Sidwell committed -
re PR sanitizer/81097 (UBSAN: false positive for not existing negation operator and a bogus message) 2017-06-20 Richard Biener <rguenther@suse.de> PR middle-end/81097 * fold-const.c (split_tree): Fold to type before negating. * c-c++-common/ubsan/pr81097.c: New testcase. From-SVN: r249407
Richard Biener committed -
Attempts to apply a removal or replacement fix-it hint to a source range that covers multiple lines currently lead to nonsensical results from the printing code in diagnostic-show-locus.c. We were already filtering them out in edit-context.c (leading to -fdiagnostics-generate-patch not generating any output for the whole TU). Reject attempts to add such fix-it hints within rich_location, fixing the diagnostic-show-locus.c issue. gcc/ChangeLog: * diagnostic-show-locus.c (selftest::test_fixit_deletion_affecting_newline): New function. (selftest::diagnostic_show_locus_c_tests): Call it. libcpp/ChangeLog: * include/line-map.h (class rich_location): Document that attempts to delete or replace a range *affecting* multiple lines will fail. * line-map.c (rich_location::maybe_add_fixit): Implement this restriction. From-SVN: r249403
David Malcolm committed -
PR target/80970 * config/m68k/m68k.md (bsetdreg, bchgdreg, bclrdreg): Use "=d" instead of "+d". From-SVN: r249401
Andreas Schwab committed -
2017-06-20 Richard Biener <rguenther@suse.de> * gcc.dg/vect/pr65947-9.c: Adjust. From-SVN: r249400
Richard Biener committed -
2017-06-20 Prakhar Bahuguna <prakhar.bahuguna@arm.com> gcc/ * config/arm/arm-c.c (arm_cpu_builtins): New block to define __ARM_FEATURE_COPROC according to support. gcc/testsuite/ * gcc.target/arm/acle/cdp.c: Add feature macro bitmap test. * gcc.target/arm/acle/cdp2.c: Likewise. * gcc.target/arm/acle/ldc.c: Likewise. * gcc.target/arm/acle/ldc2.c: Likewise. * gcc.target/arm/acle/ldc2l.c: Likewise. * gcc.target/arm/acle/ldcl.c: Likewise. * gcc.target/arm/acle/mcr.c: Likewise. * gcc.target/arm/acle/mcr2.c: Likewise. * gcc.target/arm/acle/mcrr.c: Likewise. * gcc.target/arm/acle/mcrr2.c: Likewise. * gcc.target/arm/acle/mrc.c: Likewise. * gcc.target/arm/acle/mrc2.c: Likewise. * gcc.target/arm/acle/mrrc.c: Likewise. * gcc.target/arm/acle/mrrc2.c: Likewise. * gcc.target/arm/acle/stc.c: Likewise. * gcc.target/arm/acle/stc2.c: Likewise. * gcc.target/arm/acle/stc2l.c: Likewise. * gcc.target/arm/acle/stcl.c: Likewise. From-SVN: r249399
Thomas Preud'homme committed -
tree-chkp.c (chkp_get_hard_register_var_fake_base_address): Rewritten to avoid overflow for > 32-bit pointers. * tree-chkp.c (chkp_get_hard_register_var_fake_base_address): Rewritten to avoid overflow for > 32-bit pointers. From-SVN: r249398
Jakub Jelinek committed -
PR sanitizer/81125 * ubsan.h (ubsan_encode_value): Workaround buggy clang++ parser by removing enum keyword. (ubsan_type_descriptor): Likewise. Formatting fix. From-SVN: r249397
Jakub Jelinek committed -
PR target/81121 * config/i386/i386.md (TARGET_USE_VECTOR_CONVERTS float si->{sf,df} splitter): Require TARGET_SSE2 in the condition. * gcc.target/i386/pr81121.c: New test. From-SVN: r249396
Jakub Jelinek committed -
[gcc] 2017-06-20 Michael Meissner <meissner@linux.vnet.ibm.com> PR target/79799 * config/rs6000/rs6000.c (rs6000_expand_vector_init): Add support for doing vector set of SFmode on ISA 3.0. * config/rs6000/vsx.md (vsx_set_v4sf_p9): Likewise. (vsx_set_v4sf_p9_zero): Special case setting 0.0f to a V4SF element. (vsx_insert_extract_v4sf_p9): Add an optimization for inserting a SFmode value into a V4SF variable that was extracted from another V4SF variable without converting the element to double precision and back to single precision vector format. (vsx_insert_extract_v4sf_p9_2): Likewise. [gcc/testsuite] 2017-06-20 Michael Meissner <meissner@linux.vnet.ibm.com> PR target/79799 * gcc.target/powerpc/pr79799-1.c: New test. * gcc.target/powerpc/pr79799-2.c: Likewise. * gcc.target/powerpc/pr79799-3.c: Likewise. * gcc.target/powerpc/pr79799-4.c: Likewise. * gcc.target/powerpc/pr79799-5.c: Likewise. From-SVN: r249395
Michael Meissner committed -
From-SVN: r249394
GCC Administrator committed
-
- 19 Jun, 2017 21 commits
-
-
* semantics.c (finish_if_stmt_cond): Call instantiate_non_dependent_expr. From-SVN: r249387
Jason Merrill committed -
* constexpr.c (clear_no_implicit_zero): New. (cxx_eval_call_expression): Call it. From-SVN: r249386
Jason Merrill committed -
PR c++/81124 PR c++/79766 * name-lookup.c (set_decl_namespace): Don't follow using directives and ignore using decls. Only check overly-explicit scope after discovering decl. * g++.dg/lookup/pr79766.C: New. * g++.dg/lookup/pr81124.C: New. * g++.dg/template/explicit6.C: Adjust. * g++.old-deja/g++.other/decl5.C: Adjust. From-SVN: r249385
Nathan Sidwell committed -
* g++.old-deja/g++.eh/badalloc1.C: Remove code path for -DSTACK_SIZE. 2017-06-19 Christophe Lyon <christophe.lyon@linaro.org> * g++.old-deja/g++.eh/badalloc1.C: Remove code path for -DSTACK_SIZE. From-SVN: r249384
Christophe Lyon committed -
* typeck2.c (store_init_value): Always call require_potential_constant_expression. * pt.c (convert_nontype_argument): Likewise. * constexpr.c (potential_constant_expression_1): Adjust message. Use decl_maybe_constant_var_p instead of decl_constant_var_p. * decl2.c (decl_maybe_constant_var_p): Consider initializer. From-SVN: r249382
Jason Merrill committed -
tree-ssa-structalias.c (get_constraint_for_ptr_offset): Multiply in UWHI to avoid undefined overflow. * tree-ssa-structalias.c (get_constraint_for_ptr_offset): Multiply in UWHI to avoid undefined overflow. From-SVN: r249381
Jakub Jelinek committed -
PR sanitizer/81125 * ubsan.h (enum ubsan_encode_value_phase): New. (ubsan_encode_value): Change second argument to enum ubsan_encode_value_phase with default value of UBSAN_ENCODE_VALUE_GENERIC. * ubsan.c (ubsan_encode_value): Change second argument to enum ubsan_encode_value_phase PHASE from bool IN_EXPAND_P, adjust uses, for UBSAN_ENCODE_VALUE_GENERIC use just create_tmp_var_raw instead of create_tmp_var and use a TARGET_EXPR. (ubsan_expand_bounds_ifn, ubsan_build_overflow_builtin, instrument_bool_enum_load, ubsan_instrument_float_cast): Adjust ubsan_encode_value callers. * g++.dg/ubsan/pr81125.C: New test. From-SVN: r249376
Jakub Jelinek committed -
PR sanitizer/81111 * ubsan.c (ubsan_encode_value): If current_function_decl is NULL, use create_tmp_var_raw instead of create_tmp_var, mark it addressable just by setting TREE_ADDRESSABLE on the result and use a TARGET_EXPR. * g++.dg/ubsan/pr81111.C: New test. From-SVN: r249375
Jakub Jelinek committed -
2017-06-19 Richard Biener <rguenther@suse.de> PR middle-end/81118 * tree-cfgcleanup.c (cleanup_tree_cfg_noloop): Clear niter estimates if we changed anything. * gcc.dg/torture/pr81118.c: New testcase. From-SVN: r249374
Richard Biener committed -
re PR bootstrap/80887 (gnat bootstrap fails at s-regpat.o: raised STORAGE_ERROR : stack overflow or erroneous memory access) 2017-06-19 Richard Biener <rguenther@suse.de> PR tree-optimization/80887 c/ * gimple-parser.c (c_parser_gimple_postfix_expression): Handle negated _Literals to parse _Literal (int) -1. * tree-ssa-sccvn.c (mprts_hook_cnt): New global. (vn_lookup_simplify_result): Allow only mprts_hook_cnt succesful simplified lookups, then reset mprts_hook. (vn_nary_build_or_lookup_1): Set mprts_hook_cnt to 9 before simplifying. (try_to_simplify): Likewise. * gcc.dg/tree-ssa/pr80887.c: New testcase. From-SVN: r249373
Richard Biener committed -
re PR ipa/81112 (internal compiler error: tree check: expected integer_cst, have range_expr in get_len, at tree.h:5321) PR ipa/81112 * g++.dg/torture/pr81112.C: Add -Wno-psabi to dg-additional-options. From-SVN: r249371
Jakub Jelinek committed -
* pt.c (coerce_template_parms): Fix indentation. (tsubst_decl): Remove repeated SET_DECL_RTL. Move VAR_P handling in to single block. From-SVN: r249370
Nathan Sidwell committed -
PR c++/81119 * name-lookup.c (update_binding): Only warn about constructors hidden by functions. PR c++/81119 * g++.dg/warn/pr81119.C: New. From-SVN: r249369
Nathan Sidwell committed -
2017-06-19 Martin Liska <mliska@suse.cz> PR sanitizer/80879 * gimplify.c (gimplify_switch_expr): Initialize live_switch_vars for SWITCH_BODY == STATEMENT_LIST. 2017-06-19 Martin Liska <mliska@suse.cz> PR sanitizer/80879 * gcc.dg/asan/use-after-scope-switch-4.c: New test. From-SVN: r249368
Martin Liska committed -
2017-06-19 Martin Liska <mliska@suse.cz> * bootstrap-lto-noplugin.mk: Enable -flto in all PGO stages. * bootstrap-lto.mk: Likewise. From-SVN: r249367
Martin Liska committed -
2017-06-19 Martin Liska <mliska@suse.cz> * doc/install.texi: Document that PGO runs in 4 stages. 2017-06-19 Martin Liska <mliska@suse.cz> * Makefile.def: Define 4 stages PGO bootstrap. * Makefile.tpl: Define FLAGS. * Makefile.in: Regenerate. From-SVN: r249366
Martin Liska committed -
2017-06-19 Martin Liska <mliska@suse.cz> PR ipa/80732 * attribs.c (make_dispatcher_decl): Do not append '.ifunc' to dispatcher function name. * multiple_target.c (replace_function_decl): New function. (create_dispatcher_calls): Redirect both edges and references. 2017-06-19 Martin Liska <mliska@suse.cz> PR ipa/80732 * gcc.target/i386/mvc5.c: Scan indirect_function. * gcc.target/i386/mvc7.c: Likewise. * gcc.target/i386/pr80732.c: New test. From-SVN: r249365
Martin Liska committed -
re PR c++/66093 (g++ produces incorrect output on code with constexpr function initializing class with private fields) 2017-06-19 Paolo Carlini <paolo.carlini@oracle.com> PR c++/66093 * g++.dg/cpp1y/constexpr-66093.C: New. From-SVN: r249364
Paolo Carlini committed -
* config/abi/post/i386-solaris2.10/baseline_symbols.txt: Regenerate. * config/abi/post/i386-solaris2.10/amd64/baseline_symbols.txt: Likewise. * config/abi/post/i386-solaris2.11/baseline_symbols.txt: Likewise. * config/abi/post/i386-solaris2.11/amd64/baseline_symbols.txt: Likewise. * config/abi/post/sparc-solaris2.10/baseline_symbols.txt: Likewise. * config/abi/post/sparc-solaris2.10/sparcv9/baseline_symbols.txt: Likewise. * config/abi/post/sparc-solaris2.11/baseline_symbols.txt: Likewise. * config/abi/post/sparc-solaris2.11/sparcv9/baseline_symbols.txt: Likewise. From-SVN: r249362
Rainer Orth committed -
From-SVN: r249361
Jan Hubicka committed -
* profile-count.c (profile_count::dump): Dump quality. (profile_count::differs_from_p): Update for unsigned val. * profile-count.h (profile_count_quality): New enum. (profile_count): Turn m_val to 62bit unsigned, add quality tracking. From-SVN: r249360
Jan Hubicka committed
-