1. 02 Apr, 2011 17 commits
  2. 01 Apr, 2011 23 commits
    • dwarf2out.c (dwarf_attr_name): Map DW_AT_GNAT_descriptive_type. · 2a9d769a
      	* dwarf2out.c (dwarf_attr_name): Map DW_AT_GNAT_descriptive_type.
      	(add_gnat_descriptive_type_attribute): New function.
      	(gen_array_type_die): Call it.
      	(gen_enumeration_type_die): Likewise.
      	(gen_struct_or_union_type_die): Likewise.
      	(modified_type_die): Likewise.
      	* langhooks.h (lang_hooks_for_types): New descriptive_type hook.
      	* langhooks-def.h (LANG_HOOKS_DESCRIPTIVE_TYPE): Default to NULL.
      	(LANG_HOOKS_FOR_TYPES_INITIALIZER): Add LANG_HOOKS_DESCRIPTIVE_TYPE.
      ada/
      	* gcc-interface/misc.c (gnat_descriptive_type): New function.
      	(LANG_HOOKS_DESCRIPTIVE_TYPE): Redefine to gnat_descriptive_type.
      
      Co-Authored-By: Eric Botcazou <ebotcazou@adacore.com>
      Co-Authored-By: Nicolas Setton <setton@adacore.com>
      
      From-SVN: r171862
      Olivier Hainque committed
    • * go.test/go-test.exp (go-set-goarch): Recognize alpha*-*-*. · 9b2398a4
      From-SVN: r171861
      Uros Bizjak committed
    • libgo: Support for alpha. · e59b9171
      From Uros Bizjak.
      
      From-SVN: r171860
      Ian Lance Taylor committed
    • re PR bootstrap/48148 (LTO bootstrap failed with bootstrap-profiled) · 15a03a11
      	PR bootstrap/48148
      	* dwarf2out.c (resolve_addr): Don't call force_decl_die
      	if DECL_EXTERNAL has non-NULL DECL_ABSTRACT_ORIGIN.
      
      	Revert:
      	2011-03-17  Richard Guenther  <rguenther@suse.de>
      
      	PR bootstrap/48148
      	* lto-cgraph.c (input_overwrite_node): Clear the abstract
      	origin for decls in other ltrans units.
      	(input_varpool_node): Likewise.
      
      From-SVN: r171856
      Jakub Jelinek committed
    • re PR middle-end/48335 (ICE in convert_move) · 19228b93
      	PR middle-end/48335
      	* expr.c (expand_assignment): Handle all possibilities
      	if TO_RTX is CONCAT.
      	* expmed.c (store_bit_field_1): Avoid trying to create
      	invalid SUBREGs.
      	(store_split_bit_field): If SUBREG_REG (op0) or
      	op0 itself has smaller mode than word, return it
      	for offset 0 and const0_rtx for out-of-bounds stores.
      	If word is const0_rtx, skip it.
      
      	* gcc.c-torture/compile/pr48335-1.c: New test.
      	* gcc.dg/pr48335-1.c: New test.
      	* gcc.dg/pr48335-2.c: New test.
      	* gcc.dg/pr48335-3.c: New test.
      	* gcc.dg/pr48335-4.c: New test.
      	* gcc.dg/pr48335-5.c: New test.
      	* gcc.dg/pr48335-6.c: New test.
      	* gcc.dg/pr48335-7.c: New test.
      	* gcc.dg/pr48335-8.c: New test.
      	* gcc.target/i386/pr48335-1.c: New test.
      
      From-SVN: r171855
      Jakub Jelinek committed
    • h8300.c (print_operand_address): Rename to... · 88cb339e
      	* config/h8300/h8300.c (print_operand_address): Rename to...
      	(h8300_print_operand_address): ...this. Make static. Adjust comments.
      	Call h8300_print_operand and h8300_print_operand_address instead of
      	print_operand and print_operand_address. Declare.
      	(print_operand): Renake to...
      	(h8300_print_operand): ...this. Make static. Adjust comments.
      	Call h8300_print_operand instead of print_operand. Declare.
      	(h8300_print_operand_punct_valid_p): Moved from h8300.h file.
      	(h8300_register_move_cost): Likewise.
      	(TARGET_PRINT_OPERAND_PUNCT_VALID_P, TARGET_PRINT_OPERAND
      	TARGET_PRINT_OPERAND_ADDRESS, TARGET_REGISTER_MOVE_COST): Define.
      	* config/h8300/h8300.h (PRINT_OPERAND_ADDRESS, PRINT_OPERAND
      	PRINT_OPERAND_PUNCT_VALID_P, REGISTER_MOVE_COST): Delete.
      	* config/h8300/h8300-protos.h (print_operand): Delete.
      	(print_operand_address): Delete.
      
      From-SVN: r171853
      Naveen H.S committed
    • re PR bootstrap/48400 (powerpc-apple-darwin9 fails to bootstrap at revision 171824) · 756d6ee9
      PR 48400
      * dwarf2out.c (dwarf2out_source_line): Disable discriminators
      in strict mode before dwarf4.  Re-order tests to early out
      before switching sections.
      
      From-SVN: r171852
      Richard Henderson committed
    • constraints.md: New file. · ceaaaeab
      	* config/h8300/constraints.md: New file.
      	* config/h8300/h8300.md: Include it.  Use satisfies_constraint_J,
      	satisfies_constraint_L, and satisfies_constraint_N for peephole2s.
      	(*tst_extzv_1_n, *tstsi_variable_bit_qi): Use satisfies_constraint_U.
      	* config/h8300/predicates.md (bit_operand): Likewise.
      	(incdec_operand): Use satisfies_constraint_M and
      	satisfies_constraint_O.  Don't use C code block.
      	* config/h8300/h8300-protos.h (h8300_reg_class_from_letter): Delete.
      	* config/h8300/h8300.c (h8300_reg_class_from_letter): Delete.
      	(compute_mov_length): Use satisfies_constraint_G.
      	(fix_bit_operand): Use satisfies_constraint_U.
      	* config/h8300/h8300.h (REG_CLASS_FROM_LETTER): Delete.
      	(CONST_OK_FOR_I, CONST_OK_FOR_J, CONST_OK_FOR_L): Delete.
      	(CONST_OK_FOR_M, CONST_OK_FOR_N, CONST_OK_FOR_O): Delete.
      	(CONST_OK_FOR_Ppositive, CONST_OK_FOR_Pnegative): Delete.
      	(CONST_OK_FOR_P, CONSTRAINT_LEN_FOR_P): Delete.
      	(CONST_OK_FOR_CONSTRAINT_P, CONST_OK_FOR_LETTER_P): Delete.
      	(CONST_DOUBLE_OK_FOR_LETTER_P): Delete.
      	(OK_FOR_Q, OK_FOR_R, OK_FOR_S, OK_FOR_T, OK_FOR_U, OK_FOR_WU): Delete.
      	(OK_FOR_W, CONSTRAINT_LEN_FOR_W, OK_FOR_Y2, OK_FOR_Y0): Delete.
      	(OK_FOR_Y, CONSTRAINT_LEN_FOR_Y, OK_FOR_Z): Delete.
      	(EXTRA_CONSTRAINT_STR, CONSTRAINT_LEN): Delete.
      	(EXTRA_MEMORY_CONSTRAINT): Delete.
      
      From-SVN: r171851
      Nathan Froyd committed
    • 2011-04-01 Vincent Lefevre <vincent+gcc@vinc17.org> · c1c0e8e1
      	PR c/36299
      	* gcc.dg/Waddress.c: New test.
      
      From-SVN: r171850
      Vincent Lefevre committed
    • re PR fortran/48352 (segfault in fortran/frontend-passes.c) · 6e98bce4
      2011-04-01  Thomas Koenig  <tkoenig@gcc.gnu.org>
      
      	PR fortran/48352
      	* frontend-passes (cfe_register_funcs):  Don't
      	register functions if they appear as iterators in DO loops.
      
      2011-04-01  Thomas Koenig  <tkoenig@gcc.gnu.org>
      
      	PR fortran/48352
      	* gfortran.dg/function_optimize_3.f90:  New test.
      
      From-SVN: r171849
      Thomas Koenig committed
    • configure.ac (avr-*-*): Add comment about why libssp is disabled. · b318fb4b
      	* configure.ac (avr-*-*): Add comment about why libssp is disabled.
      	(microblaze*): Don't disable libssp.
      	* configure: Regenerate.
      
      From-SVN: r171848
      Joseph Myers committed
    • Fix 48262 · 08ae38e0
      Co-Authored-By: Michael Meissner <meissner@linux.vnet.ibm.com>
      
      From-SVN: r171847
      Andrew Pinski committed
    • Don't add DW_AT_low_pc if the CU has no associated code. · bdb0b0f6
              * dwarf2out.c (dwarf2out_finish): Don't add low_pc and/or
              high_pc attribute if the CU has no associated code. Only output
              DW_AT_entry_pc for CU if not generating strict dwarf and
              dwarf_version < 4.
      
      From-SVN: r171846
      Mark Wielaard committed
    • haifa-sched.c (prune_ready_list): New function, broken out of schedule_block. · 9d701248
      	* haifa-sched.c (prune_ready_list): New function, broken out of
      	schedule_block.
      	(schedule_block): Use it.
      
      From-SVN: r171845
      Bernd Schmidt committed
    • 20091002-1_0.C: Use "dg-require-effective-target fpic". · eabb8ea4
      	* g++.dg/lto/20091002-1_0.C: Use "dg-require-effective-target fpic".
      	* g++.dg/lto/20091002-2_0.C: Likewise.
      	* g++.dg/lto/20090303_0.c: Likewise.
      	* g++.dg/lto/20091004-1_0.C: Likewise.
      	* g++.dg/lto/20091002-3_0.C: Likewise.
      	* g++.dg/lto/20091004-2_0.C: Likewise.
      	* g++.dg/lto/20081123_0.C: Likewise.
      	* g++.dg/lto/20090313_0.C: Likewise.
      	* g++.dg/lto/20081109-1_0.C: Likewise.
      	* g++.dg/lto/20081219_0.C: Likewise.
      	* g++.dg/lto/20081204-1_0.C: Likewise.
      	* g++.dg/lto/20090302_0.C: Likewise.
      	* g++.dg/lto/20081119-1_0.C: Likewise.
      	* g++.dg/lto/20081118_0.C: Likewise.
      	* gcc.dg/lto/20091020-2_0.c: Likewise.
      	* gcc.dg/lto/20090210_0.c: Likewise.
      	* gcc.dg/lto/20081204-1_0.c: Likewise.
      	* gcc.dg/lto/20081224_0.c: Likewise.
      	* gcc.dg/lto/20090219_0.c: Likewise.
      	* gcc.dg/lto/20091014-1_0.c: Likewise.
      	* gcc.dg/lto/20091016-1_0.c: Likewise.
      	* gcc.dg/lto/20090206-2_0.c: Likewise.
      	* gcc.dg/lto/20090116_0.c: Likewise.
      	* gcc.dg/lto/20091013-1_0.c: Likewise.
      	* gcc.dg/lto/20091015-1_0.c: Likewise.
      	* gcc.dg/lto/20090126-2_0.c: Likewise.
      
      From-SVN: r171844
      Bernd Schmidt committed
    • sched-ebb.c (begin_schedule_ready): Remove second argument. · 86014d07
      	* sched-ebb.c (begin_schedule_ready): Remove second argument.
      	Split most of the code into...
      	(begin_move_insn): ... here.  New function.
      	(ebb_sched_info): Add a pointer to it.
      	* haifa-sched.c (scheduled_insns): New static variable.
      	(sched_extend_ready_list): Allocate it.
      	(schedule_block): Use it to record the order of scheduled insns.
      	Perform RTL changes to move insns only after all scheduling
      	decisions have been made.
      	* modulo-sched.c (sms_sched_haifa_sched_info): Add NULL entry for the
      	begin_move_insn field.
      	* sel-sched-ir.c (sched_sel_haifa_sched_info): Likewise.
      	* sched-int.h (struct haifa_sched_info): Remove second argument
      	from begin_schedule_ready hook.  Add new member begin_move_insn.
      	* sched-rgn.c (begin_schedule_ready): Remove second argument.
      	(rgn_const_sched_info): Add NULL entry for the begin_move_insn field.
      
      From-SVN: r171843
      Bernd Schmidt committed
    • haifa-sched.c (queue_insn): New arg REASON. · ec4efea9
      	* haifa-sched.c (queue_insn): New arg REASON.  All callers
      	changed.  Print it in debugging output.
      
      From-SVN: r171841
      Bernd Schmidt committed
    • ifcvt.c (cond_exec_process_insns): Disallow converting a block that contains the prologue. · c5dd277d
      	* ifcvt.c (cond_exec_process_insns): Disallow converting a block
      	that contains the prologue.
      
      	* gcc.c-torture/compile/20110401-1.c: New test.
      
      From-SVN: r171840
      Bernd Schmidt committed
    • dwarf2out.h (dwarf2out_frame_debug_init): Declare. · 722279e4
      	* dwarf2out.h (dwarf2out_frame_debug_init): Declare.
      	* dwarf2out.c (dwarf2out_frame_debug_init): New function, broken
      	out of ...
      	(dwarf2out_frame_debug): ... here. Don't handle a NULL argument.
      	* final.c (final_start_function): Call the new function rather
      	than using a NULL argument for dwarf2out_frame_debug.
      
      From-SVN: r171839
      Bernd Schmidt committed
    • * config/spu/t-spu-elf (dp-bit.c): Use > instead of >>. · 1ca1dad5
      From-SVN: r171837
      Ulrich Weigand committed
    • And last the ChangeLog · 49568e45
      From-SVN: r171836
      Kai Tietz committed