1. 15 Mar, 2013 1 commit
    • Document HLE / RTM intrinsics · 4323afa0
      The TSX HLE/RTM intrinsics were missing documentation. Add this to the
      manual.
      
      gcc/:
      2013-03-14  Andi Kleen  <ak@linux.intel.com>
      
      	PR target/56619
      	* doc/extend.texi: Document __ATOMIC_HLE_ACQUIRE,
      	__ATOMIC_HLE_RELEASE. Document __builtin_ia32 TSX intrincs.
      	Document _x* TSX intrinsics.
      
      From-SVN: r196671
      Andi Kleen committed
  2. 14 Mar, 2013 1 commit
    • re PR tree-optimization/53265 (Warn when undefined behavior implies smaller iteration count) · fbd28bc3
      	PR tree-optimization/53265
      	* common.opt (Waggressive-loop-optimizations): New option.
      	* tree-ssa-loop-niter.c: Include tree-pass.h.
      	(do_warn_aggressive_loop_optimizations): New function.
      	(record_estimate): Call it.  Don't add !is_exit bounds to loop->bounds
      	if number_of_latch_executions returned constant.
      	(estimate_numbers_of_iterations_loop): Call number_of_latch_executions
      	early.  If number_of_latch_executions returned constant, set
      	nb_iterations_upper_bound back to it.
      	* cfgloop.h (struct loop): Add warned_aggressive_loop_optimizations
      	field.
      	* Makefile.in (tree-ssa-loop-niter.o): Depend on $(TREE_PASS_H).
      	* doc/invoke.texi (-Wno-aggressive-loop-optimizations): Document.
      
      	* gcc.dg/pr53265.c: New test.
      	* gcc.dg/torture/pr49518.c: Add -Wno-aggressive-loop-optimizations
      	to dg-options.
      	* g++.dg/opt/longbranch2.C (EBCOTLut): Double sizes of a2 and a3
      	arrays.
      	* gcc.dg/tree-ssa/cunroll-10.c (main): Rename to foo.  Add argument
      	n, use it as high bound instead of 4.
      
      	* unwind-dw2.c (execute_cfa_program): Avoid
      	-Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
      	on targets with DWARF_FRAME_REGISTERS < 32.
      
      	* testsuite/libmudflap.c/fail37-frag.c: Add optimization barrier.
      
      From-SVN: r196650
      Jakub Jelinek committed
  3. 12 Mar, 2013 2 commits
  4. 07 Mar, 2013 1 commit
  5. 06 Mar, 2013 1 commit
    • re PR target/56529 ([SH] Calls to __sdivsi3_i4i and __udivsi3_i4i are generated on SH2) · 8f6d1c86
      	PR target/56529
      	* config/sh/sh.c (sh_option_override): Check for TARGET_DYNSHIFT
      	instead of TARGET_SH2 for call-table case.  Do not set sh_div_strategy
      	to SH_DIV_CALL_TABLE for TARGET_SH2.
      	* config.gcc (sh_multilibs): Add m2 and m2a to sh*-*-linux* multilib
      	list.
      	* doc/invoke.texi (SH options): Document mdiv= call-div1, call-fp,
      	call-table options.
      
      	PR target/56529
      	* config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
      	inclusion list.
      
      From-SVN: r196484
      Oleg Endo committed
  6. 05 Mar, 2013 1 commit
  7. 03 Mar, 2013 1 commit
    • target.def (TARGET_OPTION_VALID_ATTRIBUTE_P): Update comments; the attribute is… · 7aa7f2e3
      target.def (TARGET_OPTION_VALID_ATTRIBUTE_P): Update comments; the attribute is now called "target" instead of "option".
      
      2013-03-03  Sandra Loosemore  <sandra@codesourcery.com>
      
      	gcc/
      	* target.def (TARGET_OPTION_VALID_ATTRIBUTE_P): Update comments;
      	the attribute is now called "target" instead of "option".
      	(TARGET_OPTION_PRAGMA_PARSE): Likewise, for the pragma.
      	* doc/tm.texi.in (Target Attributes):  Likewise document the correct
      	attribute/pragma name for TARGET_OPTION_VALID_P and
      	TARGET_OPTION_PRAGMA_PARSE.  Also copy-edit and correct markup.
      	* doc/tm.texi: Regenerated.
      
      From-SVN: r196418
      Sandra Loosemore committed
  8. 01 Mar, 2013 1 commit
    • extended.texi (C Extensions): Change order in @menu to match @node. · 40bf31ed
      gcc/
      2013-03-01  Tobias Burnus  <burnus@net-b.de>
      
              * doc/extended.texi (C Extensions): Change order in @menu
              to match @node.
              (Other MIPS Built-in Functions): Move last MIPS entry before
              "picoChip Built-in Functions".
              (SH Built-in Functions): Move after RX Built-in Functions.
              * doc/gcc.texi (Introduction): Change order in @menu
              to match @node.
              * doc/md.texi (Constraints): Ditto.
              * gty.texi (Type Information): Ditto.
              (User-provided marking routines for template types): Make
              subsection.
              * doc/invoke.texi (AArch64 Options): Move before
              "Adapteva Epiphany Options".
      
      libiberty/
      2013-03-01  Andreas Schwab  <schwab@linux-m68k.org>
      
              * obstacks.texi (Obstacks): Trim @node to only contain the
              node name.
              * libiberty.texi (Obstacks): Lower section.
      
      From-SVN: r196388
      Tobias Burnus committed
  9. 28 Feb, 2013 3 commits
    • re PR sanitizer/56454 (need to rename attribute no_address_safety_analysis to no_sanitize_address) · e664c61c
      	PR sanitizer/56454
      	* asan.c (gate_asan): Lookup no_sanitize_address instead of
      	no_address_safety_analysis attribute.
      	* doc/extend.texi (no_address_safety_attribute): Rename to
      	no_sanitize_address attribute, mention no_address_safety_analysis
      	attribute as deprecated alias.
      
      	* c-common.c (handle_no_sanitize_address_attribute): New function.
      	(c_common_attribute_table): Add no_sanitize_address attribute.
      	(handle_no_address_safety_analysis_attribute): Add
      	no_sanitize_address attribute, not no_address_safety_analysis
      	attribute.
      
      	* g++.dg/asan/default-options-1.C (__asan_default_options): Use
      	no_sanitize_address attribute rather than no_address_safety_analysis.
      	* g++.dg/asan/sanitizer_test_utils.h
      	(ATTRIBUTE_NO_ADDRESS_SAFETY_ANALYSIS): Likewise.
      	* c-c++-common/asan/attrib-1.c: Test no_sanitize_address attribute
      	in addition to no_address_safety_analysis.
      
      Co-Authored-By: Jakub Jelinek <jakub@redhat.com>
      
      From-SVN: r196361
      Konstantin Serebryany committed
    • re PR c++/55813 (Poorly named/documented option Wctor-dtor-privacy) · 502c067d
      2013-02-28  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/55813
      	* doc/invoke.texi ([-Wctor-dtor-privacy]): Complete.
      
      From-SVN: r196334
      Paolo Carlini committed
    • * avr/avr-mcus.def (ata5272, ata5505, attiny1634, ata6285) · c7b1fc1b
      	(ata6286, atmega8a, atmega48pa, ata5790, ata5790n, ata5795)
      	(atmega164pa, atmega165pa, atmega168pa, atmega16hva, atmega16hvb)
      	(atmega16hvbrevb, atmega16m1, atmega16u4, atmega26hvg, atmega32a)
      	(atmega32a, atmega3250pa, atmega3290pa, atmega32c1, atmega32m1)
      	(atmega32u4, atmega32u6, atmega64a, atmega6490a, atmega6490p)
      	(atmega64c1, atmega64m1, atmega64rfa2, atmega64rfr2, atmega32hvb)
      	(atmega32hvbrevb, atmega16hva2, atmega48hvf, at90pwm161)
      	(atmega128a, atmega1284, atmxt112sl, atmxt224, atmxt224e)
      	(atmxt336s, atxmega16a4u, atxmega16c4, atxmega32a4u, atxmega32c4)
      	(atxmega32e5, atxmega64a3u, atxmega64a4u, atxmega64b1, atxmega64b3)
      	(atxmega64c3, atxmega64d4, atxmega128a3u, atxmega128b1)
      	(atxmega128b3, atxmega128c3, atxmega128d4, atmxt540s, atmxt540sreva)
      	(atxmega192a3u, atxmega192c3, atxmega256a3u, atxmega256c3)
      	(atxmega384c3, atxmega384d3, atxmega128a4u): New AVR_MCU.
      	(avrxmega6): Increase max flash segments from 5 to 6.
      	* config/avr/t-multilib: Regenerate.
      	* config/avr/avr-tables.opt: Regenerate.
      	* doc/avr-mmcu.texi: Regenerate.
      
      From-SVN: r196331
      Georg-Johann Lay committed
  10. 25 Feb, 2013 3 commits
  11. 24 Feb, 2013 1 commit
    • mips16.S: Don't build for microMIPS. · 6941b508
      libgcc/
      2013-02-24  Catherine Moore  <clm@codesourcery.com>
      	    Joseph Myers  <joseph@codesourcery.com>
      	    Chao-ying Fu  <fu@mips.com>
      
      	* config/mips/mips16.S:  Don't build for microMIPS.
      	* config/mips/linux-unwind.h: Handle microMIPS frame.
      	* config/mips/crtn.S (fini, init): New labels.
      
      gcc/
      2013-02-24  Catherine Moore  <clm@codesourcery.com>
      	    Maciej W. Rozycki  <macro@codesourcery.com>
      	    Tom de Vries  <tom@codesourcery.com>
      	    Nathan Sidwell <nathan@codesourcery.com>
      	    Iain Sandoe  <iain@codesourcery.com>
      	    Nathan Froyd  <froydnj@codesourcery.com>
      	    Chao-ying Fu <fu@mips.com>
      
      	* doc/extend.texi: (micromips, nomicromips, nocompression):
      	Document new function attributes. 
      	* doc/invoke.texi (minterlink-compressed, mmicromips,
      	m14k, m14ke, m14kec): Document new options.
      	(minterlink-mips16): Update documentation.
      	* doc/md.texi (ZC, ZD): Document new constraints.
      	* configure.ac (gcc_cv_as_micromips): Check if linker
      	supports the .set micromips directive.
      	* configure: Regenerate.
      	* config.in: Regenerate.
      	* config/mips/mips-tables.opt: Regenerate.
      	* config/mips/micromips.md: New file.
      	* constraints.md (ZC, AD): New constraints.
      	* config/mips/predicates.md (movep_src_register): New predicate.
      	(movep_src_operand): New predicate.
      	(non_volatile_mem_operand): New predicate.
      	* config/mips/mips.md (multimem): New type.
      	(length): Differentiate between 17-bit and 18-bit branch offsets.
      	(MOVEP1, MOVEP2): New mode iterator.
       	(mov_<load>l): Use ZC constraint.
      	(mov_<load>r): Likewise.
      	(mov_<store>l): Likewise.
      	(mov_<store>r): Likewise.
      	(*branch_equality<mode>_inverted): Add microMIPS support.
      	(*branch_equality<mode>): Likewise.
      	(*jump_absolute): Likewise.
      	(indirect_jump_<mode>): Likewise.
      	(tablejump_<mode>): Likewise.
      	(<optab>_internal): Likewise.
      	(sibcall_internal): Likewise.
      	(sibcall_value_internal): Likewise.
      	(prefetch): Use constraint ZD.
      	* config/mips/mips.opt (minterlink-compressed): New option.
      	(minterlink-mips16): Now an alias for minterlink-compressed.
      	(mmicromips): New option.
      	* config/mips/sync.md (sync_compare_and_swap<mode>): Use ZR constraint.
      	(compare_and_swap_12): Likewise.
      	(sync_add<mode>): Likewise.
      	(sync_<optab>_12): Likewise.
      	(sync_old_<optab>_12): Likewise.
      	(sync_new_<optab>_12): Likewise.
      	(sync_nand_12): Likewise.
      	(sync_old_nand_12): Likewise.
      	(sync_new_nand_12): Likewise.
      	(sync_sub<mode>): Likewise.
      	(sync_old_add<mode>): Likewise.
      	(sync_old_sub<mode>): Likewise.
      	(sync_new_add<mode>): Likewise.
      	(sync_new_sub<mode>): Likewise.
      	(sync_<optab><mode>): Likewise.
      	(sync_old_<optab><mode>): Likewise.
      	(sync_new_<optab><mode>): Likewise.
      	(sync_nand<mode>): Likewise.
      	(sync_old_nand<mode>): Likewise.
      	(sync_new_nand<mode>): Likewise.
      	(sync_lock_test_and_set<mode>): Likewise.
      	(test_and_set_12): Likewise.
      	(atomic_compare_and_swap<mode>): Likewise.
      	(atomic_exchange<mode>_llsc): Likewise.
      	(atomic_fetch_add<mode>_llsc): Likewise.
      	* config/mips/mips-cpus.def (m14kc, m14k): New processors.
      	* config/mips/mips-protos.h (umips_output_save_restore): New prototype.
      	(umips_save_restore_pattern_p): Likewise.
      	(umips_load_store_pair_p): Likewise.
      	(umips_output_load_store_pair): Likewise.
      	(umips_movep_target_p): Likewise.
      	(umips_12bit_offset_address_p): Likewise.
      	* config/mips/mips.c (MIPS_MAX_FIRST_STEP): Update for microMIPS.
      	(mips_base_mips16): Rename this...
      	(mips_base_compression_flags): ...to this. Update all uses.
      	(mips_attribute_table): Add micromips, nomicromips and nocompression.
      	(mips_mips16_decl_p): Delete.
      	(mips_nomips16_decl_p): Delete.
       	(mips_get_compress_on_flags): New function.
      	(mips_get_compress_off_flags): New function.
      	(mips_get_compress_mode): New function.
      	(mips_get_compress_on_name): New function.
      	(mips_get_compress_off_name): New function.
      	(mips_insert_attributes): Support multiple compression types.
      	(mips_merge_decl_attributes): Likewise.
      	(umips_12bit_offset_address_p): New function.
      	(mips_start_function_definition): Emit .set micromips directive.
      	(mips_call_may_need_jalx_p): New function.
      	(mips_function_ok_for_sibcall): Add microMIPS support.
      	(mips_print_operand_punctuation): Support short delay slots and
      	compact jumps.
      	(umips_swm_mask, umips_swm_encoding): New.
      	(umips_build_save_restore): New function.
      	(mips_for_each_saved_gpr_and_fpr): Add microMIPS support.
      	(was_mips16_p): Remove.
      	(old_compression_mode): New.
      	(mips_set_compression_mode): New function.
      	(mips_set_current_function): Add microMIPS support.
      	(mips_option_override): Likewise.
      	(umips_save_restore_pattern_p): New function.
      	(umips_output_save_restore): New function.
      	(umips_load_store_pair_p_1): New function.
      	(umips_load_store_pair_p): New function.
      	(umips_output_load_store_pair_1): New function.
      	(umips_output_load_store_pair): New function.
      	(umips_movep_target_p) New function.
      	(mips_prepare_pch_save): Add microMIPS support.
      	* config/mips/mips.h (TARGET_COMPRESSION): New.
      	(TARGET_CPU_CPP_BUILTINS): Update macro
      	to use new compression flags and to support microMIPS.
      	(MIPS_ISA_LEVEL_SPEC): Add m14k processors.
      	(MIPS_ARCH_FLOAT_SPEC): Likewise.
      	(ISA_HAS_LWXS): Include TARGET_MICROMIPS.
      	(ISA_HAS_LOAD_DELAY): Exclude TARGET_MICROMIPS.
      	(ASM_SPEC): Support mmicromips and mno-micromips.
      	(M16STORE_REG_P): New macro.
      	(MIPS_CALL): Support TARGET_MICROMIPS.
      	(MICROMIPS_J): New macro.
      	(mips_base_mips16): Rename this...
      	(mips_base_compression_flags): ...to this.
      	(UMIPS_12BIT_OFFSET_P): New macro.
      	* config/mips/t-sde: (MULTILIB_OPTIONS): Add microMIPS.
      	(MULTILIB_DIRNAMES): Likewise.
      
      gcc/testsuite/
      2013-02-24  Catherine Moore  <clm@codesourcery.com>
      	    Richard Sandiford <rdsandiford@googlemail.com>
      
      	* gcc.target/mips/mips.exp: Add microMIPS support.
      	* gcc.target/mips/umips-movep-2.c: New test.
      	* gcc.target/mips/umips-lwp-2.c: New test.
      	* gcc.target/mips/umips-swp-5.c: New test.
      	* gcc.target/mips/umips-constraints-1.c: New test.
      	* gcc.target/mips/umips-lwp-3.c: New test.
      	* gcc.target/mips/umips-swp-6.c: New test.
      	* gcc.target/mips/umips-constraints-2.c: New test.
      	* gcc.target/mips/umips-save-restore-1.c: New test.
      	* gcc.target/mips/umips-lwp-4.c: New test.
      	* gcc.target/mips/umips-swp-7.c: New test.
      	* gcc.target/mips/umips-save-restore-2.c: New test.
      	* gcc.target/mips/umips-lwp-swp-volatile.c: New test.
      	* gcc.target/mips/umips-lwp-5.c: New test.
      	* gcc.target/mips/umips-save-restore-3.c: New test.
      	* gcc.target/mips/umips-lwp-6.c: New test.
      	* gcc.target/mips/umips-swp-1.c: New test.
      	* gcc.target/mips/umips-lwp-7.c: New test.
      	* gcc.target/mips/umips-swp-2.c: New test.
      	* gcc.target/mips/umips-lwp-8.c: New test.
      	* gcc.target/mips/umips-swp-3.c: New test.
      	* gcc.target/mips/umips-movep-1.c: New test.
      	* gcc.target/mips/umips-lwp-1.c: New test.
      	* gcc.target/mips/umips-swp-4.c: New test.
      
      
      Co-Authored-By: Chao-ying Fu <fu@mips.com>
      Co-Authored-By: Iain Sandoe <iain@codesourcery.com>
      Co-Authored-By: Joseph Myers <joseph@codesourcery.com>
      Co-Authored-By: Maciej W. Rozycki <macro@codesourcery.com>
      Co-Authored-By: Nathan Froyd <froydnj@codesourcery.com>
      Co-Authored-By: Nathan Sidwell <nathan@codesourcery.com>
      Co-Authored-By: Richard Sandiford <rdsandiford@googlemail.com>
      Co-Authored-By: Tom de Vries <tom@codesourcery.com>
      
      From-SVN: r196246
      Catherine Moore committed
  12. 21 Feb, 2013 3 commits
  13. 12 Feb, 2013 1 commit
    • extend.texi: Document Function Multiversioning and "default" parameter string to target... · f80e0faf
      	* doc/extend.texi: Document Function Multiversioning and "default"
      	parameter string to target attribute.
      	* g++.dg/ext/mv12.C: New test.
      	* g++.dg/ext/mv12.h: New file.
      	* g++.dg/ext/mv12-aux.C: New file.
      	* g++.dg/ext/mv13.C: New test.
      	* config/i386/i386.c (get_builtin_code_for_version): Return 0 if
      	target attribute parameter is "default".
      	(ix86_compare_version_priority): Remove checks for target attribute.
      	(ix86_mangle_function_version_assembler_name): Change error to sorry.
      	Remove check for target attribute equal to NULL. Add assert.
      	(ix86_generate_version_dispatcher_body): Change error to sorry.
      
      From-SVN: r195967
      Sriraman Tallam committed
  14. 05 Feb, 2013 1 commit
  15. 31 Jan, 2013 2 commits
    • lib1funcs.S: Add support for e3v5 architecture variant. · dbdbd982
      	* config/v850/lib1funcs.S: Add support for e3v5 architecture
      	variant.
      
      	* config/v850/constraints.md (Q): Define as a memory constraint.
      	* config/v850/predicates.md (label_ref_operand): New predicate.
      	(e3v5_shift_operand): New predicate.
      	(ior_operator): New predicate.
      	* config/v850/t-v850: Add e3v5 multilib.
      	* config/v850/v850-protos.h (v850_adjust_insn_length): Prototype.
      	(v850_gen_movdi): Prototype.
      	* config/v850/v850.c: Add support for e3v5 architecture.
      	Rename all uses of TARGET_V850E || TARGET_V850E2_ALL to
      	TARGET_V850E_UP.
      	(construct_save_jarl): Add e3v5 long JARL support.
      	(v850_adjust_insn_length): New function.  Adjust length of call
      	insns when using e3v5 instructions.
      	(v850_gen_movdi): New function: Generate instructions to move a
      	DImode value.
      	* config/v850/v850.h (TARGET_CPU_v850e3v5): Define.
      	(CPP_SPEC): Define __v850e3v5__ as appropriate.
      	(TARGET_USE_FPU): Enable for e3v5.
      	(CONST_OK_FOR_W): New macro.
      	(ADJUST_INSN_LENGTH): Define.
      	* config/v850/v850.md (UNSPEC_LOOP): Define.
      	(attr cpu): Add v850e3v5.
      	Rename all uses of TARGET_V850E2 to TARGET_V850E2V3_UP.
      	(movdi): New pattern.
      	(movdi_internal): New pattern.
      	(cbranchsf4): Conditionalize on TARGET_USE_FPU.
      	(cbranchdf4): Conditionalize on TARGET_USE_FPU.
      	(cstoresf4): Likewise.
      	(cstoredf4): Likewise.
      	(insv): New pattern.
      	(rotlso3_a): New pattern.
      	(rotlsi3_b): New pattern
      	(rotlsi3_v850e3v5): New pattern.
      	(doloop_begin): New pattern.
      	(fix_loop_counter): New pattern.
      	(doloop_end): New pattern.
      	(branch_normal): Add e3v5 long branch support.
      	(branch_invert): Likewise.
      	(branch_z_normal): Likewise.
      	(branch_z_invert): Likewise.
      	(branch_nz_normal): Likewise.
      	(branch_nz_invert): Likewise.
      	(call_internal_short): Add e3v5 register-indirect JARL support.
      	(call_internal_long): Likewise.
      	(call_value_internal_short): Likewise.
      	(call_value_internal_long): Likewise.
      	* config/v850/v850.opt (mv850e3v5, mv850e2v4): New options.
      	(mloop): New option.
      	* config.gcc: Add support for configuring v840e3v5 target.
      	* doc/invoke.texi: Document new v850 specific command line
      	options.
      
      From-SVN: r195623
      Nick Clifton committed
    • re PR middle-end/53073 (464.h264ref in SPEC CPU 2006 miscompiled) · 6e616110
      2013-01-31  Richard Biener  <rguenther@suse.de>
      
      	PR middle-end/53073
      	* common.opt (faggressive-loop-optimizations): New flag,
      	enabled by default.
      	* doc/invoke.texi (faggressive-loop-optimizations): Document.
      	* tree-ssa-loop-niter.c (estimate_numbers_of_iterations_loop): Guard
      	infer_loop_bounds_from_undefined by it.
      
      From-SVN: r195610
      Richard Biener committed
  16. 30 Jan, 2013 1 commit
    • re PR c++/55742 (__attribute__ in class function declaration cause "prototype… · 32887460
      re PR c++/55742 (__attribute__ in class function declaration cause "prototype does not match" errors.)
      
      	PR c++/55742
      	* config/i386/i386.c (ix86_valid_target_attribute_inner_p): Diagnose
      	invalid args instead of ICEing on it.
      	(ix86_valid_target_attribute_tree): Return error_mark_node if
      	ix86_valid_target_attribute_inner_p failed.
      	(ix86_valid_target_attribute_p): Return false only if
      	ix86_valid_target_attribute_tree returned error_mark_node.  Allow
      	target("default") attribute.
      	(sorted_attr_string): Change argument from const char * to tree,
      	merge in all target attribute arguments rather than just one.
      	Formatting fix.  Use XNEWVEC instead of xmalloc and XDELETEVEC
      	instead of free.  Avoid using strcat.
      	(ix86_mangle_function_version_assembler_name): Mangle
      	target("default") as if no target attribute is present.  Adjust
      	sorted_attr_string caller.  Avoid leaking memory.  Use XNEWVEC
      	instead of xmalloc and XDELETEVEC instead of free.
      	(ix86_function_versions): Don't return true if one of the decls
      	doesn't have target attribute.  If they don't and one of the decls
      	is DECL_FUNCTION_VERSIONED, report an error.  Adjust
      	sorted_attr_string caller.  Use XDELETEVEC instead of free.
      	(ix86_supports_function_versions): Remove.
      	(make_name): Fix up formatting.
      	(make_dispatcher_decl): Remove resolver_name and its initialization.
      	Avoid leaking memory.
      	(is_function_default_version): Return true if there is
      	target("default") attribute rather than no target attribute at all.
      	(make_resolver_func): Avoid leaking memory.
      	(ix86_generate_version_dispatcher_body): Likewise.
      	(TARGET_OPTION_SUPPORTS_FUNCTION_VERSIONS): Remove.
      	* target.def (supports_function_versions): Remove.
      	* doc/tm.texi.in (SUPPORTS_FUNCTION_VERSIONS): Remove.
      	* doc/tm.texi: Regenerated.
      
      	* c-common.c (handle_target_attribute): Revert 2012-12-26 change.
      
      	* g++.dg/mv1.C: Moved to...
      	* g++.dg/ext/mv1.C: ... here.  Adjust test.
      	* g++.dg/mv2.C: Moved to...
      	* g++.dg/ext/mv2.C: ... here.  Adjust test.
      	* g++.dg/mv3.C: Moved to...
      	* g++.dg/ext/mv3.C: ... here.
      	* g++.dg/mv4.C: Moved to...
      	* g++.dg/ext/mv4.C: ... here.
      	* g++.dg/mv5.C: Moved to...
      	* g++.dg/ext/mv5.C: ... here.  Adjust test.
      	* g++.dg/mv6.C: Moved to...
      	* g++.dg/ext/mv6.C: ... here.  Adjust test.
      	* g++.dg/ext/mv7.C: New test.
      	* g++.dg/ext/mv8.C: New test.
      	* g++.dg/ext/mv9.C: New test.
      	* g++.dg/ext/mv10.C: New test.
      	* g++.dg/ext/mv11.C: New test.
      
      From-SVN: r195584
      Jakub Jelinek committed
  17. 25 Jan, 2013 2 commits
  18. 24 Jan, 2013 2 commits
  19. 22 Jan, 2013 3 commits
  20. 19 Jan, 2013 1 commit
    • re PR target/54908 (misc regressions on emutls targets remain from dynamic… · 5af057d8
      re PR target/54908 (misc regressions on emutls targets remain from dynamic initialization of non-function-local TLS variables)
      
      	PR target/54908
      c-family/
      	* c.opt (-fextern-tls-init): New.
      	* c-opts.c (c_common_post_options): Handle it.
      cp/
      	* decl2.c (get_local_tls_init_fn): New.
      	(get_tls_init_fn): Handle flag_extern_tls_init.  Don't bother
      	with aliases for internal variables.  Don't use weakrefs if
      	the variable needs destruction.
      	(generate_tls_wrapper): Mark the wrapper as const if no
      	initialization is needed.
      	(handle_tls_init): Don't require aliases.
      
      From-SVN: r195310
      Jason Merrill committed
  21. 18 Jan, 2013 1 commit
    • Add support for Marvell's PJ4 CPU · df8de9b3
      2013-01-18  Yi-Hsiu Hsu  <ahsu@marvell.com>
      	    Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
      
      	* config/arm/marvell-pj4.md: New file.
      	* config/arm/arm.c (arm_issue_rate): Add marvell_pj4.
      	* config/arm/arm.md (generic_sched): Add marvell_pj4.
      	(generic_vfp): Likewise.
      	* config/arm/arm-cores.def: Add marvell-pj4.
      	* config/arm/arm-tune.md: Regenerate.
      	* config/arm/arm-tables.opt: Regenerate.
      	* config/arm/bpabi.h (BE8_LINK_SPEC): Add marvell_pj4.
      	* doc/invoke.texi: Document marvell-pj4.
      
      
      
      
      Co-Authored-By: Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
      
      From-SVN: r195295
      Yi-Hsiu Hsu committed
  22. 16 Jan, 2013 1 commit
  23. 13 Jan, 2013 1 commit
    • Makefile.in (s-mlib): New argument MULTILIB_REUSE. · e7f49d92
      2013-01-13  Terry Guo  <terry.guo@arm.com>
      
              * gcc/Makefile.in (s-mlib): New argument MULTILIB_REUSE.
              * gcc/doc/fragments.texi: Document MULTILIB_REUSE.
              * gcc/gcc.c (multilib_reuse): New internal spec.
              (set_multilib_dir): Also search multilib from multilib_reuse.
              * gcc/genmultilib (tmpmultilib3): Refactor code.
              (tmpmultilib4): Ditto.
              (multilib_reuse): New multilib argument.
      
      From-SVN: r195134
      Terry Guo committed
  24. 11 Jan, 2013 2 commits
  25. 10 Jan, 2013 1 commit
  26. 07 Jan, 2013 2 commits