ian [Fri, 30 Mar 2012 22:36:44 +0000 (22:36 +0000)]
libgo: Update to weekly.2012-03-27 aka go1 release.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186029
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Fri, 30 Mar 2012 22:14:14 +0000 (22:14 +0000)]
File removed in weekly.2012-03-22 release.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186028
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Fri, 30 Mar 2012 22:09:55 +0000 (22:09 +0000)]
libgo: Update to weekly.2012-03-22.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186026
138bc75d-0d04-0410-961f-
82ee72b054a4
kkojima [Fri, 30 Mar 2012 21:41:45 +0000 (21:41 +0000)]
* config/sh/sh.c (push_regs): Skip banked registers when
resbank attribute is specified.
(sh_expand_epilogue): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186024
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Fri, 30 Mar 2012 21:27:11 +0000 (21:27 +0000)]
libgo: Update to weekly.2012-03-13.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186023
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Fri, 30 Mar 2012 21:10:32 +0000 (21:10 +0000)]
syscall: Convert errno to error after Exitsyscall.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186020
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 30 Mar 2012 18:23:06 +0000 (18:23 +0000)]
PR debug/52727
* g++.dg/opt/pr52727.C: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186019
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 30 Mar 2012 18:00:37 +0000 (18:00 +0000)]
PR debug/52727
* combine-stack-adj.c (prev_active_insn_bb): New.
(next_active_insn_bb): New.
(force_move_args_size_note): New.
(combine_stack_adjustments_for_block): Use it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186018
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 30 Mar 2012 18:00:21 +0000 (18:00 +0000)]
i386: Add and use one_operand_p to vec_perm control struct.
* config/i386/i386.c (struct expand_vec_perm_d): Add one_operand_p.
(ix86_expand_vector_init_duplicate): Initialize it.
(expand_vec_perm_palignr): Likewise.
(ix86_expand_vec_perm_const): Likewise.
(ix86_vectorize_vec_perm_const_ok): Likewise.
(expand_vec_perm_blend): Use it.
(expand_vec_perm_vpermil): Likewise.
(expand_vec_perm_pshufb): Likewise.
(expand_vec_perm_1): Likewise.
(expand_vec_perm_pshuflw_pshufhw): Likewise.
(expand_vec_perm_interleave2): Likewise.
(expand_vec_perm_vpermq_perm_1): Likewise.
(expand_vec_perm_vperm2f128): Likewise.
(expand_vec_perm_interleave3): Likewise.
(expand_vec_perm_vperm2f128_vblend): Likewise.
(expand_vec_perm_vpshufb2_vpermq): Likewise.
(expand_vec_perm_vpshufb2_vpermq_even_odd): Likewise,.
(expand_vec_perm_broadcast): Likewise.
(expand_vec_perm_vpshufb4_vpermq2): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186017
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 30 Mar 2012 18:00:03 +0000 (18:00 +0000)]
* dwarf2out.c (gen_variable_die): Initialize off.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186016
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Fri, 30 Mar 2012 15:38:31 +0000 (15:38 +0000)]
* ChangeLog: Fix last entry.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186015
138bc75d-0d04-0410-961f-
82ee72b054a4
gingold [Fri, 30 Mar 2012 13:54:23 +0000 (13:54 +0000)]
2012-03-30 Tristan Gingold <gingold@adacore.com>
* config/vms/vms-f.c: New file.
* config/vms/t-vms (vms-f.o): New rule.
* config.gcc (*-*-*vms*): Define fortran_target_objs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186013
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Fri, 30 Mar 2012 13:41:24 +0000 (13:41 +0000)]
2012-03-30 Richard Guenther <rguenther@suse.de>
PR tree-optimization/52754
* tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Only
propagate arbitrary addresses into really plain dereferences.
* gcc.target/i386/pr52754.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186012
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Fri, 30 Mar 2012 13:40:17 +0000 (13:40 +0000)]
2012-03-30 Richard Guenther <rguenther@suse.de>
PR middle-end/52772
* except.c (emit_to_new_bb_before): Move loop updating ...
(dw2_build_landing_pads): ... here. Use a proper block for
querying the loop father.
* g++.dg/torture/pr52772.C: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186011
138bc75d-0d04-0410-961f-
82ee72b054a4
gingold [Fri, 30 Mar 2012 13:25:45 +0000 (13:25 +0000)]
2012-03-30 Tristan Gingold <gingold@adacore.com>
* config/ia64/ia64.c (ia64_section_type_flags): Remove
common_object attribute handling.
(SECTION_VMS_OVERLAY): Remove
(ia64_vms_common_object_attribute): Replace abort with an assert.
Do not set DECL_SECTION_NAME.
(ia64_vms_output_aligned_decl_common): Handle common_object
attribute.
(ia64_vms_elf_asm_named_section): Remove.
* config/ia64/vms.h (TARGET_ASM_NAMED_SECTION): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186010
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Fri, 30 Mar 2012 11:12:29 +0000 (11:12 +0000)]
* ChangeLog: Fix entry.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186009
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Fri, 30 Mar 2012 11:07:46 +0000 (11:07 +0000)]
PR libgfortran/52758
* intrinsics/chmod.c: Remove out-of-bound initialization of rwxXstugo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186008
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Fri, 30 Mar 2012 09:32:55 +0000 (09:32 +0000)]
2012-03-30 Robert Dewar <dewar@adacore.com>
* exp_ch5.adb, sem_util.adb, exp_ch4.adb: Minor comment updates.
2012-03-30 Yannick Moy <moy@adacore.com>
* lib-xref-alfa.adb (Add_Alfa_File): Treat possibly 2 units at the same
time, putting all scopes in the same Alfa file.
(Add_Alfa_Xrefs): Correct errors in comparison function. Correct value
of Def component.
(Collect_Alfa): Possibly pass 2 units to Add_Alfa_File.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186006
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Fri, 30 Mar 2012 09:29:15 +0000 (09:29 +0000)]
2012-03-30 Hristian Kirtchev <kirtchev@adacore.com>
* exp_util.adb (Is_Secondary_Stack_BIP_Func_Call): Handle a case where
a build-in-place call appears as Prefix'Reference'Reference.
2012-03-30 Yannick Moy <moy@adacore.com>
* lib-xref-alfa.adb: Minor refactoring to remove internal package.
2012-03-30 Hristian Kirtchev <kirtchev@adacore.com>
* sem_ch5.adb (Analyze_Iteration_Scheme): Preanalyze the subtype
definition of a loop when the context is a quantified expression.
2012-03-30 Vincent Celier <celier@adacore.com>
* prj.ads: Minor comment update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186005
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Fri, 30 Mar 2012 09:26:59 +0000 (09:26 +0000)]
2012-03-30 Yannick Moy <moy@adacore.com>
* lib-xref-alfa.adb, alloc.ads, lib-xref.ads: Minor addition of
comments and refactoring.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186004
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Fri, 30 Mar 2012 09:26:00 +0000 (09:26 +0000)]
2012-03-30 Robert Dewar <dewar@adacore.com>
* lib-xref.adb, lib-xref-alfa.adb: Minor reformatting & code
reorganization.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186003
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Fri, 30 Mar 2012 09:24:09 +0000 (09:24 +0000)]
2012-03-30 Yannick Moy <moy@adacore.com>
* lib-xref-alfa.adb (Generate_Dereference): Use Get_Code_Unit
instead of Get_Source_Unit to get file for reference.
(Traverse_Compilation_Unit): Do not add scopes for generic units.
* lib-xref.adb (Generate_Reference): Use Get_Code_Unit instead
of Get_Source_Unit to get file for reference.
* sem_ch12.adb (Analyze_Package_Instantiation): Enable
instantiation in Alfa mode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186002
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Fri, 30 Mar 2012 09:21:43 +0000 (09:21 +0000)]
2012-03-30 Hristian Kirtchev <kirtchev@adacore.com>
* exp_ch7.adb (Process_Declarations): Replace
the call to Is_Null_Access_BIP_Func_Call with
Is_Secondary_Stack_BIP_Func_Call. Update the related comment.
* exp_util.adb (Is_Null_Access_BIP_Func_Call): Removed.
(Is_Secondary_Stack_BIP_Func_Call): New routine.
(Requires_Cleanup_Actions): Replace
the call to Is_Null_Access_BIP_Func_Call with
Is_Secondary_Stack_BIP_Func_Call. Update the related comment.
* exp_util.ads (Is_Null_Access_BIP_Func_Call): Removed.
(Is_Secondary_Stack_BIP_Func_Call): New routine.
2012-03-30 Yannick Moy <moy@adacore.com>
* lib-xref-alfa.adb, lib-xref.adb: Code clean ups.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186001
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Fri, 30 Mar 2012 09:20:54 +0000 (09:20 +0000)]
2012-03-30 Richard Guenther <rguenther@suse.de>
PR middle-end/52786
* double-int.c (rshift_double): Remove not needed cast.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186000
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Fri, 30 Mar 2012 09:17:34 +0000 (09:17 +0000)]
2012-03-30 Gary Dismukes <dismukes@adacore.com>
* exp_ch5.adb (Expand_Iterator_Loop_Over_Array): For the case of a
loop entity which is rewritten as a renaming
of the indexed array, explicitly mark the entity as needing
debug info so that Materialize entity will be set later by
Debug_Renaming_Declaration when the renaming is expanded.
2012-03-30 Robert Dewar <dewar@adacore.com>
* sem_attr.ads: Update comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185999
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Fri, 30 Mar 2012 09:15:22 +0000 (09:15 +0000)]
2012-03-30 Vincent Celier <celier@adacore.com>
* prj.ads: New Dependency_Kind: ALI_Closure.
2012-03-30 Thomas Quinot <quinot@adacore.com>
* exp_pakd.adb: Minor reformatting.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185998
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Fri, 30 Mar 2012 09:13:48 +0000 (09:13 +0000)]
2012-03-30 Yannick Moy <moy@adacore.com>
* lib-xref-alfa.adb (Add_Alfa_File): Take into account possible absence
of compilation unit for unit in Sdep_Table.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185997
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Fri, 30 Mar 2012 09:11:38 +0000 (09:11 +0000)]
2012-03-30 Thomas Quinot <quinot@adacore.com>
* freeze.adb (Freeze_Record_Type): For a type with reversed bit
order and reversed storage order, disable front-end relayout.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185996
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Fri, 30 Mar 2012 08:52:32 +0000 (08:52 +0000)]
2012-03-30 Richard Guenther <rguenther@suse.de>
* tree-affine.h (print_aff): Remove.
* tree-affine.c (print_aff): Make static.
* tree-data-ref.h (access_matrix_get_index_for_parameter): Remove.
(get_references_in_stmt): Likewise.
(print_direction_vector): Likewise.
(print_dir_vectors): Likewise.
(print_dist_vectors): Likewise.
(dump_subscript): Likewise.
(dump_ddrs): Likewise.
(dump_dist_dir_vectors): Likewise.
(dump_data_references): Likewise.
(dump_data_dependence_relation): Likewise.
(dump_data_dependence_direction): Likewise.
(dump_rdg_vertex): Likewise.
(dump_rdg_component): Likewise.
(debug_ddrs): Declare.
(struct data_ref_loc_d): Move ...
* tree-data-ref.c (struct data_ref_loc_d): ... here.
(get_references_in_stmt): Make static.
(dump_data_references): Likewise.
(dump_subscript): Likewise.
(print_direction_vector): Likewise.
(print_dir_vectors): Likewise.
(print_dist_vectors): Likewise.
(dump_data_dependence_relation): Likewise.
(dump_dist_dir_vectors): Likewise.
(dump_ddrs): Likewise.
(dump_rdg_vertex): Likewise.
(dump_rdg_component): Likewise.
(debug_ddrs): New function.
(access_matrix_get_index_for_parameter): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185994
138bc75d-0d04-0410-961f-
82ee72b054a4
gingold [Fri, 30 Mar 2012 08:42:47 +0000 (08:42 +0000)]
2012-03-30 Tristan Gingold <gingold@adacore.com>
* config/vms/vms.c (VMS_CRTL_FLOAT32): Rename.
(VMS_CRTL_FLOAT64, VMS_CRTL_FLOAT64_VAXD): New.
(VMS_CRTL_FLOAT128, VMS_CRTL_DPML, VMS_CRTL_NODMPL)
(VMS_CRTL_32ONLY, VMS_CRTL_G_MASK, VMS_CRTL_G_NONE)
(VMS_CRTL_GA, VMS_CRTL_GL, VMS_CRTL_FLOATV2): New.
(vms_patch_builtins): Handle new flags
* config/vms/vms-crtlmap.map: Completed using nm on
c and math system libraries.
* config/vms/make-crtlmap.awk: Handle any number of flags.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185993
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Fri, 30 Mar 2012 04:59:02 +0000 (04:59 +0000)]
compiler: Fix order of evaluation of struct composite literals.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185990
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 30 Mar 2012 00:18:21 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185988
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Thu, 29 Mar 2012 22:45:46 +0000 (22:45 +0000)]
/cp
2012-03-29 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/52718
* decl.c (check_default_argument): With -Wzero-as-null-pointer-constant
warn for a zero as null pointer constant default argument.
/testsuite
2012-03-29 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/52718
* g++.dg/warn/Wzero-as-null-pointer-constant-5.C: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185983
138bc75d-0d04-0410-961f-
82ee72b054a4
jamborm [Thu, 29 Mar 2012 22:29:10 +0000 (22:29 +0000)]
2012-03-30 Martin Jambor <mjambor@suse.cz>
* tree-ssa-ccp.c (insert_clobbers_for_var): Do not assert that there
is a builtin_stack_save in a dominating BB.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185982
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Thu, 29 Mar 2012 21:57:30 +0000 (21:57 +0000)]
* config/i386/sse.md (avx_h<plusminus_insn>v4df3): Fix results
crossing 128bit lane boundary.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185978
138bc75d-0d04-0410-961f-
82ee72b054a4
steven [Thu, 29 Mar 2012 21:00:23 +0000 (21:00 +0000)]
PR java/52730
* class.c (emit_register_classes_in_jcr_section): New function.
(emit_Jv_RegisterClass_calls): New function, split out from ...
(emit_register_classes): ... here. Reorganize. Do not call
output_constant.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185977
138bc75d-0d04-0410-961f-
82ee72b054a4
vmakarov [Thu, 29 Mar 2012 17:23:39 +0000 (17:23 +0000)]
2012-03-29 Vladimir Makarov <vmakarov@redhat.com>
* ira-color.c (setup_left_conflict_sizes_p): Process all
conflicting objects.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185971
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 29 Mar 2012 15:55:01 +0000 (15:55 +0000)]
PR c++/52685
* tree.c (copy_binfo): Handle BINFO_DEPENDENT_BASE_P.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185968
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Thu, 29 Mar 2012 15:02:38 +0000 (15:02 +0000)]
PR c++/52759
* decl.c (start_decl): Don't call maybe_apply_pragma_weak
if processing_template_decl.
* g++.dg/ext/weak4.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185966
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Thu, 29 Mar 2012 14:55:53 +0000 (14:55 +0000)]
PR tree-optimization/52760
* tree-vect-slp.c (vect_get_constant_vectors): Convert constant_p
shift count for {L,R}{SHIFT,ROTATE}_EXPR to TREE_TYPE (vector_type).
* gcc.c-torture/execute/pr52760.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185965
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 29 Mar 2012 14:14:00 +0000 (14:14 +0000)]
PR c++/52743
* call.c (compare_ics): Handle ck_aggr like ck_list.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185963
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Thu, 29 Mar 2012 13:54:16 +0000 (13:54 +0000)]
2012-03-29 Richard Guenther <rguenther@suse.de>
* cgraph.h (cgraph_materialize_all_clones): Remove.
(reset_inline_failed): Likewise.
* cgraphunit.c (cgraph_materialize_all_clones): Make static.
* cgraphbuild.c (reset_inline_failed): Remove.
* rtl.h (cse_main): Remove.
(extended_count): Likewise.
* cse.c (dump_class): Mark as DEBUG_FUNCTION.
(cse_main): Make static.
* combine.c (extended_count): Remove.
(dump_combine_stats): Mark as DEBUG_FUNCTION.
* basic-block.h (reorder_basic_blocks): Remove.
* bb-reorder.c (reorder_basic_blocks): Make static.
* Makefile.in (dse.o): Remove dse.h dependency.
* dse.h: Remove.
* dse.c (gate_dse): Remove.
(clear_alias_mode_eq): Likewise.
(clear_alias_mode_hash): Likewise.
(dse_record_singleton_alias_set): Likewise.
(dse_invalidate_singleton_alias_set): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185962
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Thu, 29 Mar 2012 12:57:05 +0000 (12:57 +0000)]
Use crtbegin_so%O%s/crtend_so%O%s for -mandroid -shared
2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
* config/linux-android.h (ANDROID_STARTFILE_SPEC): Use
crtbegin_so%O%s for -shared.
(ANDROID_ENDFILE_SPEC): Use crtend_so%O%s for -shared.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185958
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Thu, 29 Mar 2012 12:48:08 +0000 (12:48 +0000)]
Define x86_64_fallback_frame_state only for glibc
2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
* config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
only for glibc.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185957
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Thu, 29 Mar 2012 12:47:51 +0000 (12:47 +0000)]
2012-03-29 Richard Guenther <rguenther@suse.de>
* tree-flow.h (struct pre_expr_d): Remove forward declaration.
(add_to_value): Remove.
(print_value_expressions): Likewise.
* tree-ssa-pre.c (add_to_value): Make static.
(print_value_expressions): Likewise.
* gimple.h (gimple_adjust_this_by_delta): Remove.
* gimple-fold.c (gimple_adjust_this_by_delta): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185956
138bc75d-0d04-0410-961f-
82ee72b054a4
green [Thu, 29 Mar 2012 12:41:52 +0000 (12:41 +0000)]
Restore trampled commits
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185955
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Thu, 29 Mar 2012 08:27:04 +0000 (08:27 +0000)]
2012-03-29 Richard Guenther <rguenther@suse.de>
PR middle-end/50708
* double-int.h (rshift_double): Remove.
* double-int.c (lshift_double): Use absu_hwi to make count
positive.
(rshift_double): Make static, take unsigned count argument,
remove handling of negative count argument.
(double_int_rshift): Dispatch to lshift_double.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185951
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Thu, 29 Mar 2012 06:14:32 +0000 (06:14 +0000)]
2012-03-28 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/52689
* libsupc++/Makefile.am (LTCXXCOMPILE, CXXLINK): Tweak.
* libsupc++/Makefile.in: Regenerated.
* src/Makefile.am (LTCXXCOMPILE, CXXLINK): Tweak.
(libstdc___la_SOURCES): Add in compatiblity files, with content
that varies with -DPIC.
* src/Makefile.in: Regenerated.
* src/c++11/Makefile.am (LTCXXCOMPILE, CXXLINK): Tweak.
* src/c++11/Makefile.in: Regenerated.
* src/c++11/compatibility-atomic-c++0x.cc: Guard with PIC.
* src/c++11/compatibility-c++0x.cc: Same.
* src/c++11/future.cc: Consolidate compatibility bits into..
* src/c++11/mutex.cc: Consolidate compatibility bits into..
* src/c++11/compatibility-thread-cxx0x.cc: ...here. New.
* src/c++98/Makefile.am (LTCXXCOMPILE, CXXLINK): Tweak.
* src/c++98/Makefile.in: Regenerated.
* src/c++98/compatibility-ldbl.cc: Guard with PIC
* src/c++98/compatibility-list-2.cc: Same.
* src/c++98/compatibility-list.cc: Same.
* src/c++98/compatibility.cc: Tweak comments.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185950
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Thu, 29 Mar 2012 03:53:13 +0000 (03:53 +0000)]
compiler, libgo: unsafe.{Sizeof,Alignof,Offsetof} return uintptr.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185946
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 29 Mar 2012 02:58:29 +0000 (02:58 +0000)]
PR c++/52746
* typeck.c (lookup_destructor): Clear BASELINK_QUALIFIED_P if
we didn't get an explicit scope.
* pt.c (tsubst_baselink): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185945
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 29 Mar 2012 00:19:04 +0000 (00:19 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185943
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Wed, 28 Mar 2012 23:19:06 +0000 (23:19 +0000)]
mksysinfo: Fix use of _in6_addr in _zone_net_addr_t.
From Rainer Orth.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185938
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Wed, 28 Mar 2012 22:42:28 +0000 (22:42 +0000)]
Add ABI_64 and replace ISA_X32 with ABI_X32
2012-03-28 H.J. Lu <hongjiu.lu@intel.com>
* config/i386/biarch64.h (TARGET_64BIT_DEFAULT): Add
OPTION_MASK_ABI_64.
* config/i386/gnu-user64.h (SPEC_64): Support TARGET_BI_ARCH == 2.
(SPEC_X32): Likewise.
(MULTILIB_DEFAULTS): Likewise.
* config/i386/i386.c (isa_opts): Remove -m64.
(ix86_target_string): Properly handle -m32/-m64/-mx32.
(ix86_option_override_internal): Properly
set OPTION_MASK_ISA_64BIT and OPTION_MASK_ISA_X32 as well as
handle -m32, -m64 and -mx32.
* config/i386/i386.h (TARGET_X32): Replace OPTION_ISA_X32
with OPTION_ABI_X32. Moved after TARGET_LP64.
(TARGET_LP64): Changed to OPTION_ABI_64.
* config/i386/i386.opt (m64): Replace ISA_64BIT with ABI_64.
(mx32): Replace ISA_X32 with ABI_X32.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185937
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Wed, 28 Mar 2012 22:31:02 +0000 (22:31 +0000)]
compiler: fix null-dereference on invalid len() arg.
This patch fixes an ICE caused by syntax errors in arguments
to unary built-in functions like len().
Updates issue 7.
From Rémy Oudompheng.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185935
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Wed, 28 Mar 2012 22:25:37 +0000 (22:25 +0000)]
compiler: avoid an ICE on bound interface methods used as values.
Updates issue 7.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185933
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Wed, 28 Mar 2012 22:21:57 +0000 (22:21 +0000)]
compiler: fix method finalization of unnamed structs.
Used to trigger an ICE on
var v struct{I}; type I interface{}
Updates issue 7.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185931
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Wed, 28 Mar 2012 21:59:23 +0000 (21:59 +0000)]
* tree.c (tree_size) <VECTOR_CST>: New case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185930
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Wed, 28 Mar 2012 21:33:15 +0000 (21:33 +0000)]
compiler: fix crashes.
The compiler would crash on:
if true || x, y := 1, 2 {}
and
var s string
s = append(s, "hello")
Reported in issue 3186.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185928
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Wed, 28 Mar 2012 21:28:15 +0000 (21:28 +0000)]
* config/i386/i386.c (ix86_modes_tieable_p): Handle 32bit AVX modes.
(ix86_expand_vector_move_misalign): Remove un-needed gen_lowpart calls.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185927
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Wed, 28 Mar 2012 21:27:28 +0000 (21:27 +0000)]
compiler: Rewrite handling of untyped numeric constants.
Fixes various bugs when, e.g., using float or complex
constants in integer contexts.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185925
138bc75d-0d04-0410-961f-
82ee72b054a4
pault [Wed, 28 Mar 2012 20:45:16 +0000 (20:45 +0000)]
2012-03-28 Paul Thomas <pault@gcc.gnu.org>
Tobias Burnus <burnus@gcc.gnu.org>
PR fortran/52652
* match.c (gfc_match_allocate, gfc_match_deallocate): Change
"not.. or" to "neither.. nor".
* parse.c (decode_specification_statement): Correct error in
chpice of matching function for "allocatable".
2012-03-28 Paul Thomas <pault@gcc.gnu.org>
Tobias Burnus <burnus@gcc.gnu.org>
PR fortran/52652
* gfortran.dg/allocate_class_1.f90 : Change error test.
* gfortran.dg/allocate_with_typespec_4.f90 : Change error test.
* gfortran.dg/allocate_alloc_opt_1.f90 : Change error test.
* gfortran.dg/deallocate_alloc_opt_1.f90 : Change error test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185924
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Wed, 28 Mar 2012 15:04:23 +0000 (15:04 +0000)]
2012-03-28 Richard Guenther <rguenther@suse.de>
* typeck2.c (process_init_constructor_array): Use the proper
type for computing the array length.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185919
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Wed, 28 Mar 2012 14:47:45 +0000 (14:47 +0000)]
PR middle-end/52691
* tree-ssa-ccp.c (optimize_stdarg_builtin): Optimize
__builtin_va_start to __builtin_next_arg if the latter is
builtin_decl_explicit_p rather than when it is not.
* gcc.dg/pr52691.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185917
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Wed, 28 Mar 2012 14:45:21 +0000 (14:45 +0000)]
Update Copyright year.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185915
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Wed, 28 Mar 2012 14:40:57 +0000 (14:40 +0000)]
PR middle-end/52750
* tree-vect-generic.c (vector_element): Perform multiplication
for pos in bitsizetype type instead of idx type.
* gcc.c-torture/compile/pr52750.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185914
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Wed, 28 Mar 2012 12:14:26 +0000 (12:14 +0000)]
2012-03-28 Richard Guenther <rguenther@suse.de>
* loop-init.c (loop_optimizer_init): If loops are preserved
perform incremental initialization of required loop features.
(loop_optimizer_finalize): If loops are to be preserved only
clean up optional loop features.
(rtl_loop_done): Forcefully free loops here.
* cgraph.c (cgraph_release_function_body): Forcefully free
loops.
* cfgexpand.c (expand_gimple_cond): Properly add new basic-blocks
to existing loops.
(construct_init_block): Likewise.
(construct_exit_block): Likewise.
(gimple_expand_cfg): Clear LOOP_CLOSED_SSA loop state. Cleanup
the CFG after expanding.
* cfgloop.c (verify_loop_structure): Calculate or verify
dominators. If we needed to calculate them, free them afterwards.
* tree-pass.h (PROP_loops): New define.
* tree-ssa-loop.c (pass_tree_loop_init): Provide PROP_loops.
* basic-block.h (CLEANUP_CFG_CHANGED): New.
* cfgcleanup.c (merge_blocks_move): Protect loop latches.
(cleanup_cfg): If we did something and have loops around, fix
them up.
* cse.c (rest_of_handle_cse_after_global_opts): Call cleanup_cfg
with CLEANUP_CFG_CHANGED.
* cfghooks.c (merge_blocks): If we merge a loop header into
its predecessor, update the loop structure.
(duplicate_block): If we copy a loop latch, adjust loop state
to note we may have multiple latches.
(delete_basic_block): Mark loops for fixup if we remove a loop.
* cfganal.c (forwarder_block_p): Protect loop latches, headers
and preheaders.
* cfgrtl.c (rtl_can_merge_blocks): Protect loop latches.
(cfg_layout_can_merge_blocks_p): Likewise.
* cprop.c (bypass_block): If we create a loop with multiple
entries, mark it for removal.
* except.c (emit_to_new_bb_before): Add the new basic-block
to existing loops.
* tree-eh.c (lower_resx): Likewise.
* omp-low.c (finalize_task_copyfn): Do not copy PROP_loops.
(expand_omp_taskreg): Likewise.
* tree-inline.c (initialize_cfun): Likewise.
* tree-mudflap.c (add_bb_to_loop): Prototype.
(mf_build_check_statement_for): Properly add new basic-blocks
to existing loops.
* tree-ssa-threadupdate.c (thread_block): Mark loops for fixup
if we remove a loop.
(thread_through_loop_header): Likewise.
* trans-mem.c (tm_log_emit_save_or_restores): Properly add
new basic-blocks to existing loops.
(expand_transaction): Likewise.
* Makefile.in (except.o): Add $(CFGLOOP_H).
(expr.o): Likewise.
(cgraph.o): Likewise.
(cprop.o): Likewise.
(cfgexpand.o): Likewise.
(cfganal.o): Likewise.
(trans-mem.o): Likewise.
(tree-eh.o): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185913
138bc75d-0d04-0410-961f-
82ee72b054a4
gjl [Wed, 28 Mar 2012 09:13:41 +0000 (09:13 +0000)]
gcc/
PR target/52692
* config/avr/avr.c (TARGET_BUILTIN_DECL): New define.
(avr_builtin_decl): New static function.
(struct avr_builtin_description, avr_bdesc): Move up.
Add GTY marker. Add field fndecl. Remove redundant field id.
(avr_init_builtins): Initialize avr_bdesc[ID].fndecl.
(avr_expand_builtin): Code cleanup because .id is removed.
testsuite/
PR target/52692
* gcc.target/avr/torture/builtins-2.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185910
138bc75d-0d04-0410-961f-
82ee72b054a4
gjl [Wed, 28 Mar 2012 08:31:26 +0000 (08:31 +0000)]
PR target/52737
* contrib/gcc_update (files_and_dependencies):
Remove gcc/config/avr/t-multilib from touch data.
gcc/
PR target/52737
* config.gcc (tm_file): Remove avr/multilib.h.
* doc/invoke.texi (AVR Options): Adjust
documentation of -mtiny-stack.
* config/avr/genmultilib.awk: Remove code to generate multilib.h.
(BEGIN): Use -msp8 as multilib option instead of -mtiny-stack.
* config/avr/t-avr: Remove generation of multilib.h.
* config/avr/t-multilib: Regenerate.
* config/avr/multilib.h: Remove.
* config/avr/avr.opt (-msp8): New option.
(avr_sp8): New variable.
* config/avr/driver-avr.c (avr_device_to_sp8): New function.
* config/avr/avr.h (AVR_HAVE_SPH): New define.
(AVR_HAVE_8BIT_SP): Also set by avr_sp8 i.e. -msp8.
(avr_device_to_sp8): New prototype.
(EXTRA_SPEC_FUNCTIONS): Add { "device_to_sp8", avr_device_to_sp8 }
(DRIVER_SELF_SPECS): New define.
* config/avr/avr-c.c (avr_cpu_cpp_builtins): New built-in defines:
__AVR_SP8__, __AVR_HAVE_SPH__.
* config/avr/avr.c (output_movhi): Use AVR_HAVE_SPH instead of
AVR_HAVE_8BIT_SP to decide if SP_H is present.
(avr_file_start): Ditto.
libgcc/
PR target/52737
* config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
instead of __AVR_HAVE_8BIT_SP__.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185907
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Wed, 28 Mar 2012 08:01:00 +0000 (08:01 +0000)]
PR target/52736
* config/i386/sse.md (sse2_loadlpd splitter): Use offset 0
instead of 8 in adjust_address.
* gcc.target/i386/pr52736.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185904
138bc75d-0d04-0410-961f-
82ee72b054a4
xguo [Wed, 28 Mar 2012 01:34:07 +0000 (01:34 +0000)]
libstdc++-v3:
* testsuite/Makefile.am (TEST_GCC_EXEC_PREFIX): New.
* testsuite/Makefile.in: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185903
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 28 Mar 2012 00:19:02 +0000 (00:19 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185902
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Tue, 27 Mar 2012 20:50:16 +0000 (20:50 +0000)]
PR middle-end/51893
* expmed.c (store_bit_field_1): Fix wordnum value for big-endian
targets.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185897
138bc75d-0d04-0410-961f-
82ee72b054a4
redi [Tue, 27 Mar 2012 20:25:12 +0000 (20:25 +0000)]
* include/std/functional (mem_fn): Qualify to prevent ADL.
* testsuite/20_util/function_objects/mem_fn/adl.cc: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185895
138bc75d-0d04-0410-961f-
82ee72b054a4
olegendo [Tue, 27 Mar 2012 20:14:44 +0000 (20:14 +0000)]
PR target/50751
* config/sh/sh.c (sh_legitimize_address, sh_legitimize_reload_address):
Rearrange conditional logic. Move displacement address calculations
to ...
(sh_find_mov_disp_adjust): ... this new function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185894
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Tue, 27 Mar 2012 19:37:24 +0000 (19:37 +0000)]
Remove MaskExists property from config/*/*.opt files
2012-03-27 H.J. Lu <hongjiu.lu@intel.com>
* config/arm/arm.opt (mapcs): Remove MaskExists.
* config/cris/linux.opt (mno-gotplt): Likewise.
* config/i386/i386.opt (mhard-float): Likewise.
(msse4): Likewise.
(mno-sse4): Likewise.
* config/m68k/m68k.opt (mhard-float): Likewise.
* config/mep/mep.op (mcop32): Likewise.
* config/pa/pa-hpux.opt (msio): Likewise.
* config/pa/pa64-hpux.opt (mgnu-ld): Likewise.
* config/picochip/picochip.opt (mlittle): Likewise.
* config/sh/sh.opt (mrenesas): Likewise.
* config/sparc/long-double-switch.opt (mlong-double-128): Likewise.
* config/sparc/sparc.opt (mhard-float): Likewise.
* config/v850/v850.opt (mv850es): Likewise.
* config/vax/vax.opt (mg-float): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185893
138bc75d-0d04-0410-961f-
82ee72b054a4
jamborm [Tue, 27 Mar 2012 18:22:39 +0000 (18:22 +0000)]
2012-03-27 Martin Jambor <mjambor@suse.cz>
PR middle-end/52693
* tree-sra.c (sra_modify_assign): Do not call
load_assign_lhs_subreplacements when working with an unscalarizable
region.
* testsuite/gcc.dg/torture/pr52693.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185891
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 27 Mar 2012 18:08:13 +0000 (18:08 +0000)]
PR c++/52672
* gcc/cp/semantics.c (cxx_fold_indirect_ref): Don't attempt to fold
stripped child trees that are not pointer types.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185890
138bc75d-0d04-0410-961f-
82ee72b054a4
mrs [Tue, 27 Mar 2012 18:01:06 +0000 (18:01 +0000)]
PR target/52665
* gcc.target/i386/pr28946.c: Use -fno-ident to avoid spurious
failures that match branch names.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185889
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Tue, 27 Mar 2012 17:17:17 +0000 (17:17 +0000)]
Fix a typo in ChangeLog
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185887
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Tue, 27 Mar 2012 15:36:34 +0000 (15:36 +0000)]
PR target/52698
* config/i386/i386-protos.h (ix86_legitimize_reload_address):
New prototype.
* config/i386/i386.h (LEGITIMIZE_RELOAD_ADDRESS): New define.
* config/i386/i386.c: Include reload.h.
(ix86_legitimize_reload_address): New function.
testsuite/ChangeLog:
PR target/52698
* gcc.target/i386/pr52698.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185883
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Tue, 27 Mar 2012 15:28:41 +0000 (15:28 +0000)]
Remove MaskNeeded
2012-03-27 H.J. Lu <hongjiu.lu@intel.com>
* opth-gen.awk: Allocated a bit for Mask and InverseMask if it
hasn't been allocated. Define a target macro for Mask and
InverseMask if it hasn't been defined. Remove MaskExists
handling.
* doc/options.texi: Remove MaskNeeded.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185882
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Tue, 27 Mar 2012 14:29:38 +0000 (14:29 +0000)]
* ja.po: Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185878
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Tue, 27 Mar 2012 14:26:51 +0000 (14:26 +0000)]
* be.po, da.po, de.po, el.po, es.po, fi.po, fr.po, id.po, ja.po,
nl.po, ru.po, sr.po, sv.po, tr.po, vi.po, zh_CN.po, zh_TW.po:
Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185876
138bc75d-0d04-0410-961f-
82ee72b054a4
cltang [Tue, 27 Mar 2012 13:05:01 +0000 (13:05 +0000)]
2012-03-27 Chung-Lin Tang <cltang@codesourcery.com>
PR target/52667
* config/sh/sh.c (find_barrier): Add equality check of last_got
to avoid going above orig insn. Update comments.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185867
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Tue, 27 Mar 2012 12:50:29 +0000 (12:50 +0000)]
2012-03-27 Richard Guenther <rguenther@suse.de>
PR middle-end/52720
* fold-const.c (try_move_mult_to_index): Handle &x.array more
explicitely.
* gcc.dg/torture/pr52720.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185865
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Tue, 27 Mar 2012 10:35:55 +0000 (10:35 +0000)]
* expmed.c (store_bit_field): Assert that BITREGION_START is a multiple
of a unit before computing the offset in units.
* expr.c (get_bit_range): Return the null range if the enclosing record
is part of a larger bit field.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185857
138bc75d-0d04-0410-961f-
82ee72b054a4
ramana [Tue, 27 Mar 2012 10:26:37 +0000 (10:26 +0000)]
2012-03-27 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org>
* gcc.target/arm/thumb-ifcvt.c: Only run for -mthumb.
* gcc.target/arm/thumb-16bit-ops.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185855
138bc75d-0d04-0410-961f-
82ee72b054a4
gingold [Tue, 27 Mar 2012 09:50:10 +0000 (09:50 +0000)]
2012-03-26 Tristan Gingold <gingold@adacore.com>
* config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
(unw_table_entry): Use unw_word instead of unsigned long.
(_Unwind_FindTableEntry): Likewise.
* config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
* config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
(_Unwind_FindTableEntry): Likewise.
* config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
(unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
(set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
(ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
(ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
(uw_frame_state_for, uw_update_reg_address, uw_update_context)
(uw_init_context_1, uw_install_context): Likewise.
(unw_word): Move to unwind-ia64.h
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185852
138bc75d-0d04-0410-961f-
82ee72b054a4
gingold [Tue, 27 Mar 2012 09:44:00 +0000 (09:44 +0000)]
2012-03-27 Tristan Gingold <gingold@adacore.com>
* config/ia64/vms.h (CASE_VECTOR_MODE): Define.
* config/ia64/ia64.md: Remove mode in template.
Sign extend operand in expand_simple_binop.
* config/ia64/ia64.h (ASM_OUTPUT_ADDR_DIFF_ELT): Use
CASE_VECTOR_MODE instead of TARGET_ILP32.
(ADDR_VEC_ALIGN): Make it depends on CASE_VECTOR_MODE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185851
138bc75d-0d04-0410-961f-
82ee72b054a4
gingold [Tue, 27 Mar 2012 09:28:02 +0000 (09:28 +0000)]
2012-03-27 Tristan Gingold <gingold@adacore.com>
* configure.ac: Add description to AC_DEFINE in
GCC_CHECK_MATH_FUNC.
* configure: Regenerate
* config.h.in: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185850
138bc75d-0d04-0410-961f-
82ee72b054a4
redi [Tue, 27 Mar 2012 09:03:10 +0000 (09:03 +0000)]
* include/std/type_traits (result_of): Fix handling of cv-quals.
* testsuite/20_util/result_of/1.cc: New.
* testsuite/20_util/result_of/2.cc: New.
* testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error
line numbers.
* testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
Likewise.
* testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185845
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 27 Mar 2012 00:18:41 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185829
138bc75d-0d04-0410-961f-
82ee72b054a4
steven [Mon, 26 Mar 2012 20:23:36 +0000 (20:23 +0000)]
* varasm.c (assemble_external): #if 0 out the new assert from the
previous commit, it breaks the Java and Go front ends.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185825
138bc75d-0d04-0410-961f-
82ee72b054a4
steven [Mon, 26 Mar 2012 16:39:11 +0000 (16:39 +0000)]
* toplev.c (check_global_declaration_1): Do not call assemble_external.
* expr.c (emit_block_move_libcall_fn): Likewise.
(clear_storage_libcall_fn): Likewise.
(expand_expr_addr_expr_1): Likewise.
(expand_expr_real_1): Likewise.
* calls.c (rtx_for_function_call): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185813
138bc75d-0d04-0410-961f-
82ee72b054a4
steven [Mon, 26 Mar 2012 16:35:59 +0000 (16:35 +0000)]
* varasm.c (assemble_external): Assert this function is only called
during or after expanding to RTL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185812
138bc75d-0d04-0410-961f-
82ee72b054a4
gerald [Mon, 26 Mar 2012 16:24:33 +0000 (16:24 +0000)]
PR libgcj/52694
* java/io/natVMConsole.cc (IUCLC): Define, if undefined.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185811
138bc75d-0d04-0410-961f-
82ee72b054a4
jamborm [Mon, 26 Mar 2012 15:46:14 +0000 (15:46 +0000)]
2012-03-26 Martin Jambor <mjambor@suse.cz>
PR tree-optimization/50052
* tree-sra.c (tree_non_aligned_mem_p): Removed.
(tree_non_aligned_mem_for_access_p): Likewise.
(build_accesses_from_assign): Removed strict alignment requirements
checks.
(access_precludes_ipa_sra_p): Likewise.
* testsuite/gcc.dg/ipa/ipa-sra-2.c: Also run on strict-alignment
platforms.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185807
138bc75d-0d04-0410-961f-
82ee72b054a4
jb [Mon, 26 Mar 2012 15:16:05 +0000 (15:16 +0000)]
Combined get_mem and internal_malloc_size.
2012-03-26 Janne Blomqvist <jb@gcc.gnu.org>
* runtime/memory.c (get_mem): Rename to xmalloc, check for zero
size.
(internal_malloc_size): Remove.
* libgfortran.h (get_mem): Rename to xmalloc.
(internal_malloc_size): Remove prototype.
* Makefile.am (i_iall_c): Fix dependency.
(i_iany_c): Likewise.
(i_iparity_c): Likewise.
(i_norm2_c): Likewise.
(i_parity_c): Likewise.
* Makefile.in: Regenerated.
* m4/parity.m4: Fix typo in comment.
* generated/all_l1.c: Regenerated.
* generated/all_l16.c: Regenerated.
* generated/all_l2.c: Regenerated.
* generated/all_l4.c: Regenerated.
* generated/all_l8.c: Regenerated.
* generated/any_l1.c: Regenerated.
* generated/any_l16.c: Regenerated.
* generated/any_l2.c: Regenerated.
* generated/any_l4.c: Regenerated.
* generated/any_l8.c: Regenerated.
* generated/bessel_r10.c: Regenerated.
* generated/bessel_r16.c: Regenerated.
* generated/bessel_r4.c: Regenerated.
* generated/bessel_r8.c: Regenerated.
* generated/count_16_l.c: Regenerated.
* generated/count_1_l.c: Regenerated.
* generated/count_2_l.c: Regenerated.
* generated/count_4_l.c: Regenerated.
* generated/count_8_l.c: Regenerated.
* generated/cshift1_16.c: Regenerated.
* generated/cshift1_4.c: Regenerated.
* generated/cshift1_8.c: Regenerated.
* generated/eoshift1_16.c: Regenerated.
* generated/eoshift1_4.c: Regenerated.
* generated/eoshift1_8.c: Regenerated.
* generated/eoshift3_16.c: Regenerated.
* generated/eoshift3_4.c: Regenerated.
* generated/eoshift3_8.c: Regenerated.
* generated/iall_i1.c: Regenerated.
* generated/iall_i16.c: Regenerated.
* generated/iall_i2.c: Regenerated.
* generated/iall_i4.c: Regenerated.
* generated/iall_i8.c: Regenerated.
* generated/iany_i1.c: Regenerated.
* generated/iany_i16.c: Regenerated.
* generated/iany_i2.c: Regenerated.
* generated/iany_i4.c: Regenerated.
* generated/iany_i8.c: Regenerated.
* generated/in_pack_c10.c: Regenerated.
* generated/in_pack_c16.c: Regenerated.
* generated/in_pack_c4.c: Regenerated.
* generated/in_pack_c8.c: Regenerated.
* generated/in_pack_i1.c: Regenerated.
* generated/in_pack_i16.c: Regenerated.
* generated/in_pack_i2.c: Regenerated.
* generated/in_pack_i4.c: Regenerated.
* generated/in_pack_i8.c: Regenerated.
* generated/in_pack_r10.c: Regenerated.
* generated/in_pack_r16.c: Regenerated.
* generated/in_pack_r4.c: Regenerated.
* generated/in_pack_r8.c: Regenerated.
* generated/iparity_i1.c: Regenerated.
* generated/iparity_i16.c: Regenerated.
* generated/iparity_i2.c: Regenerated.
* generated/iparity_i4.c: Regenerated.
* generated/iparity_i8.c: Regenerated.
* generated/matmul_c10.c: Regenerated.
* generated/matmul_c16.c: Regenerated.
* generated/matmul_c4.c: Regenerated.
* generated/matmul_c8.c: Regenerated.
* generated/matmul_i1.c: Regenerated.
* generated/matmul_i16.c: Regenerated.
* generated/matmul_i2.c: Regenerated.
* generated/matmul_i4.c: Regenerated.
* generated/matmul_i8.c: Regenerated.
* generated/matmul_l16.c: Regenerated.
* generated/matmul_l4.c: Regenerated.
* generated/matmul_l8.c: Regenerated.
* generated/matmul_r10.c: Regenerated.
* generated/matmul_r16.c: Regenerated.
* generated/matmul_r4.c: Regenerated.
* generated/matmul_r8.c: Regenerated.
* generated/maxloc0_16_i1.c: Regenerated.
* generated/maxloc0_16_i16.c: Regenerated.
* generated/maxloc0_16_i2.c: Regenerated.
* generated/maxloc0_16_i4.c: Regenerated.
* generated/maxloc0_16_i8.c: Regenerated.
* generated/maxloc0_16_r10.c: Regenerated.
* generated/maxloc0_16_r16.c: Regenerated.
* generated/maxloc0_16_r4.c: Regenerated.
* generated/maxloc0_16_r8.c: Regenerated.
* generated/maxloc0_4_i1.c: Regenerated.
* generated/maxloc0_4_i16.c: Regenerated.
* generated/maxloc0_4_i2.c: Regenerated.
* generated/maxloc0_4_i4.c: Regenerated.
* generated/maxloc0_4_i8.c: Regenerated.
* generated/maxloc0_4_r10.c: Regenerated.
* generated/maxloc0_4_r16.c: Regenerated.
* generated/maxloc0_4_r4.c: Regenerated.
* generated/maxloc0_4_r8.c: Regenerated.
* generated/maxloc0_8_i1.c: Regenerated.
* generated/maxloc0_8_i16.c: Regenerated.
* generated/maxloc0_8_i2.c: Regenerated.
* generated/maxloc0_8_i4.c: Regenerated.
* generated/maxloc0_8_i8.c: Regenerated.
* generated/maxloc0_8_r10.c: Regenerated.
* generated/maxloc0_8_r16.c: Regenerated.
* generated/maxloc0_8_r4.c: Regenerated.
* generated/maxloc0_8_r8.c: Regenerated.
* generated/maxloc1_16_i1.c: Regenerated.
* generated/maxloc1_16_i16.c: Regenerated.
* generated/maxloc1_16_i2.c: Regenerated.
* generated/maxloc1_16_i4.c: Regenerated.
* generated/maxloc1_16_i8.c: Regenerated.
* generated/maxloc1_16_r10.c: Regenerated.
* generated/maxloc1_16_r16.c: Regenerated.
* generated/maxloc1_16_r4.c: Regenerated.
* generated/maxloc1_16_r8.c: Regenerated.
* generated/maxloc1_4_i1.c: Regenerated.
* generated/maxloc1_4_i16.c: Regenerated.
* generated/maxloc1_4_i2.c: Regenerated.
* generated/maxloc1_4_i4.c: Regenerated.
* generated/maxloc1_4_i8.c: Regenerated.
* generated/maxloc1_4_r10.c: Regenerated.
* generated/maxloc1_4_r16.c: Regenerated.
* generated/maxloc1_4_r4.c: Regenerated.
* generated/maxloc1_4_r8.c: Regenerated.
* generated/maxloc1_8_i1.c: Regenerated.
* generated/maxloc1_8_i16.c: Regenerated.
* generated/maxloc1_8_i2.c: Regenerated.
* generated/maxloc1_8_i4.c: Regenerated.
* generated/maxloc1_8_i8.c: Regenerated.
* generated/maxloc1_8_r10.c: Regenerated.
* generated/maxloc1_8_r16.c: Regenerated.
* generated/maxloc1_8_r4.c: Regenerated.
* generated/maxloc1_8_r8.c: Regenerated.
* generated/maxval_i1.c: Regenerated.
* generated/maxval_i16.c: Regenerated.
* generated/maxval_i2.c: Regenerated.
* generated/maxval_i4.c: Regenerated.
* generated/maxval_i8.c: Regenerated.
* generated/maxval_r10.c: Regenerated.
* generated/maxval_r16.c: Regenerated.
* generated/maxval_r4.c: Regenerated.
* generated/maxval_r8.c: Regenerated.
* generated/minloc0_16_i1.c: Regenerated.
* generated/minloc0_16_i16.c: Regenerated.
* generated/minloc0_16_i2.c: Regenerated.
* generated/minloc0_16_i4.c: Regenerated.
* generated/minloc0_16_i8.c: Regenerated.
* generated/minloc0_16_r10.c: Regenerated.
* generated/minloc0_16_r16.c: Regenerated.
* generated/minloc0_16_r4.c: Regenerated.
* generated/minloc0_16_r8.c: Regenerated.
* generated/minloc0_4_i1.c: Regenerated.
* generated/minloc0_4_i16.c: Regenerated.
* generated/minloc0_4_i2.c: Regenerated.
* generated/minloc0_4_i4.c: Regenerated.
* generated/minloc0_4_i8.c: Regenerated.
* generated/minloc0_4_r10.c: Regenerated.
* generated/minloc0_4_r16.c: Regenerated.
* generated/minloc0_4_r4.c: Regenerated.
* generated/minloc0_4_r8.c: Regenerated.
* generated/minloc0_8_i1.c: Regenerated.
* generated/minloc0_8_i16.c: Regenerated.
* generated/minloc0_8_i2.c: Regenerated.
* generated/minloc0_8_i4.c: Regenerated.
* generated/minloc0_8_i8.c: Regenerated.
* generated/minloc0_8_r10.c: Regenerated.
* generated/minloc0_8_r16.c: Regenerated.
* generated/minloc0_8_r4.c: Regenerated.
* generated/minloc0_8_r8.c: Regenerated.
* generated/minloc1_16_i1.c: Regenerated.
* generated/minloc1_16_i16.c: Regenerated.
* generated/minloc1_16_i2.c: Regenerated.
* generated/minloc1_16_i4.c: Regenerated.
* generated/minloc1_16_i8.c: Regenerated.
* generated/minloc1_16_r10.c: Regenerated.
* generated/minloc1_16_r16.c: Regenerated.
* generated/minloc1_16_r4.c: Regenerated.
* generated/minloc1_16_r8.c: Regenerated.
* generated/minloc1_4_i1.c: Regenerated.
* generated/minloc1_4_i16.c: Regenerated.
* generated/minloc1_4_i2.c: Regenerated.
* generated/minloc1_4_i4.c: Regenerated.
* generated/minloc1_4_i8.c: Regenerated.
* generated/minloc1_4_r10.c: Regenerated.
* generated/minloc1_4_r16.c: Regenerated.
* generated/minloc1_4_r4.c: Regenerated.
* generated/minloc1_4_r8.c: Regenerated.
* generated/minloc1_8_i1.c: Regenerated.
* generated/minloc1_8_i16.c: Regenerated.
* generated/minloc1_8_i2.c: Regenerated.
* generated/minloc1_8_i4.c: Regenerated.
* generated/minloc1_8_i8.c: Regenerated.
* generated/minloc1_8_r10.c: Regenerated.
* generated/minloc1_8_r16.c: Regenerated.
* generated/minloc1_8_r4.c: Regenerated.
* generated/minloc1_8_r8.c: Regenerated.
* generated/minval_i1.c: Regenerated.
* generated/minval_i16.c: Regenerated.
* generated/minval_i2.c: Regenerated.
* generated/minval_i4.c: Regenerated.
* generated/minval_i8.c: Regenerated.
* generated/minval_r10.c: Regenerated.
* generated/minval_r16.c: Regenerated.
* generated/minval_r4.c: Regenerated.
* generated/minval_r8.c: Regenerated.
* generated/norm2_r10.c: Regenerated.
* generated/norm2_r16.c: Regenerated.
* generated/norm2_r4.c: Regenerated.
* generated/norm2_r8.c: Regenerated.
* generated/pack_c10.c: Regenerated.
* generated/pack_c16.c: Regenerated.
* generated/pack_c4.c: Regenerated.
* generated/pack_c8.c: Regenerated.
* generated/pack_i1.c: Regenerated.
* generated/pack_i16.c: Regenerated.
* generated/pack_i2.c: Regenerated.
* generated/pack_i4.c: Regenerated.
* generated/pack_i8.c: Regenerated.
* generated/pack_r10.c: Regenerated.
* generated/pack_r16.c: Regenerated.
* generated/pack_r4.c: Regenerated.
* generated/pack_r8.c: Regenerated.
* generated/parity_l1.c: Regenerated.
* generated/parity_l16.c: Regenerated.
* generated/parity_l2.c: Regenerated.
* generated/parity_l4.c: Regenerated.
* generated/parity_l8.c: Regenerated.
* generated/product_c10.c: Regenerated.
* generated/product_c16.c: Regenerated.
* generated/product_c4.c: Regenerated.
* generated/product_c8.c: Regenerated.
* generated/product_i1.c: Regenerated.
* generated/product_i16.c: Regenerated.
* generated/product_i2.c: Regenerated.
* generated/product_i4.c: Regenerated.
* generated/product_i8.c: Regenerated.
* generated/product_r10.c: Regenerated.
* generated/product_r16.c: Regenerated.
* generated/product_r4.c: Regenerated.
* generated/product_r8.c: Regenerated.
* generated/reshape_c10.c: Regenerated.
* generated/reshape_c16.c: Regenerated.
* generated/reshape_c4.c: Regenerated.
* generated/reshape_c8.c: Regenerated.
* generated/reshape_i16.c: Regenerated.
* generated/reshape_i4.c: Regenerated.
* generated/reshape_i8.c: Regenerated.
* generated/reshape_r10.c: Regenerated.
* generated/reshape_r16.c: Regenerated.
* generated/reshape_r4.c: Regenerated.
* generated/reshape_r8.c: Regenerated.
* generated/shape_i16.c: Regenerated.
* generated/shape_i4.c: Regenerated.
* generated/shape_i8.c: Regenerated.
* generated/spread_c10.c: Regenerated.
* generated/spread_c16.c: Regenerated.
* generated/spread_c4.c: Regenerated.
* generated/spread_c8.c: Regenerated.
* generated/spread_i1.c: Regenerated.
* generated/spread_i16.c: Regenerated.
* generated/spread_i2.c: Regenerated.
* generated/spread_i4.c: Regenerated.
* generated/spread_i8.c: Regenerated.
* generated/spread_r10.c: Regenerated.
* generated/spread_r16.c: Regenerated.
* generated/spread_r4.c: Regenerated.
* generated/spread_r8.c: Regenerated.
* generated/sum_c10.c: Regenerated.
* generated/sum_c16.c: Regenerated.
* generated/sum_c4.c: Regenerated.
* generated/sum_c8.c: Regenerated.
* generated/sum_i1.c: Regenerated.
* generated/sum_i16.c: Regenerated.
* generated/sum_i2.c: Regenerated.
* generated/sum_i4.c: Regenerated.
* generated/sum_i8.c: Regenerated.
* generated/sum_r10.c: Regenerated.
* generated/sum_r16.c: Regenerated.
* generated/sum_r4.c: Regenerated.
* generated/sum_r8.c: Regenerated.
* generated/transpose_c10.c: Regenerated.
* generated/transpose_c16.c: Regenerated.
* generated/transpose_c4.c: Regenerated.
* generated/transpose_c8.c: Regenerated.
* generated/transpose_i16.c: Regenerated.
* generated/transpose_i4.c: Regenerated.
* generated/transpose_i8.c: Regenerated.
* generated/transpose_r10.c: Regenerated.
* generated/transpose_r16.c: Regenerated.
* generated/transpose_r4.c: Regenerated.
* generated/transpose_r8.c: Regenerated.
* generated/unpack_c10.c: Regenerated.
* generated/unpack_c16.c: Regenerated.
* generated/unpack_c4.c: Regenerated.
* generated/unpack_c8.c: Regenerated.
* generated/unpack_i1.c: Regenerated.
* generated/unpack_i16.c: Regenerated.
* generated/unpack_i2.c: Regenerated.
* generated/unpack_i4.c: Regenerated.
* generated/unpack_i8.c: Regenerated.
* generated/unpack_r10.c: Regenerated.
* generated/unpack_r16.c: Regenerated.
* generated/unpack_r4.c: Regenerated.
* generated/unpack_r8.c: Regenerated.
* intrinsics/cshift0.c: Use xmalloc.
* intrinsics/ctime.c: Likewise.
* intrinsics/date_and_time.c: Likewise.
* intrinsics/eoshift0.c: Likewise.
* intrinsics/eoshift2.c: Likewise.
* intrinsics/getlog.c: Likewise.
* intrinsics/pack_generic.c: Likewise.
* intrinsics/reshape_generic.c: Likewise.
* intrinsics/spread_generic.c: Likewise.
* intrinsics/string_intrinsics_inc.c: Likewise.
* intrinsics/transpose_generic.c: Likewise.
* intrinsics/unpack_generic.c: Likewise.
* io/fbuf.c: Likewise.
* io/format.c: Likewise.
* io/intrinsics.c: Likewise.
* io/list_read.c: Likewise.
* io/open.c: Likewise.
* io/transfer.c: Likewise.
* io/unit.c: Likewise.
* io/unix.c: Likewise.
* io/write.c: Likewise.
* m4/bessel.m4: Likewise.
* m4/cshift1.m4: Likewise.
* m4/eoshift1.m4: Likewise.
* m4/eoshift3.m4: Likewise.
* m4/iforeach.m4: Likewise.
* m4/ifunction.m4: Likewise.
* m4/ifunction_logical.m4: Likewise.
* m4/in_pack.m4: Likewise.
* m4/matmul.m4: Likewise.
* m4/matmull.m4: Likewise.
* m4/pack.m4: Likewise.
* m4/reshape.m4: Likewise.
* m4/shape.m4: Likewise.
* m4/spread.m4: Likewise.
* m4/transpose.m4: Likewise.
* m4/unpack.m4: Likewise.
* runtime/convert_char.c: Likewise.
* runtime/environ.c: Likewise.
* runtime/in_pack_generic.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185806
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Mon, 26 Mar 2012 14:14:51 +0000 (14:14 +0000)]
2012-03-26 Richard Guenther <rguenther@suse.de>
PR tree-optimization/52701
* tree-vect-loop.c (vect_analyze_scalar_cycles_1): Always
compute and set the evolution part of PHI nodes.
* gfortran.dg/pr52701.f90: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185800
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Mon, 26 Mar 2012 14:13:35 +0000 (14:13 +0000)]
2012-03-26 Richard Guenther <rguenther@suse.de>
PR tree-optimization/52721
* tree-vect-stmts.c (vect_init_vector): Handle scalars.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185799
138bc75d-0d04-0410-961f-
82ee72b054a4