1. 17 Aug, 2012 17 commits
    • bitmap.h (struct bitmap_element_def): GTY annotate next/prev. · 7f3f8d3f
      2012-08-17  Richard Guenther  <rguenther@suse.de>
      
      	* bitmap.h (struct bitmap_element_def): GTY annotate next/prev.
      	(struct bitmap_head_def): GTY skip current field.
      
      From-SVN: r190479
      Richard Guenther committed
    • fr30.md (cbranchsi4): Remove mode from comparison. · baecdd1e
      	* config/fr30/fr30.md  (cbranchsi4): Remove mode from
      	comparison.
      	(branch_true): Likewise.
      	(branch_false): Likewise.
      
      From-SVN: r190478
      Nick Clifton committed
    • mcore.md (cbranchsi4): Remove mode from comparison. · 4e3b4c3e
      	* config/mcore/mcore.md (cbranchsi4): Remove mode from
      	comparison.
      
      From-SVN: r190477
      Nick Clifton committed
    • iq2000.md (cbranchsi4): Remove mode from comparison and label. · 335db8e6
      	* config/iq2000/iq2000.md (cbranchsi4): Remove mode from
      	comparison and label.
      	(branch_zero): Likewise.
      	(branch_zero_inverted): Likewise.
      	(branch_equality): Likewise.
      	(branch_equality_inverted): Likewise.
      	(extend-and-compare): Disable until reload issues can be
      	resolved.
      	* config/iq2000/iq2000.c (gen_conditional_branch): Use VOIDmode
      	for comparison.
      	(iq2000_function_arg_advance): Remove CONST_CAST2.
      
      From-SVN: r190476
      Nick Clifton committed
    • re PR middle-end/54146 (Very slow compile with attribute((flatten))) · 3f9b14ff
      	PR middle-end/54146
      	* tree-ssa-loop-im.c (lim_bitmap_obstack): New bitmap_obstack.
      	(memref_free): Don't free the bitmaps individually here.
      	(mem_ref_alloc): Allocate the bitmaps on the new bitmap obstack.
      	(analyze_memory_references): Likewise.
      	(tree_ssa_lim_initialize): Initialize the new bitmap obstack.
      	(tree_ssa_lim_finalize): Release it.
      	* dse.c (dse_bitmap_obstack): New bitmap obstack.
      	(dse_obstack): New obstack.
      	(get_group_info): Allocate the bitmaps on the new bitmap obstack.
      	(dse_step0): Allocate the scratch bitmap on reg_obstack.  Initialize
      	the new bitmap obstack and normal obstack.  Use XNEWVEC for bb_table.
      	(record_store): Allocate regs_set on reg_obstack.
      	(dse_step1): Allocate regs_live on reg_obstack.
      	(dse_step2_init): Allocate offset_map_n and offset_map_p on the new
      	obstack.
      	(dse_step3_scan): Allocate bitmaps on the new bitmap obstack.
      	(dse_step3): Likewise.
      	(dse_confluence_0): Likewise.
      	(dse_confluence_n): Likewise.
      	(dse_transfer_function): Likewise.
      	(dse_step7): Destroy the new obstacks, and everything allocated on
      	them, in one big sweep.
      	(rest_of_handle_dse): Update.
      	* cfgexpand.c (stack_var_bitmap_obstack): New bitmap obstack.
      	(add_stack_var_conflict): Allocate bitmaps on it.
      	(add_scope_conflicts_1): Likewise.
      	(add_scope_conflicts): Likewise.
      	(update_alias_info_with_stack_vars): Likewise.
      	(init_vars_expansion): Move TREE_USED fiddling expand_used_vars.
      	Initialize the new bitmap obstack.
      	(fini_vars_expansion): Release it.
      	(estimated_stack_frame_size): Use init_vars_expansion to set things up
      	and always clean up at the end.
      	(expand_used_vars): Do the TREE_USED trickery here.  Always call
      	fini_vars_expansion.
      	* tree-ssa-live.h (struct tree_live_info_d): Make livein and liveout
      	arrays of bitmap_head to avoid one indirection per bitmap access.
      	(live_on_entry, live_on_exit, live_var_map, live_merge_and_clear,
      	make_live_on_entry): Update.
      	* tree-ssa-live.c (partition_view_bitmap): Don't double-free 'used'.
      	(liveness_bitmap_obstack): New bitmap obstack.
      	(remove_unused_locals): Use it to allocate all bitmaps on.  Update
      	for livein/liveout changes in tree-ssa-live.h.
      	(delete_tree_live_info): Release the bitmap obstack.
      	(loe_visit_block, live_worklist, set_var_live_on_entry,
      	calculate_live_on_exit, dump_live_info): Update.
      	(calculate_live_ranges): Initialize the bitmap.
      	* tree-ssa-ter.c (ter_bitmap_obstack): New bitmap obstack.
      	(new_temp_expr_table): Allocate bitmap on it.
      	(make_dependent_on_partition, add_to_partition_kill_list,
      	add_dependence, process_replaceable): Likewise.
      	(find_replaceable_exprs): Initialize and release the new obstack here.
      	* df-problems.c (df_lr_add_problem): Allocate persistent bitmap
      	for out_of_date_transfer_functions on df_bitmap_obstack.
      	(df_live_add_problem): Likewise.
      	(df_chain_add_problem): Likewise.
      	(df_word_lr_add_problem): Likewise.
      
      From-SVN: r190475
      Steven Bosscher committed
    • t-mep (mep-pragma.o): Use $(COMPILER) to compile mep-pragma.c. · a69b2a7d
      	* config/mep/t-mep (mep-pragma.o): Use $(COMPILER) to compile
      	mep-pragma.c.
      
      From-SVN: r190474
      Nick Clifton committed
    • t-avr (gen-avr-mmcu-texi): Use $(CC) to compile gen-avr-mmcu-texi.c. · caed3b90
      	* config/avr/t-avr (gen-avr-mmcu-texi): Use $(CC) to compile
      	gen-avr-mmcu-texi.c.
      
      From-SVN: r190473
      Georg-Johann Lay committed
    • arm.md (arm_addsi3): New variant for Thumb2 16-bit ADD instruction. · b915718f
      	* arm.md (arm_addsi3): New variant for Thumb2 16-bit ADD instruction.
      	* arm.c (thumb2_reorg): Don't convert an ADD instruction that's
      	already 16 bits.
      
      From-SVN: r190472
      Richard Earnshaw committed
    • hash-table.h (class hash_table): Use a descriptor template argument instead of… · 5deac340
      hash-table.h (class hash_table): Use a descriptor template argument instead of decomposed element type and...
      
      2012-08-17  Richard Guenther  <rguenther@suse.de>
      
      	* hash-table.h (class hash_table): Use a descriptor template
      	argument instead of decomposed element type and support
      	functions.
      	(struct pointer_hash): New generic typed pointer-hash.
      	(struct typed_free_remove, struct typed_noop_remove): Generic
      	hash_table support pieces.
      	* coverage.c (struct counts_entry): Add hash_table support
      	members.
      	* tree-ssa-ccp.c (gimple_htab): Use pointer_hash.
      	* tree-ssa-coalesce.c (struct ssa_name_var_hash): New generic
      	SSA name by SSA_NAME_VAR hash.
      	(coalesce_ssa_name): Use it.
      	* tree-ssa-pre.c (struct pre_expr_d): Add hash_table support.
      	(expression_to_id): Adjust.
      	(struct expr_pred_trans_d): Add hash_table support.
      	(phi_translate_table): Adjust.
      	(phi_trans_lookup): Likewise.
      	(phi_trans_add): Likewise.
      	(do_regular_insertion): Likewise.
      	* tree-ssa-tail-merge.c (struct same_succ_def): Add hash_table
      	support.
      	(same_succ_htab): Adjust.
      	(find_same_succ_bb): Likewise.
      	(find_same_succ): Likewise.
      	(update_worklist): Likewise.
      	* tree-ssa-threadupdate.c (struct redirection_data): Add hash_table
      	support.
      	(redirection_data): Adjust.
      
      From-SVN: r190471
      Richard Guenther committed
    • params.def (integer-share-limit): Decrease from 256 to 251, add rationale. · c58c0d4c
      2012-08-17  Richard Guenther  <rguenther@suse.de>
      
      	* params.def (integer-share-limit): Decrease from 256 to 251,
      	add rationale.
      
      From-SVN: r190470
      Richard Guenther committed
    • tree-sra.c (modify_function): Free redirect_callers vector. · c7e62a26
      2012-08-17  Richard Guenther  <rguenther@suse.de>
      
      	* tree-sra.c (modify_function): Free redirect_callers vector.
      	* ipa-split.c (split_function): Free args_to_pass vector.
      	* tree-vect-data-refs.c (vect_peeling_hash_get_lowest_cost): Free
      	body_cost_vec properly.
      	(vect_enhance_data_refs_alignment): Likewise.
      	* tree-vect-stmts.c (vectorizable_operation): Do not pre-allocate
      	vec_oprnds.
      	(new_stmt_vec_info): Do not pre-allocate STMT_VINFO_SAME_ALIGN_REFS.
      	* tree-vect-slp.c (vect_free_slp_instance): Free the instance.
      	(vect_analyze_slp_instance): Free everything.
      	(destroy_bb_vec_info): Free the SLP instances.
      
      From-SVN: r190469
      Richard Guenther committed
    • rs6000.c (macho_branch_islands): Adjust for changes to vec.h. · 62205beb
      
      	* config/rs6000/rs6000.c (macho_branch_islands): Adjust for changes
      	to vec.h.
      
      From-SVN: r190468
      Iain Sandoe committed
    • invoke.texi (-Wsizeof-pointer-memaccess): Document. · 1a4049e7
      	* doc/invoke.texi (-Wsizeof-pointer-memaccess): Document.
      c/
      	* c-tree.h (c_last_sizeof_arg): Declare.
      	* c-parser.c (struct c_tree_loc_pair): New type.
      	(c_parser_expr_list): Add sizeof_arg argument.  Fill it in if
      	non-NULL.
      	(c_parser_attributes, c_parser_objc_keywordexpr): Adjust callers.
      	(c_parser_postfix_expression_after_primary): Likewise.  Call
      	sizeof_pointer_memaccess_warning if needed.
      	(sizeof_ptr_memacc_comptypes): New function.
      	* c-typeck.c (c_last_sizeof_arg): New global variable.
      	(c_expr_sizeof_expr, c_expr_sizeof_type): Initialize it.
      cp/
      	* cp-tree.def (SIZEOF_EXPR): Move to c-common.def.
      c-family/
      	* c-common.c (sizeof_pointer_memaccess_warning): New function.
      	* c.opt (-Wsizeof-pointer-memaccess): Add new option.
      	* c-opts.c (c_common_handle_option): Enable it for -Wall.
      	* c-common.h (sizeof_pointer_memaccess_warning): Add prototype.
      	* c-common.def (SIZEOF_EXPR): Moved here from cp-tree.def.
      fortran/
      	* array.c (gfc_match_array_ref): Fix up memset arguments.
      testsuite/
      	* gcc.dg/torture/Wsizeof-pointer-memaccess1.c: New test.
      
      From-SVN: r190467
      Jakub Jelinek committed
    • config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after rs6000/t-slibgcc-aix. · 138f5acd
              * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
              rs6000/t-slibgcc-aix.
      
      From-SVN: r190465
      David Edelsohn committed
    • 2012-08-16 Sandra Loosemore <sandra@codesourcery.com> · 85b5ba1a
      	gcc/
      	* config/mips/mips-dsp.md (mips_dpau_h_qbl, mips_dpau_h_qbr)
      	(mips_dpsu_h_qbl, mips_dpsu_h_qbr, mips_dpaq_s_w_ph)
      	(mips_dpsq_s_w_ph, mips_mulsaq_s_w_ph, mips_dpaq_sa_l_w)
      	(mips_dpsq_sa_l_w, mips_maq_s_w_phl, mips_maq_s_w_phr)
      	(mips_maq_sa_w_phl, mips_maq_sa_w_phr): Add accum_in attribute.
      
      From-SVN: r190464
      Sandra Loosemore committed
    • re PR middle-end/54261 (reverse sync/atomic operators when only… · 79cd6f15
      re PR middle-end/54261 (reverse sync/atomic operators when only sync_compare_and_swap_optab libfuncs implemented)
      
      	PR middle-end/54261
      	* optabs.c (expand_atomic_fetch_op): Save and restore code when
      	retrying after failed attempt.
      
      From-SVN: r190463
      Hans-Peter Nilsson committed
    • Daily bump. · b897f4ea
      From-SVN: r190462
      GCC Administrator committed
  2. 16 Aug, 2012 23 commits
    • re PR target/54236 ([SH] Improve addc and subc insn utilization) · 0c66c562
      	PR target/54236
      	* config/sh/sh.md (addc): Add commutative modifier.
      	(*addc, *minus_plus_one, *subc, *negc): New insns and splits.
      
      	PR target/54236
      	* gcc.target/sh/pr54236-1.c: New.
      
      From-SVN: r190459
      Oleg Endo committed
    • re PR target/39423 ([SH] performance regression: lost mov @(disp,Rn)) · 9839afaf
      	PR target/39423
      	* config/sh/sh.md (*movsi_index_disp, *movhi_index_disp): Handle
      	potential T_REG clobber.  Convert zero extending split to
      	insn_and_split.
      
      From-SVN: r190458
      Oleg Endo committed
    • re PR target/54089 ([SH] Refactor shift patterns) · 043d627e
      	PR target/54089
      	* config/sh/sh.md (ashlsi3_d): Do not split if it would result
      	in a T_REG clobber.  Correct comment.
      	(ashlsi3_n): Correct comment.
      
      From-SVN: r190457
      Oleg Endo committed
    • * lib/target-supports.exp (check_effective_target_sync_int_long) · f5a53fc7
      	(check_effective_target_sync_char_short): Enable for crisv32-*
      	and cris-*.
      
      From-SVN: r190456
      Hans-Peter Nilsson committed
    • re PR middle-end/54261 (reverse sync/atomic operators when only… · af4bd920
      re PR middle-end/54261 (reverse sync/atomic operators when only sync_compare_and_swap_optab libfuncs implemented)
      
      	PR middle-end/54261
      	* gcc.dg/torture/pr54261-1.c: New test.
      
      From-SVN: r190455
      Hans-Peter Nilsson committed
    • re PR middle-end/54261 (reverse sync/atomic operators when only… · df1a3a7c
      re PR middle-end/54261 (reverse sync/atomic operators when only sync_compare_and_swap_optab libfuncs implemented)
      
      	PR middle-end/54261
      	* optabs.c (expand_atomic_fetch_op): Save and restore code when
      	retrying after failed attempt.
      
      From-SVN: r190454
      Hans-Peter Nilsson committed
    • i386-protos.h (ix86_split_lea_for_addr): Add additional argument. · af7c3fe7
      2012-08-16  Yuri Rumyantsev  <ysrumyan@gmail.com>
      
      	* config/i386/i386-protos.h (ix86_split_lea_for_addr) : Add
      	additional argument.
      	* config/i386/i386.md (ix86_split_lea_for_addr) : Add
      	additional argument curr_insn.
      	* config/i386/i386.c (ix86_split_lea_for_addr): Load base or index
      	register first, depending on their defintion distances.
      	(ix86_lea_outperforms): Prefer LEA only if split cost exceeds
      	AGU stall.
      	(find_nearest_reg-def): New function. Find register with
      	nearest definition.
      
      From-SVN: r190452
      Yuri Rumyantsev committed
    • Add a stub header file "feedback.h," needed to compile glibc and linux. · fd199491
      Add a stub header file "feedback.h," needed to compile glibc and
      linux.
      	* config.gcc (tilegx-*-linux*): Add feedback.h.
      	(tilepro-*-linux*): Likewise.
      	* config/tilegx/feedback.h: New file.
      	* config/tilepro/feedback.h: New file.
      
      From-SVN: r190451
      Walter Lee committed
    • revert: re PR bootstrap/54281 (Fails to bootstrap with --disable-nls) · 6c76b723
      2012-08-16   Diego Novillo  <dnovillo@google.com>
      
      	Revert
      
      	PR bootstrap/54281
      	* double-int.h: Move including of gmp.h ...
      	* system.h: ... here.
      	* realmpfr.h: Do not include gmp.h.
      	* tree-ssa-loop-niter.c: Do not include gmp.h.
      
      From-SVN: r190449
      Diego Novillo committed
    • darwin.h (TARGET_IEEE_QUAD): Fix comment. · e426fa99
      2012-08-16  Segher Boessenkool  <segher@kernel.crashing.org>
      
             * config/rs6000/darwin.h (TARGET_IEEE_QUAD): Fix comment.
      
      From-SVN: r190446
      Segher Boessenkool committed
    • re PR middle-end/54146 (Very slow compile with attribute((flatten))) · f5843d08
      2012-08-16  Richard Guenther  <rguenther@suse.de>
      
      	PR middle-end/54146
      	* tree-ssa-loop-niter.c (find_loop_niter_by_eval): Free the
      	exit vector.
      	* ipa-pure-const.c (analyze_function): Use FOR_EACH_LOOP_BREAK.
      	* cfgloop.h (FOR_EACH_LOOP_BREAK): Fix.
      	* tree-ssa-structalias.c (handle_lhs_call): Properly free rhsc.
      	* tree-into-ssa.c (get_ssa_name_ann): Allocate info only when
      	needed.
      	* tree-ssa-loop-im.c (analyze_memory_references): Adjust.
      	(tree_ssa_lim_finalize): Free all mem_refs.
      	* tree-ssa-sccvn.c (extract_and_process_scc_for_name): Free
      	scc when bailing out.
      	* modulo-sched.c (sms_schedule): Use FOR_EACH_LOOP_BREAK.
      	* ira-build.c (loop_with_complex_edge_p): Free loop exit vector.
      	* graphite-sese-to-poly.c (scop_ivs_can_be_represented): Use
      	FOR_EACH_LOOP_BREAK.
      
      From-SVN: r190445
      Richard Guenther committed
    • re PR bootstrap/54281 (Fails to bootstrap with --disable-nls) · 0c8036f7
      2012-08-16  Diego Novillo  <dnovillo@google.com>
      
      	PR bootstrap/54281
      	* double-int.h: Move including of gmp.h ...
      	* system.h: ... here.
      	* realmpfr.h: Do not include gmp.h.
      	* tree-ssa-loop-niter.c: Do not include gmp.h.
      
      fortran/ChangeLog
      	* gfortran.h: Do not include gmp.h.
      
      From-SVN: r190444
      Diego Novillo committed
    • re PR middle-end/54146 (Very slow compile with attribute((flatten))) · 01273677
      	PR middle-end/54146
      	* tree-flow.h (compute_global_livein): Remove prototype.
      	* tree-into-ssa.c (compute_global_livein): Remove function.
      	* tree-ssa-loop-manip.c: Include gimple-pretty-print.h.
      	(find_sibling_superloop): New function.
      	(compute_live_loop_exits): New function.
      	(add_exit_phis_edge): Rename to add_exit_phi.  Do not allow
      	inserting a PHI in a block that is not a loop exit for VAR.
      	Add dumping if TDF_DETAILS.
      	(add_exit_phis_var): Rewrite.
      	(add_exit_phis): Update.
      	(get_loops_exits): Rewrite to return an array of per-loop exits
      	rather than one bitmap with all loop exits.
      	(find_uses_to_rename_bb): Ignore virtual PHI nodes.
      	(rewrite_into_loop_closed_ssa): Update.
      
      From-SVN: r190442
      Steven Bosscher committed
    • i386elf.h (ASM_OUTPUT_ASCII): Cast _ascii_bytes before passing it to ASM_OUTPUT_LIMITED_STRING. · ca9b1cd8
      	* config/i386/i386elf.h (ASM_OUTPUT_ASCII): Cast _ascii_bytes
      	before passing it to ASM_OUTPUT_LIMITED_STRING.
      
      From-SVN: r190441
      Nick Clifton committed
    • t-avr: Replace occurrences of $(CC) with $(COMPILER). · 1f85d2fb
      	* config/avr/t-avr: Replace occurrences of $(CC) with $(COMPILER).
      	* config/avr/avr.c (avr_legitimize_reload_address): Add casts
      	for reload_type enums.
              (DEF_BUILTIN): Cast the icode to enum insn_code.
      
      From-SVN: r190439
      Nick Clifton committed
    • Revert unintended change from last commit · d34e7d4f
      From-SVN: r190437
      Sandra Loosemore committed
    • Add missing ChangeLog entry for r190406 · a9d2a88c
      From-SVN: r190436
      Maxim Kuvyrkov committed
    • longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling. · 18efc0dd
      2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
      
      libgcc/
             * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
      
      From-SVN: r190434
      Segher Boessenkool committed
    • aix43.h (ASM_CPU_SPEC): Use %(asm_default) instead of -mppc. · 800d16e9
      2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
      
      gcc/
              * config/rs6000/aix43.h (ASM_CPU_SPEC): Use %(asm_default)
              instead of -mppc.
              * config/rs6000/aix51.h (ASM_CPU_SPEC): Ditto.
      
      From-SVN: r190433
      Segher Boessenkool committed
    • aix43.h (TARGET_DEFAULT): Delete MASK_NEW_MNEMONICS. · 6b39bc38
      2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
      
      gcc/
      	* config/rs6000/aix43.h (TARGET_DEFAULT): Delete MASK_NEW_MNEMONICS.
      	(RS6000_CALL_GLUE): Adjust for single assembler syntax.
      	* config/rs6000/aix51.h (TARGET_DEFAULT, RS6000_CALL_GLUE):
      	Ditto.
      	* config/rs6000/aix52.h (TARGET_DEFAULT, RS6000_CALL_GLUE):
      	Ditto.
      	* config/rs6000/aix53.h (TARGET_DEFAULT, RS6000_CALL_GLUE):
      	Ditto.
      	* config/rs6000/aix61.h (TARGET_DEFAULT, RS6000_CALL_GLUE):
      	Ditto.
      	* config/rs6000/darwin.h (TARGET_DEFAULT): Ditto.
      	* config/rs6000/darwin.md (whole file): Adjust to single
      	assembler syntax.
      	* config/rs6000/darwin64.h (TARGET_DEFAULT): Delete
      	MASK_NEW_MNEMONICS.
      	* config/rs6000/default64.h (TARGET_DEFAULT): Ditto.
      	* config/rs6000/dfp.md: (whole file): Adjust to single
      	assembler syntax.
      	* config/rs6000/eabi.h (TARGET_DEFAULT): Delete
      	MASK_NEW_MNEMONICS.
      	* config/rs6000/eabialtivec.h (TARGET_DEFAULT): Ditto.
      	* config/rs6000/eabispe.h (TARGET_DEFAULT): Ditto.
      	* config/rs6000/linuxaltivec.h (TARGET_DEFAULT): Ditto.
      	* config/rs6000/linuxspe.h (TARGET_DEFAULT): Ditto.
      	* config/rs6000/rs6000-cpus.def (whole file): Delete
      	POWERPC_BASE_MASK.
      	* config/rs6000/rs6000-tables.opt: Regenerate.
      	* config/rs6000/rs6000.c (POWERPC_BASE_MASK): Delete.
      	(num_insns_constant_wide): Adjust comments.
      	(whole file): Adjust to single assembler syntax.
      	(output_cbranch): Adjust comment.
      	* config/rs6000/rs6000.h (ASSEMBLER_DIALECT): Delete.
      	* config/rs6000/rs6000.md: (whole file): Adjust to single
      	assembler syntax.
      	* config/rs6000/rs6000.opt (mnew-mnemonics): Delete.
      	(mold-mnemonics): Delete.
      	* config/rs6000/spe.md: (whole file): Adjust to single
      	assembler syntax.
      	* config/rs6000/sync.md: (whole file): Adjust to single
      	assembler syntax.
      	* config/rs6000/sysv4.h (TARGET_DEFAULT): Delete
      	MASK_NEW_MNEMONICS.
      	(ASM_OUTPUT_REG_PUSH): Adjust.
      	(ASM_OUTPUT_REG_POP): Adjust.
      	* config/rs6000/sysv4le.h (TARGET_DEFAULT): Delete
      	MASK_NEW_MNEMONICS.
      	* config/rs6000/vsx.md: (whole file): Adjust to single
      	assembler syntax.
      	* config/rs6000/vxworks.h (TARGET_DEFAULT): Delete
      	MASK_NEW_MNEMONICS.
      	* doc/invoke.texi: Adjust documentation to reflect the
      	removal of -mnew-mnemonics and -mold-mnemonics.
      
      libgcc/
      	* longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
      
      From-SVN: r190432
      Segher Boessenkool committed
    • rs6000-common.c (rs6000_handle_option): Delete handling for -mno-powerpc and -mpowerpc. · a441dedb
      2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
      
      gcc/
      	* common/config/rs6000/rs6000-common.c (rs6000_handle_option):
      	Delete handling for -mno-powerpc and -mpowerpc.
      	* config/rs6000/aix43.h (ASM_CPU_SPEC): Similar.
      	(ASM_DEFAULT_SPEC): Use -mppc instead of -mcom.
      	* config/rs6000/aix51.h (ASM_CPU_SPEC, ASM_DEFAULT_SPEC): Ditto.
      	* config/rs6000/aix52.h (TARGET_DEFAULT): Delete MASK_POWERPC.
      	* config/rs6000/aix53.h (TARGET_DEFAULT): Ditto.
      	* config/rs6000/aix61.h (TARGET_DEFAULT): Ditto.
      	* config/rs6000/darwin.h (TARGET_DEFAULT): Ditto.
      	* config/rs6000/darwin64.h (TARGET_DEFAULT): Ditto.
      	* config/rs6000/default64.h (TARGET_DEFAULT): Ditto.
      	* config/rs6000/driver-rs6000.c (asm_names): Delete handling
      	for -mcpu=common and -mpowerpc.
      	* config/rs6000/eabi.h (TARGET_DEFAULT): Delete MASK_POWERPC.
      	* config/rs6000/eabialtivec.h (TARGET_DEFAULT): Ditto.
      	* config/rs6000/eabispe.h (TARGET_DEFAULT): Ditto.
      	* config/rs6000/linuxaltivec.h (TARGET_DEFAULT): Ditto.
      	* config/rs6000/linuxspe.h (TARGET_DEFAULT): Ditto.
      	* config/rs6000/rs6000-builtin.def (RS6000_BUILTIN_CFSTRING):
      	Use RS6000_BTM_ALWAYS instead of RS6000_BTM_POWERPC.
      	* config/rs6000/rs6000-c.c (rs6000_target_modify_macros):
      	Adjust.
      	(rs6000_cpu_cpp_builtins): Adjust.
      	* config/rs6000/rs6000.c (POWERPC_BASE_MASK): Delete MASK_POWERPC.
      	(rs6000_builtin_mask_calculate): Adjust.
      	(rs6000_emit_move): Delete code for ! TARGET_POWERPC.
      	(rs6000_init_libfuncs): Ditto.
      	(rs6000_output_function_prologue): Ditto.
      	(rs6000_opt_masks): Delete MASK_POWERPC.
      	(rs6000_builtin_mask_names): Delete RS6000_BTM_POWERPC.
      	* config/rs6000/rs6000.h (ASM_CPU_SPEC): Delete handling for
      	-mpowerpc.
      	(RS6000_BTM_POWERPC): Delete.
      	(RS6000_BTM_COMMON): Delete RS6000_BTM_POWERPC.
      	* config/rs6000/rs6000.md (extendqisi2 patterns): Adjust for
      	TARGET_POWERPC always on.
      	(extendqihi2 patterns): Similar.
      	(various unnamed subtract patterns): Similar.
      	(bswaphi2 patterns): Similar.
      	(divmodsi4): Similar.
      	(udiv<GPR:mode>3): Similar.
      	(div<GPR:mode>3 patterns): Similar.
      	(udivmodsi4): Similar.
      	(mulhcall): Delete.
      	(mullcall): Delete.
      	(divss_call): Delete.
      	(divus_call): Delete.
      	(quoss_call): Delete.
      	(quous_call): Delete.
      	(insvsi patterns): Adjust.
      	(addsf3 patterns): Adjust.
      	(subsf3 patterns): Adjust.
      	(mulsf3 patterns): Adjust.
      	(divsf3 patterns): Adjust.
      	(*fmasf4_fpr): Adjust.
      	(*fmssf4_fpr): Adjust.
      	(*nfmasf4_fpr): Adjust.
      	(*nfmssf4_fpr): Adjust.
      	(*floatunssidf2_internal): Adjust.
      	(fix_trunc<SFDF:mode>si2_internal): Adjust.
      	(fctiwz_<SFDF:mode>): Adjust.
      	(mulsidi3 patterns): Adjust.
      	(smulsi3_highpart patterns): Adjust.
      	(umulsi3_highpart patterns): Adjust.
      	(fix_trunctfsi2 patterns): Adjust.
      	(prefetch): Adjust.
      	* config/rs6000/rs6000.opt (mpowerpc): Replace by stub option.
      	(mno-powerpc): Delete.
      	* config/rs6000/sync.md (load_locked<ATOMIC:mode>): Adjust.
      	(store_conditional<ATOMIC:mode>): Adjust.
      	(atomic_compare_and_swap<ATOMIC:mode>): Adjust.
      	(atomic_exchange<ATOMIC:mode>): Adjust.
      	(atomic_<fetchop_name><ATOMIC:mode>): Adjust.
      	(atomic_nand<ATOMIC:mode>): Adjust.
      	(atomic_fetch_<fetchop_name><ATOMIC:mode>): Adjust.
      	(atomic_fetch_nand<ATOMIC:mode>): Adjust.
      	(atomic_<fetchop_name>_fetch<ATOMIC:mode>): Adjust.
      	(atomic_nand_fetch<ATOMIC:mode>): Adjust.
      	* config/rs6000/sysv4.h (TARGET_DEFAULT): Delete MASK_POWERPC.
      	* config/rs6000/sysv4le.h (TARGET_DEFAULT): Ditto.
      	* config/rs6000/vxworks.h (TARGET_DEFAULT): Ditto.
      	* doc/invoke.texi: Adjust documentation.
      
      From-SVN: r190430
      Segher Boessenkool committed
    • rs6000.h (RS6000_BTM_ALWAYS): New. · 4b705221
      2012-08-15  Segher Boessenkool <segher@kernel.crashing.org>
      
      gcc/
              * config/rs6000/rs6000.h (RS6000_BTM_ALWAYS): New.
      
      From-SVN: r190429
      Segher Boessenkool committed