1. 09 Jul, 2018 1 commit
  2. 08 Jul, 2018 1 commit
  3. 07 Jul, 2018 10 commits
    • RISC-V: Finish Ada port. · 11fcb8f2
      	gcc/
      	* config/riscv/riscv.c (TARGET_CUSTOM_FUNCTION_DESCRIPTORS): New.
      
      From-SVN: r262501
      Jim Wilson committed
    • Fix sigsegv on -fdump-tree-all-enumerate_locals · bb120fb0
      2018-07-07  Tom de Vries  <tdevries@suse.de>
      
      	* tree-dfa.c (dump_enumerated_decls): Handle cfun->cfg == NULL.
      
      	* gcc.misc-tests/options.exp (check_for_all_options): Clean up dump
      	files.
      	(get_dump_flags): New proc.
      	(toplevel): Test all dump flags.
      
      From-SVN: r262500
      Tom de Vries committed
    • c-ada-spec.c (to_ada_name): Remove index parameter. · e730a0ef
      	* c-ada-spec.c (to_ada_name): Remove index parameter.
      	(pp_ada_tree_identifier): Likewise.
      	(dump_ada_macros): Adjust call to to_ada_name.
      	(struct overloaded_name_hash): Delete.
      	(struct overloaded_name_hasher): Likewise.
      	(overloaded_names): Likewise.
      	(compute_overloading_index): Likewise.
      	(dump_ada_decl_name): Do not call compute_overloading_index and
      	adjust calls to pp_ada_tree_identifier.
      	(dump_ada_double_name): Adjust calls to pp_ada_tree_identifier.
      	(dump_ada_import): Add spc parameter and switch to aspect syntax.
      	(dump_ada_function_declaration): Adjust call to pp_ada_tree_identifier.
      	(dump_ada_enum_type): Remove type and display_convention parameters.
      	Adjust calls to pp_ada_tree_identifier.
      	(dump_ada_node): Likewise and for dump_ada_structure.
      	(dump_nested_type) <ENUMERAL_TYPE>: Adjust call to dump_ada_enum_type
      	and tidy up.
      	<RECORD_TYPE>: Adjust call to dump_ada_structure and switch to aspect
      	syntax.
      	(print_constructor): Adjust call to pp_ada_tree_identifier.
      	(print_destructor): Likewise.
      	(dump_ada_declaration): Switch to aspect syntax.
      	(dump_ada_structure): Likewise and tidy up.  Replace display_convention
      	parameter with nested parameter.
      	(dump_ads): Emit pragma Ada_2012 in lieu of pragma Ada_2005.
      	(dump_ada_specs): Do not delete overloaded_names table.
      
      From-SVN: r262499
      Eric Botcazou committed
    • decl.c (gnat_to_gnu_entity): Add GNAT_DECL local variable and use it throughout. · 87668878
      	* gcc-interface/decl.c (gnat_to_gnu_entity): Add GNAT_DECL local
      	variable and use it throughout.
      	<E_Variable>: If the nominal subtype of the object is unconstrained,
      	compute the Ada size separately and put in on the padding type if the
      	size is not fixed.
      	<E_Record_Type>: Minor tweak.
      	* gcc-interface/misc.c (gnat_type_max_size): Rename max_size_unit
      	into max_size_unit throughout.
      
      From-SVN: r262498
      Eric Botcazou committed
    • gigi.h (add_decl_expr): Adjust prototype. · 56b8aa0c
      	* gcc-interface/gigi.h (add_decl_expr): Adjust prototype.
      	* gcc-interface/decl.c (gnat_to_gnu_entity): Remove useless test.
      	* gcc-interface/trans.c (add_stmt_with_node): Remove exceptions.
      	(add_decl_expr): Change type of second parameter and rename it.
      	(renaming_from_instantiation_p): New function moved from...
      	(set_expr_location_from_node): Test for exceptions here and add one
      	for actual subtypes built for unconstrained composite actuals.
      	* gcc-interface/utils.c (renaming_from_instantiation_p): ...here.
      
      From-SVN: r262497
      Eric Botcazou committed
    • trans.c (lvalue_required_p): Remove ALIASED parameter and adjust recursive calls. · 86da71db
      	* gcc-interface/trans.c (lvalue_required_p): Remove ALIASED parameter
      	and adjust recursive calls.
      	(Identifier_to_gnu): Adjust calls to lvalue_required_p.
      	(gnat_to_gnu): Likewise.
      
      From-SVN: r262496
      Eric Botcazou committed
    • decl.c (gnat_to_gnu_param): Minor tweak. · 71836434
      	* gcc-interface/decl.c (gnat_to_gnu_param): Minor tweak.
      	(gnat_to_gnu_subprog_type): New pure_flag local variable.  Set it for
      	a pure Ada function with a by-ref In parameter.  Propagate it onto the
      	function type by means of the TYPE_QUAL_RESTRICT flag.
      	* gcc-interface/utils.c (finish_subprog_decl): Set DECL_PURE_P if the
      	function type has the TYPE_QUAL_RESTRICT flag set.
      
      From-SVN: r262495
      Eric Botcazou committed
    • tree-vrp.c (vrp_int_const_binop): Change overflow type to overflow_type. · 4a669ac3
      	* tree-vrp.c (vrp_int_const_binop): Change overflow type to
      	overflow_type.
      	(combine_bound): Use wide-int overflow calculation instead of
      	rolling our own.
      	* calls.c (maybe_warn_alloc_args_overflow): Change overflow type to
      	overflow_type.
      	* fold-const.c (int_const_binop_2): Same.
      	(extract_muldiv_1): Same.
      	(fold_div_compare): Same.
      	(fold_abs_const): Same.
      	* match.pd: Same.
      	* poly-int.h (add): Same.
      	(sub): Same.
      	(neg): Same.
      	(mul): Same.
      	* predict.c (predict_iv_comparison): Same.
      	* profile-count.c (slow_safe_scale_64bit): Same.
      	* simplify-rtx.c (simplify_const_binary_operation): Same.
      	* tree-chrec.c (tree_fold_binomial): Same.
      	* tree-data-ref.c (split_constant_offset_1): Same.
      	* tree-if-conv.c (idx_within_array_bound): Same.
      	* tree-scalar-evolution.c (iv_can_overflow_p): Same.
      	* tree-ssa-phiopt.c (minmax_replacement): Same.
      	* tree-vect-loop.c (is_nonwrapping_integer_induction): Same.
      	* tree-vect-stmts.c (vect_truncate_gather_scatter_offset): Same.
      	* vr-values.c (vr_values::adjust_range_with_scev): Same.
      	* wide-int.cc (wi::add_large): Same.
      	(wi::mul_internal): Same.
      	(wi::sub_large): Same.
      	(wi::divmod_internal): Same.
      	* wide-int.h: Change overflow type to overflow_type for neg, add,
      	mul, smul, umul, div_trunc, div_floor, div_ceil, div_round,
      	mod_trunc, mod_ceil, mod_round, add_large, sub_large,
      	mul_internal, divmod_internal.
      	(overflow_type): New enum.
      	(accumulate_overflow): New.
      
      cp/
      	* decl.c (build_enumerator): Change overflow type to overflow_type.
      	* init.c (build_new_1): Same.
      
      From-SVN: r262494
      Aldy Hernandez committed
    • re PR target/84711 (AArch32 big-endian fails when taking subreg of a vector mode to a scalar mode.) · 962b3564
      	PR target/84711
      	* gcc.dg/vect/pr84711.c: Remove unnecessary sse
      	dg-require-effective-target.  Add -msse not just on i386-*, but
      	on all i?86-* and x86_64-*.
      
      From-SVN: r262493
      Jakub Jelinek committed
    • Daily bump. · 2482ed77
      From-SVN: r262492
      GCC Administrator committed
  4. 06 Jul, 2018 22 commits
  5. 05 Jul, 2018 6 commits