1. 11 Jul, 2012 5 commits
    • expr.h (can_move_by_pieces): Move prototype from here ... · 6bdf3519
      gcc/
      	* expr.h (can_move_by_pieces): Move prototype from here ...
      	* tree.h (can_move_by_pieces): ... to here.
      	* optabs.h (set_widening_optab_handler): Use XCNEW.
      	* gimplify.c: Do not include expr.h.
      
      	* toplev.c: Do not include dwarf2out.h.
      	* config/ia64/ia64.c: Likewise.
      	* config/sparc/sparc.c: Likewise.
      	* config/sparc/t-sparc (sparc.o): Fix dependencies.
      
      	* Makefile.in (toplev.o): Fix dependencies
      	(c-family/c-gimplify.o): Likewise.
      	(c-family/c-common.o): Likewise.
      
      c-family/
      	* c-gimplify.c: Do not include basic-block.h.
      	* c-common.c: Do not include linfuncs.h.
      
      cp/
      	* method.c: Do not include tree-pass.h.
      
      fortran/
      	* trans.c: Do not include defaults.h.
      	* trans-intrinsic.c: Likewise.
      
      java/
      	* decl.c: Do not include libfuncs.h.
      	* class.c: Do not include defaults.h.
      	* jvgenmain.c: Likewise.
      	* magnle.c: Likewise.
      	* Make-lang.in (decl.o): Fix dependencies.
      
      From-SVN: r189425
      Steven Bosscher committed
    • basic-block.h (struct edge_def): Use basic_block instead of basic_block_def *. · b8244d74
      	* basic-block.h (struct edge_def): Use basic_block instead of
      	basic_block_def *.
      	* cfgloop.h (struct loop_exit, struct loop): Likewise.
      	* gengenrtl.c (type_from_format): Likewise.  Also for 'tree'
      	instead of union tree_node *.
      	* rtl.h (union rtunion_def, emit_insn_before_noloc,
      	emit_insn_after_noloc, add_insn_before, add_insn_after,
      	debug_bb_slim): Likewise.
      	* tree-inline.h (struct copy_body_data): Likewise.
      	* sched-rgn.c (dump_region_dot): Likewise.
      	* gimple.h (struct gimple_statement_base, gimple_set_bb,
      	gsi_move_to_bb_end): Likewise.
      	* sched-vis.c (debug_bb_slim): Likewise.
      	(debug_bb_n_slim): Likewise.
      	* config/mn10300/mn10300.c (mn10300_insert_setlb_lcc): Likewise.
      	(mn10300_block_contains_call):
      
      From-SVN: r189424
      Steven Bosscher committed
    • re PR target/53859 (ICE when calculate insn latency for armv7e-m arch in O2 level) · c48acc4f
      2012-07-10  Greta Yorsh  <Greta.Yorsh@arm.com>
      
      gcc/
      	PR target/53859
      	* config/arm/arm.c (arm_early_load_addr_dep): Handle new
      	epilogue patterns.
      
      gcc/testsuite
      
      	PR target/53859
      	* gcc.target/arm/pr53859.c: New test.
      
      From-SVN: r189423
      Greta Yorsh committed
    • Daily bump. · 2ece515a
      From-SVN: r189420
      GCC Administrator committed
  2. 10 Jul, 2012 16 commits
    • re PR target/53886 (Seg fault in sh_insn_length_adjustment) · b6d10335
      	PR target/53886
      	* gcc.c-torture/compile/pr53886.c: New.
      
      From-SVN: r189417
      Oleg Endo committed
    • re PR target/53911 ([SH] Improve displacement addressing) · c03cfe1e
      	PR target/53911
      	* config/sh/sh.md: Remove displacement addresssing related splits.
      
      From-SVN: r189416
      Oleg Endo committed
    • Implement -freuse-stack= option · 87e2a8fd
      From-SVN: r189413
      Xinliang David Li committed
    • arm.md (movsi): Don't split symbol refs here. · 2f011375
      2012-07-10  Julian Brown  <julian@codesourcery.com>
      
      	* config/arm/arm.md (movsi): Don't split symbol refs here.
      	(define_split): New.
      
      From-SVN: r189411
      Julian Brown committed
    • re PR bootstrap/53913 (resource.c:1179:5: error: 'current_function_decl'… · 175aed00
      re PR bootstrap/53913 (resource.c:1179:5: error: 'current_function_decl' undeclared broke m68k bootstrap)
      
      PR bootstrap/53913
      * config/m68k/m68k.c (m68k_epilogue_uses): New.
      * config/m68k/m68k.h (EPILOGUE_USES): Use it.
      * config/m68k/m68k-protos.h (m68k_epilogue_uses): Add prototype.
      
      From-SVN: r189410
      Andreas Schwab committed
    • Zap now unused builtin_mul_widen_even/odd target hooks · 30a7bac9
              * target.def (builtin_mul_widen_even, builtin_mul_widen_odd): Remove.
              * system.h (TARGET_VECTORIZE_BUILTIN_MUL_WIDEN_EVEN): Poison.
              (TARGET_VECTORIZE_BUILTIN_MUL_WIDEN_ODD): Poison.
              * config/i386/i386.c (IX86_BUILTIN_VEC_WIDEN_SMUL_ODD_V4SI): Remove.
              (IX86_BUILTIN_VEC_WIDEN_SMUL_ODD_V8SI): Remove.
              (IX86_BUILTIN_VEC_WIDEN_UMUL_ODD_V4SI): Remove.
              (IX86_BUILTIN_VEC_WIDEN_UMUL_ODD_V8SI): Remove.
              (IX86_BUILTIN_VEC_WIDEN_SMUL_EVEN_V4SI): Remove.
              (IX86_BUILTIN_VEC_WIDEN_UMUL_EVEN_V4SI): Remove.
              (IX86_BUILTIN_VEC_WIDEN_UMUL_EVEN_V8SI): Remove.
              (bdesc_args): Remove entries to match.
              (ix86_builtin_mul_widen_even, ix86_builtin_mul_widen_odd): Remove.
              (TARGET_VECTORIZE_BUILTIN_MUL_WIDEN_EVEN): Remove.
              (TARGET_VECTORIZE_BUILTIN_MUL_WIDEN_ODD): Remove.
              * config/rs6000/rs6000.c (rs6000_builtin_mul_widen_even): Remove.
              (rs6000_builtin_mul_widen_odd): Remove.
              (TARGET_VECTORIZE_BUILTIN_MUL_WIDEN_EVEN): Remove.
              (TARGET_VECTORIZE_BUILTIN_MUL_WIDEN_ODD): Remove.
              * config/spu/spu.c (spu_builtin_mul_widen_even): Remove.
              (spu_builtin_mul_widen_odd): Remove.
              (TARGET_VECTORIZE_BUILTIN_MUL_WIDEN_EVEN): Remove.
              (TARGET_VECTORIZE_BUILTIN_MUL_WIDEN_ODD): Remove.
              * doc/tm.texi.in: Don't document the removed hooks.
      
      From-SVN: r189409
      Richard Henderson committed
    • Use VEC_WIDEN_MULT_EVEN/ODD_EXPR in supportable_widening_operation · 6ae6116f
              * tree-vect-stmts.c (supportable_widening_operation): Expand
              WIDEN_MULT_EXPR via VEC_WIDEN_MULT_EVEN/ODD_EXPR if possible.
      
      From-SVN: r189408
      Richard Henderson committed
    • Move vector highpart emulation to the optabs layer · 00f07b86
              * expmed.c (expmed_mult_highpart): Rename from expand_mult_highpart.
              (expmed_mult_highpart_optab): Rename from expand_mult_highpart_optab.
              * optabs.c (can_mult_highpart_p): New.
              (expand_mult_highpart): New.
              * expr.c (expand_expr_real_2) [MULT_HIGHPART_EXPR): Use it.
              * tree-vect-generic.c (expand_vector_operations_1): Don't expand
              by pieces if can_mult_highpart_p.
              (expand_vector_divmod): Use can_mult_highpart_p and always
              generate MULT_HIGHPART_EXPR.
              * tree-vect-patterns.c (vect_recog_divmod_pattern): Likewise.
              * tree-vect-stmts.c (vectorizable_operation): Likewise.
      
      From-SVN: r189407
      Richard Henderson committed
    • spu: Rename patterns for vec_widen_<s>mult_even/odd_<mode> · 9283726f
              * config/spu/spu-builtins.md (spu_mpy): Move to spu.md.
              (spu_mpyu, spu_mpyhhu, spu_mpyhh): Likewise.
              * config/spu/spu.md (vec_widen_smult_odd_v8hi): Rename from spu_mpy.
              (vec_widen_umult_odd_v8hi): Rename from spu_mpyu.
              (vec_widen_smult_even_v8hi): Rename from spu_mpyhh.
              (vec_widen_umult_even_v8hi): Rename from spu_mpyhhu.
              * config/spu/spu-builtins.def: Update pattern names to match.
      
      From-SVN: r189406
      Richard Henderson committed
    • rs6000: Rename patterns for vec_widen_<s>mult_even/odd_<mode> · 2371eaec
              * config/rs6000/altivec.md (vec_widen_umult_even_v16qi): Rename
              from altivec_vmuleub.
              (vec_widen_smult_even_v16qi): Rename from altivec_vmulesb.
              (vec_widen_umult_even_v8hi): Rename from altivec_vmuleuh.
              (vec_widen_smult_even_v8hi): Rename from altivec_vmulesh.
              (vec_widen_umult_odd_v16qi): Rename from altivec_vmuloub.
              (vec_widen_smult_odd_v16qi): Rename from altivec_vmulosb.
              (vec_widen_umult_odd_v8hi): Rename from altivec_vmulouh.
              (vec_widen_smult_odd_v8hi): Rename from altivec_vmulosh.
              * config/rs6000/rs6000-builtin.def: Update pattern names to match.
      
      From-SVN: r189405
      Richard Henderson committed
    • i386: Rename patterns for vec_widen_<s>mult_even/odd_<mode> · c6b37fab
              * config/i386/sse.md (vec_widen_umult_even_v8si): Rename from
              avx2_umulv4siv4di3.
              (vec_widen_umult_even_v4si): Rename from sse2_umulv2siv2di3.
              (vec_widen_smult_even_v8si): Rename from avx2_mulv4siv4di3.
              (mulv4si3): Remove XOP test shadowed by SSE4 test.
              * config/i386/i386.c (bdesc_args): Update pattern names.
              (ix86_expand_sse2_mulvxdi3): Likewise.
              (ix86_expand_mul_widen_evenodd): Likewise.  Remove XOP test
              shadowed by SSE4 test.
      
      From-SVN: r189404
      Richard Henderson committed
    • Add VEC_WIDEN_MULT_EVEN/ODD_EXPR · 3f30a9a6
              * tree.def (VEC_WIDEN_MULT_EVEN_EXPR, VEC_WIDEN_MULT_ODD_EXPR): New.
              * cfgexpand.c (expand_debug_expr): Handle them.
              * expr.c (expand_expr_real_2): Likewise.
              * fold-const.c (fold_binary_loc): Likewise.
              * gimple-pretty-print.c (dump_binary_rhs): Likewise.
              * optabs.c (optab_for_tree_code): Likewise.
              * tree-cfg.c (verify_gimple_assign_binary): Likewise.
              * tree-inline.c (estimate_operator_cost): Likewise.
              * tree-pretty-print.c (dump_generic_node): Likewise.
              * tree.c (commutative_tree_code): Likewise.
              * tree-vect-generic.c (expand_vector_operations_1): Likewise.
              Handle type change before looking up optab.
              * optabs.h (OTI_vec_widen_umult_even, OTI_vec_widen_umult_odd): New.
              (OTI_vec_widen_smult_even, OTI_vec_widen_smult_odd): New.
              (vec_widen_umult_even_optab, vec_widen_umult_odd_optab): New.
              (vec_widen_smult_even_optab, vec_widen_smult_odd_optab): New.
              * genopinit.c (optabs): Initialize them.
              * doc/md.texi: Document them.
      
      From-SVN: r189403
      Richard Henderson committed
    • tree.h (phi_arg_d): New field. · e53a3e77
      2012-07-10  Dehao Chen  <dehao@google.com>
      
      	* tree.h (phi_arg_d): New field.
      	* tree-flow-inline.h (gimple_phi_arg_block): New function.
      	(gimple_phi_arg_block_from_edge): New function.
      	(gimple_phi_arg_set_block): New function.
      	(gimple_phi_arg_has_block): New function.
      	(redirect_edge_var_map_block): New function.
      	* tree-flow.h (_edge_var_map): New field.
      	* tree-ssa-live.c (remove_unused_locals): Mark phi_arg's block
      	as used.
      	* tree-eh.c (cleanup_empty_eh_merge_phis): Add block debug info for
      	redirect_edge_var_map_add.
      	* tree-outof-ssa.c (_elim_graph): New field.
      	(insert_partition_copy_on_edge): New parameter.
      	(insert_value_copy_on_edge): New parameter.
      	(insert_rtx_to_part_on_edge): New parameter.
      	(insert_part_to_rtx_on_edge): New parameter.
      	(elim_graph_add_edge): New parameter.
      	(elim_graph_remove_succ_edge): New parameter.
      	(FOR_EACH_ELIM_GRAPH_SUCC): New parameter.
      	(FOR_EACH_ELIM_GRAPH_PRED): New parameter.
      	(new_elim_graph): Add block debug info.
      	(clear_elim_graph): Likewise.
      	(delete_elim_graph): Likewise.
      	(elim_graph_add_node): Likewise.
      	(elim_graph_add_edge): Likewise.
      	(elim_graph_remove_succ_edge): Likewise.
      	(eliminate_build): Likewise.
      	(elim_forward): Likewise.
      	(elim_unvisited_predecessor): Likewise.
      	(elim_backward): Likewise.
      	(elim_create): Likewise.
      	(eliminate_phi): Likewise.
      	(insert_backedge_copies): Likewise.
      	* tree-into-ssa.c (insert_phi_nodes_for): Add block debug info for
      	add_phi_arg.
      	(rewrite_add_phi_arguments): Likewise.
      	* tree-ssa-loop-im.c (execute_sm_if_changed): Likewise.
      	* tree-ssa-tail-merge.c (replace_block_by): Likewise.
      	* tree-ssa-threadupdate.c (copy_phi_args): Likewise.
      	* tree-loop-distribution.c (update_phis_for_loop_copy): Likewise.
      	* tree-ssa-loop-manip.c (create_iv): Likewise.
      	(add_exit_phis_edge): Likewise.
      	(split_loop_exit_edge): Likewise.
      	(copy_phi_node_args): Likewise.
      	(tree_transform_and_unroll_loop): Likewise.
      	* value-prof.c (gimple_ic): Likewise.
      	(gimple_stringop_fixed_value): Likewise.
      	* tree-tailcall.c (add_successor_phi_arg): Likewise.
      	(eliminate_tail_call): Likewise.
      	(create_tailcall_accumulator): Likewise.
      	(tree_optimize_tail_calls_1): Likewise.
      	* tree-phinodes.c (add_phi_arg): Likewise.
      	(make_phi_node): Likewise.
      	(resize_phi_node): Likewise.
      	(remove_phi_arg_num): Likewise.
      	* omp-low.c (expand_parallel_call): Likewise.
      	(expand_omp_for_static_chunk): Likewise.
      	* tree-vect-loop-manip.c (slpeel_update_phis_for_duplicate_loop):
      	Likewise.
      	(slpeel_update_phi_nodes_for_guard1): Likewise.
      	(slpeel_update_phi_nodes_for_guard2): Likewise.
      	(slpeel_tree_duplicate_loop_to_edge_cfg): Likewise.
      	(set_prologue_iterations): Likewise.
      	(slpeel_tree_peel_loop_to_edge): Likewise.
      	(vect_loop_versioning): Likewise.
      	* tree-parloops.c (create_phi_for_local_result): Likewise.
      	(transform_to_exit_first_loop): Likewise.
      	(create_parallel_loop): Likewise.
      	* ipa-split.c (split_function): Likewise.
      	* tree-vect-loop.c (get_initial_def_for_induction): Likewise.
      	(vect_create_epilog_for_reduction): Likewise.
      	* tree-vect-data-refs.c (vect_setup_realignment): Likewise.
      	* graphite-scop-detection.c (canonicalize_loop_closed_ssa): Likewise.
      	* tree-ssa-phiopt.c (cond_store_replacement): Likewise.
      	(cond_if_else_store_replacement_1): Likewise.
      	* tree-cfgcleanup.c (remove_forwarder_block): Likewise.
      	(remove_forwarder_block_with_phi): Likewise.
      	* tree-ssa-pre.c (insert_into_preds_of_block): Likewise.
      	* tree-predcom.c (initialize_root_vars): Likewise.
      	(initialize_root_vars_lm): Likewise.
      	* sese.c (sese_add_exit_phis_edge): Likewise.
      	* tree-ssa-dce.c (forward_edge_to_pdom): Likewise.
      	* tree-ssa.c (flush_pending_stmts): Likewise.
      	(redirect_edge_var_map_add): Likewise.
      	(ssa_redirect_edge): Likewise.
      	* gimple-streamer-in.c (input_phi): Likewise.
      	* tree-vect-stmts.c (vectorizable_load): Likewise.
      	* tree-inline.c (copy_phis_for_bb): Likewise.
      	* tree-ssa-phiprop.c (phiprop_insert_phi): Likewise.
      	* tree-switch-conversion.c (fix_phi_nodes): Likewise.
      	* tree-cfg.c (reinstall_phi_args): Likewise.
      	(gimple_make_forwarder_block): Likewise.
      	(add_phi_args_after_copy_edge): Likewise.
      	(gimple_duplicate_sese_tail): Likewise.
      
      From-SVN: r189402
      Dehao Chen committed
    • Daily bump. · 1ee4995f
      From-SVN: r189401
      GCC Administrator committed
    • DR 1402 PR c++/53733 · 55e5bf21
      	DR 1402
      	PR c++/53733
      	* cp-tree.h (FNDECL_SUPPRESS_IMPLICIT_DECL): New.
      	(struct lang_decl_fn): Add suppress_implicit_decl field.
      	* method.c (implicitly_declare_fn): Check it.
      	(process_subob_fn): Add no_implicit_p parm.
      	(walk_field_subobs, synthesized_method_walk): Likewise.
      	(maybe_explain_implicit_delete): Adjust.
      	(explain_implicit_non_constexpr): Adjust.
      
      From-SVN: r189396
      Jason Merrill committed
    • method.c (synthesized_method_walk): Avoid changing EH spec based on cleanups in other places, too. · 60b9991b
      	* method.c (synthesized_method_walk): Avoid changing
      	EH spec based on cleanups in other places, too.
      
      From-SVN: r189395
      Jason Merrill committed
  3. 09 Jul, 2012 19 commits
    • re PR target/53886 (Seg fault in sh_insn_length_adjustment) · 83d88a6d
      	PR target/53886
      	* config/sh/sh.c (sequence_insn_p): New function.
      	(find_barrier, sh_insn_length_adjustment): Use it.
      
      From-SVN: r189394
      Oleg Endo committed
    • error.c (lang_decl_name): Use TFF_UNQUALIFIED_NAME flag. · 924ef62b
      gcc/cp/ChangeLog
      2012-07-09  Sterling Augustine  <saugustine@google.com>
      
      	* error.c (lang_decl_name): Use TFF_UNQUALIFIED_NAME flag.
      
      gcc/testsuite/ChangeLog
      2012-07-09  Sterling Augustine  <saugustine@google.com>
      
      	* g++.dg/debug/dwarf2/pubnames-2.C: New.
      
      From-SVN: r189392
      Sterling Augustine committed
    • re PR target/53283 (Many failures on x86_64-apple-darwin10 after revision 186789) · 1cd130b0
      
      	PR target/53283
      	* config/i386/i386.c (ix86_fold_builtin): Call SUBTARGET_FOLD_BUILTIN
      	if defined.
      	* config/darwin.h: Rename TARGET_FOLD_BUILTIN to
      	SUBTARGET_FOLD_BUILTIN.
      	* config/rs6000/darwin.h: Map TARGET_FOLD_BUILTIN onto
      	SUBTARGET_FOLD_BUILTIN.
      
      From-SVN: r189391
      Iain Sandoe committed
    • darwin.h (SUBTARGET_C_COMMON_OVERRIDE_OPTIONS): Move NeXT runtime exceptions… · f29234df
      darwin.h (SUBTARGET_C_COMMON_OVERRIDE_OPTIONS): Move NeXT runtime exceptions model setting from here ...
      
      
      
      	* config/darwin.h (SUBTARGET_C_COMMON_OVERRIDE_OPTIONS): Move NeXT
      	runtime exceptions model setting from here ...
      	* config/darwin.c (darwin_override_options): ... to here.
      
      From-SVN: r189390
      Iain Sandoe committed
    • re PR middle-end/53887 (ICE in hoist_edge_and_branch_if_true, at tree-switch-conversion.c:79) · 238065a7
      gcc/
      	PR tree-optimization/53887
      	* tree-cfg.c (group_case_labels_stmt): Make non-static.
      	* tree-flow.h (group_case_labels_stmt): Add prototype.
      	* tree-switch-conversion.c (process_switch): Use group_case_labels_stmt
      	to pre-process every switch.
      
      testsuite/
      	PR tree-optimization/53887
      	* gcc.dg/pr53887.c: New test.
      
      From-SVN: r189389
      Steven Bosscher committed
    • re PR c++/53882 (ICE in type_contains_placeholder_1, at tree.c:3015) · 06e3e32b
      	PR c++/53882
      	* tree.c (type_contains_placeholder_1): Handle NULLPTR_TYPE.
      	(type_hash_eq): Likewise.
      
      From-SVN: r189386
      Jason Merrill committed
    • [multiple changes] · 065dd775
      2012-07-09  Pascal Obry  <obry@adacore.com>
      
      	* prj.adb (For_Every_Project_Imported_Context): Make sure we
      	callback with the project having sources.
      	Minor reformatting.
      
      2012-07-09  Eric Botcazou  <ebotcazou@adacore.com>
      
      	* make.adb: Fix typo.
      
      From-SVN: r189385
      Arnaud Charlet committed
    • builtin-unreachable-6.c: New test. · ba224bf3
      2012-07-09  Tom de Vries  <tom@codesourcery.com>
      	    Richard Guenther  <rguenther@suse.de>
      
      	* gcc.dg/builtin-unreachable-6.c: New test.
      	* gcc.dg/builtin-unreachable-5.c: New test.
      
      Co-Authored-By: Richard Guenther <rguenther@suse.de>
      
      From-SVN: r189384
      Tom de Vries committed
    • tree-ssa-ccp.c (optimize_unreachable): New function. · c61e5cc1
      2012-07-09  Tom de Vries  <tom@codesourcery.com>
      	    Richard Guenther  <rguenther@suse.de>
      
      	* tree-ssa-ccp.c (optimize_unreachable): New function.
      	(execute_fold_all_builtins): Use optimize_unreachable to optimize
      	BUILT_IN_UNREACHABLE.  Don't optimize after BUILT_IN_UNREACHABLE.
      
      Co-Authored-By: Richard Guenther <rguenther@suse.de>
      
      From-SVN: r189383
      Tom de Vries committed
    • Remove duplicate entries. · 44a9d0ea
      From-SVN: r189381
      Eric Botcazou committed
    • [multiple changes] · c1107fa3
      2012-07-09  Vincent Pucci  <pucci@adacore.com>
      
      	* sem_ch9.adb (Check_Node): Allow attributes
      	that denote static function for lock-free implementation.
      	(Is_Static_Function): New routine.
      
      2012-07-09  Tristan Gingold  <gingold@adacore.com>
      
      	* tracebak.c: Adjust skip_frames on Win64.
      
      2012-07-09  Tristan Gingold  <gingold@adacore.com>
      
      	* init.c: Add __gnat_adjust_context_for_raise for ia64/hpux.
      	* raise-gcc.c: __gnat_cleanupunwind_handler: Do not call
      	_Unwind_GetGR on hpux when using libgcc unwinder.  Part of
      
      2012-07-09  Vincent Pucci  <pucci@adacore.com>
      
      	* exp_attr.adb, sem_attr.adb: Minor reformatting.
      	* par-ch13.adb, par-ch4.adb, par-util.adb: Reformatting
      	considering that internal attribute names are not defined anymore
      	in the main attribute names list.
      	* snames.adb-tmpl (Get_Attribute_Id): Special processinf
      	for names CPU, Dispatching_Domain and Interrupt_Priority.
      	(Is_Internal_Attribute_Name): Minor reformatting.
      	* snames.ads-tmpl: New list of internal attribute names. Internal
      	attributes moved at the end of the attribute Id list.
      
      From-SVN: r189380
      Arnaud Charlet committed
    • [multiple changes] · d27f3ff4
      2012-07-09  Robert Dewar  <dewar@adacore.com>
      
      	* freeze.adb: Minor code reorganization (use Ekind_In).
      	* exp_attr.adb, sem_ch9.adb par-ch4.adb, s-taprop-mingw.adb,
      	sem_attr.adb, exp_ch8.adb, snames.adb-tmpl, par-util.adb,
      	sem_ch13.adb, snames.ads-tmpl: Minor reformatting.
      
      2012-07-09  Tristan Gingold  <gingold@adacore.com>
      
      	* raise-gcc.c: Adjust previous patch.
      
      2012-07-09  Vincent Celier  <celier@adacore.com>
      
      	* make.adb (Compilation_Phase): Do not build libraries in
      	Codepeer mode (do not call Library_Phase).
      
      From-SVN: r189379
      Arnaud Charlet committed
    • [multiple changes] · d48f3dca
      2012-07-09  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_ch13.adb: Extend previous change to elementary types.
      
      2012-07-09  Javier Miranda  <miranda@adacore.com>
      
      	* exp_ch8.adb (Expand_N_Subprogram_Renaming_Declaration): Reverse
      	previous patch since unconditionally handling as renaming_as_body
      	renamings of predefined dispatching equality and unequality operator
      	cause visibility problems with private overridings of the equality
      	operator (see ACATS C854001).
      
      2012-07-09  Vincent Pucci  <pucci@adacore.com>
      
      	* exp_attr.adb (Signal_Bad_Attribute): Raise Program_Error in
      	case of internal attribute names (already rejected by the parser).
      	* par-ch13.adb (P_Representation_Clause): Complain if an internal
      	attribute name that comes from source occurs.
      	* par-ch4.adb (P_Name): Complain if an internal attribute name
      	occurs in the context of an attribute reference.
      	* par-util.adb (Signal_Bad_Attribute): Don't complain about
      	mispelling attribute with internal attributes.
      	* sem_attr.adb (Analyze_Attribute): Raise Program_Error in case
      	of internal attribute names (already rejected by the parser).
      	* snames.adb-tmpl (Is_Internal_Attribute_Name): New routine.
      	* snames.ads-tmpl: Attributes CPU, Dispatching_Domain and
      	Interrupt_Priority are marked as INT attributes since they
      	don't denote real attribute and are only used internally in
      	the compiler.
      	(Is_Internal_Attribute_Name): New routine.
      
      From-SVN: r189378
      Arnaud Charlet committed
    • [multiple changes] · 22a83cea
      2012-07-09  Thomas Quinot  <quinot@adacore.com>
      
      	* einfo.adb (Set_Reverse_Storage_Order): Update assertion,
      	flag is now valid for array types as well.
      
      2012-07-09  Tristan Gingold  <gingold@adacore.com>
      
      	* tracebak.c: Implement __gnat_backtrace for Win64 SEH.
      
      2012-07-09  Robert Dewar  <dewar@adacore.com>
      
      	* einfo.ads: Minor reformatting.
      
      2012-07-09  Javier Miranda  <miranda@adacore.com>
      
      	* exp_ch8.adb (Expand_N_Subprogram_Renaming_Declaration): Handle as
      	renaming_as_body renamings of predefined dispatching equality
      	and unequality operators.
      
      2012-07-09  Robert Dewar  <dewar@adacore.com>
      
      	* rident.ads: Do not instantiate r-ident.ads, this is now an
      	independent unit.
      
      2012-07-09  Javier Miranda  <miranda@adacore.com>
      
      	* exp_disp.adb (Write_DT): Avoid runtime crash of this debugging
      	routine.
      	* sem_disp.adb (Find_Dispatching_Time): Protect this routine
      	against partially decorated entities.
      
      2012-07-09  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_ch13.adb (Check_Size): Reject a size clause that specifies
      	a value greater than Int'Last for a scalar type.
      
      2012-07-09  Vincent Pucci  <pucci@adacore.com>
      
      	* sem_ch9.adb (Allows_Lock_Free_Implementation): type must support
      	atomic operation moved to the protected body case. No non-elementary
      	out parameter moved to the protected declaration case. Functions have
      	only one lock-free restriction.
      	(Analyze_Protected_Type_Declaration): Issue a warning when
      	Priority given with Lock_Free.
      
      2012-07-09  Vincent Pucci  <pucci@adacore.com>
      
      	* sem_dim.adb: Grammar of aspect Dimension fixed.
      
      2012-07-09  Vincent Pucci  <pucci@adacore.com>
      
      	* freeze.adb (Freeze_Record_Type): Code reorg in order to avoid
      	pushing and popping the scope stack whenever a delayed aspect occurs.
      
      2012-07-09  Gary Dismukes  <dismukes@adacore.com>
      
      	* s-os_lib.ads: Remove pragma Elaborate_Body, as
      	this is now unnecessary due to recently added pragma Preelaborate.
      
      2012-07-09  Jose Ruiz  <ruiz@adacore.com>
      
      	* s-taprop-mingw.adb (Set_Priority): Remove the code that was
      	previously in place to reorder the ready queue when a task drops
      	its priority due to the loss of inherited priority.
      
      From-SVN: r189377
      Arnaud Charlet committed
    • [multiple changes] · a2c1791d
      2012-07-09  Robert Dewar  <dewar@adacore.com>
      
      	* layout.adb, i-cstrea.ads, a-ststio.ads, prj-util.ads, sem_cat.adb,
      	s-commun.ads, s-ficobl.ads, s-os_lib.ads, s-fileio.ads: Minor
      	reformatting.
      
      2012-07-09  Eric Botcazou  <ebotcazou@adacore.com>
      
      	* raise-gcc.c: Update comments. Fix typo.
      
      2012-07-09  Thomas Quinot  <quinot@adacore.com>
      
      	* einfo.adb, einfo.ads, sem_attr.adb, sem_ch13.adb: Attribute
      	Scalar_Storage_Order can be defined or queried for array types as well
      	as record types.
      
      From-SVN: r189376
      Arnaud Charlet committed
    • [multiple changes] · a6f0cb16
      2012-07-09  Tristan Gingold  <gingold@adacore.com>
      
      	* a-exexpr-gcc.adb (CleanupUnwind_Handler): Now imported from
      	raise-gcc.c
      	* raise-gcc.c (__gnat_cleanupunwind_handler): Defined.
      	Strictly follow the ABI convention on ia64.
      
      2012-07-09  Gary Dismukes  <dismukes@adacore.com>
      
      	* a-ststio.ads: Add pragma Preelaborate, per AI05-0283.
      	* i-cstrea.ads (max_path_len): Change from variable to deferred
      	constant to allow it to be used as a bound in string component
      	in type System.File_IO.Temp_File_Record.
      	* s-os_lib.ads, s-commun.ads, s-ficobl.ads, s-fileio.ads: Add pragma
      	Preelaborate.
      	* s-fileio.adb (Get_Case_Sensitive): Move function inside
      	procedure Open.
      	(File_Names_Case_Sensitive): Move variable inside
      	procedure Open, to avoid violation of Preelaborate restriction
      	(due to call to Get_Case_Sensitive).
      
      2012-07-09  Ed Schonberg  <schonberg@adacore.com>
      
      	* layout.adb (Set_Elem_Alignment): Protect against meaningless
      	size clause, to prevent overflow in internal computation of
      	alignment.
      
      From-SVN: r189375
      Arnaud Charlet committed
    • re PR bootstrap/53898 (bootstrap failure: graphite-optimize-isl.c: ISO C forbids… · 02663f24
      re PR bootstrap/53898 (bootstrap failure: graphite-optimize-isl.c: ISO C forbids an empty translation unit)
      
      2012-07-09  Richard Guenther  <rguenther@suse.de>
      
      	PR bootstrap/53898
      	* graphite-optimize-isl.c: Make sure CU is not empty.
      
      From-SVN: r189374
      Richard Guenther committed
    • mksysinfo.sh: Fix handling of glibc 2.16 bits/resource.h. · 5ede5aa5
      From Jakub Jelinek.
      
      From-SVN: r189372
      Ian Lance Taylor committed
    • [multiple changes] · b7f7dab2
      2012-07-09  Robert Dewar  <dewar@adacore.com>
      
      	* freeze.adb, prj-util.adb, prj-util.ads, sem_ch13.adb: Minor
      	reformatting.
      
      2012-07-09  Gary Dismukes  <dismukes@adacore.com>
      
      	* sem_cat.adb (Check_Categorization_Dependencies):
      	Allow dependence of both Remote_Types and Remote_Call_Interface
      	declarations (not just Remote_Types units) on preelaborated
      	units, but require that the dependence be made via a private
      	with_clause. Issue a specialized error message.
      
      From-SVN: r189371
      Arnaud Charlet committed