Commit Graph

124346 Commits

Author SHA1 Message Date
Tobias Burnus 3b833dcda5 re PR fortran/57894 (min/max required actual argument missing)
2013-07-21  Tobias Burnus  <burnus@net-b.de>

        PR fortran/57894
        * check.c (min_max_args): Add keyword= check.

2013-07-21  Tobias Burnus  <burnus@net-b.de>

        PR fortran/57894
        * gfortran.dg/min_max_conformance_2.f90: New.

From-SVN: r201092
2013-07-21 13:46:43 +02:00
Jakub Jelinek 8cf887352b re PR preprocessor/57620 (Phantom terminator confuses raw string literal parsing.)
PR preprocessor/57620
	* lex.c (lex_raw_string): Undo phase1 and phase2 transformations
	between R" and final " rather than only in between R"del( and )del".

	* c-c++-common/raw-string-2.c (s12, u12, U12, L12): Remove.
	(main): Don't test {s,u,U,L}12.
	* c-c++-common/raw-string-13.c: New test.
	* c-c++-common/raw-string-14.c: New test.
	* c-c++-common/raw-string-15.c: New test.
	* c-c++-common/raw-string-16.c: New test.

From-SVN: r201091
2013-07-21 04:28:03 +02:00
GCC Administrator a1d6f2a23f Daily bump.
From-SVN: r201090
2013-07-21 00:16:29 +00:00
Iain Sandoe 8c6381ecbc correct a ChangeLog commit error.
From-SVN: r201087
2013-07-20 17:24:24 +00:00
Iain Sandoe 88d9bfe6b9 re PR target/51784 (PIC register not correctly preserved in nested funcs / with non-local goto)
gcc/

	PR target/51784
	* config/i386/i386.c (output_set_got) [TARGET_MACHO]: Adjust to emit a
	second label for nonlocal goto receivers. Don't output pic base labels
	unless we're producing PIC; mark that action unreachable().
	(ix86_save_reg): If the function contains a nonlocal label, save the
	PIC base reg.
	* config/darwin-protos.h (machopic_should_output_picbase_label): New.
	* gcc/config/darwin.c (emitted_pic_label_num): New GTY. 
	(update_pic_label_number_if_needed): New.
	(machopic_output_function_base_name): Adjust for nonlocal receiver
	case.
	(machopic_should_output_picbase_label): New.
	* config/i386/i386.md (enum unspecv): UNSPECV_NLGR: New.
	(nonlocal_goto_receiver): New insn and split.

From-SVN: r201086
2013-07-20 16:22:59 +00:00
Eric Botcazou 2d586fb432 re PR ada/57934 (typo in definition of CAT in gcc-interface/ada.h for traditional preprocessor)
PR ada/57934
	* gcc-interface/ada.h (CAT): Fix typo.

From-SVN: r201084
2013-07-20 08:41:29 +00:00
James Greenhalgh d05d070973 [AArch64] Rewrite vabs<q>_s<8,16,32,64> AdvSIMD intrinsics to fold to tree
gcc/
	* config/aarch64/aarch64-builtins.c
	(aarch64_fold_builtin): Fold abs in all modes.
	* config/aarch64/aarch64-simd-builtins.def
	(abs): Enable for all modes.
	* config/aarch64/arm_neon.h
	(vabs<q>_s<8,16,32,64): Rewrite using builtins.
	(vabs_f64): Add missing intrinsic.

gcc/testsuite/
	* gcc.target/aarch64/vabs_intrinsic_1.c: New file.

From-SVN: r201083
2013-07-20 07:56:41 +00:00
Joern Rennecke 7a29a1b527 pr53366-1.c: Only run for target { size32plus }.
* gcc.dg/torture/pr53366-1.c: Only run for target { size32plus }.
        * gcc.dg/torture/pr56488.c: Likewise.

From-SVN: r201082
2013-07-20 07:50:43 +01:00
Joern Rennecke 838a7024e3 pr21090.c: Do vrp1 scan check only for target { ! keeps_null_pointer_checks }.
* gcc.dg/tree-ssa/pr21090.c: Do vrp1 scan check only for
        target { ! keeps_null_pointer_checks }.
        * gcc.dg/tree-ssa/unreachable.c: Do optimized scan check only for
        target { ! keeps_null_pointer_checks }.

From-SVN: r201081
2013-07-20 07:39:37 +01:00
Joern Rennecke adf044a113 * gcc.dg/pr57154.c: Add dg-require-effective-target scheduling.
From-SVN: r201080
2013-07-20 07:04:01 +01:00
GCC Administrator ef99e2d4a6 Daily bump.
From-SVN: r201078
2013-07-20 00:16:27 +00:00
Yvan Roux 66a5502a50 MAINTAINERS (Write After Approval): Add myself.
* MAINTAINERS (Write After Approval): Add myself.

From-SVN: r201069
2013-07-19 21:30:20 +00:00
Ian Bolton ba590e6327 AArch64 vabs_s64 intrinsic
From-SVN: r201067
2013-07-19 18:41:22 +00:00
Jan Hubicka c525ba9a3f lto-partition.c (lto_balanced_map): Fix -fno-toplevel-reorder partitioning of variables.
* lto-partition.c (lto_balanced_map): Fix -fno-toplevel-reorder
	partitioning of variables.

From-SVN: r201065
2013-07-19 18:19:48 +00:00
David Edelsohn 3ae1e1fdf4 gcov-14.c: Skip on AIX.
* gcc.misc-tests/gcov-14.c: Skip on AIX.
        * gcc.dg/simulate-thread/simulate-thread.exp: Skip on AIX.

From-SVN: r201062
2013-07-19 10:42:59 -04:00
David Edelsohn 7a85e2e626 * g++.old-deja/g++.other/init19.C: Require cxa_atext.
From-SVN: r201061
2013-07-19 10:37:34 -04:00
David Edelsohn 86ce925b2b pr56819.C: Skip on AIX.
* g++.dg/debug/pr56819.C: Skip on AIX.
        * g++.dg/ext/vector23.C: Ignore vector ABI warning.
        * g++.dg/guality/guality.exp: Skip on AIX.

From-SVN: r201060
2013-07-19 10:35:44 -04:00
David Edelsohn 8c77584422 * lib/dg-pch.exp (dg-flags-pch): Skip on AIX.
From-SVN: r201059
2013-07-19 10:32:26 -04:00
David Edelsohn ba981e0028 intrinsic_nearest.x: Skip on AIX.
* gfortran.fortran-torture/execute/intrinsic_nearest.x: Skip on AIX.
        * gfortran.dg/nint_2.f90: Correct AIX target name to skip.
        * gfortran.dg/guality/guality.exp: Skip on AIX.

From-SVN: r201058
2013-07-19 10:28:16 -04:00
David Edelsohn eba347fae7 * gfortran.fortran-torture/execute/intrinsic_nearest.x: Skip AIX.
From-SVN: r201057
2013-07-19 10:25:26 -04:00
Georg-Johann Lay 0237179843 re PR target/57516 ([avr] Incorrect fixed-point rounding result in the overflow case)
gcc/
	PR target/57516
	* config/avr/avr-fixed.md (round<mode>3_const): Turn expander to insn.
	* config/avr/avr.md (adjust_len): Add `round'.
	* config/avr/avr-protos.h (avr_out_round): New prototype.
	(avr_out_plus): Add `out_label' argument.
	* config/avr/avr.c (avr_out_plus_1): Add `out_label' argument.
	(avr_out_plus): Pass down `out_label' to avr_out_plus_1.
	Handle the case where `insn' is just a pattern.
	(avr_out_bitop): Handle the case where `insn' is just a pattern.
	(avr_out_round): New function.
	(avr_adjust_insn_length): Handle ADJUST_LEN_ROUND.

libgcc/
	PR target/57516
	* config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
	(__round_s2_const, __round_u2_const)
	(__round_s4_const, __round_u4_const, __round_x8):
	Saturate result if addition result cannot be represented.

gcc/testsuite/
	PR target/57516
	* gcc.target/avr/torture/builtins-4-roundfx.c (test2hr, test2k):
	Adjust to corrected rounding.

From-SVN: r201051
2013-07-19 11:10:08 +00:00
Chung-Ju Wu 1545921d63 MAINTAINERS (nds32 port): Add Chung-Ju Wu and Shiva Chen as nds32 port maintainers.
* MAINTAINERS (nds32 port): Add Chung-Ju Wu and Shiva Chen as
	nds32 port maintainers.

Co-Authored-By: Shiva Chen <shiva0217@gmail.com>

From-SVN: r201049
2013-07-19 08:02:56 +00:00
Georg-Johann Lay 1a15a8ca5e target-supports.exp (check_effective_target_cilkplus): New proc.
* lib/target-supports.exp (check_effective_target_cilkplus): New proc.
	* gcc.dg/cilk-plus/cilk-plus.exp: only run if
	check_effective_target_cilkplus.
	* g++.dg/cilk-plus/cilk-plus.exp: Same.

From-SVN: r201048
2013-07-19 07:53:11 +00:00
GCC Administrator e0fc81aa08 Daily bump.
From-SVN: r201045
2013-07-19 00:16:29 +00:00
David Holsgrove b950ac25af microblaze.c (microblaze_expand_prologue): Add check for flag_stack_usage to handle -fstack-usage support
* gcc/config/microblaze/microblaze.c (microblaze_expand_prologue):
    Add check for flag_stack_usage to handle -fstack-usage support

From-SVN: r201042
2013-07-18 23:57:12 +00:00
Pat Haugen ed1fd9999c rs6000.c (rs6000_option_override_internal): Adjust flag interaction for new Power8 flags and VSX.
* config/rs6000/rs6000.c (rs6000_option_override_internal): Adjust flag
	interaction for new Power8 flags and VSX.

From-SVN: r201041
2013-07-18 20:24:34 +00:00
Pat Haugen ec87a337f3 * gcc.target/powerpc/pr57744.c: Fix typo.
From-SVN: r201040
2013-07-18 19:33:46 +00:00
Sriraman Tallam df9dda2d15 PR57698, only report errors from early inlining when optimization is turned
PR57698, only report errors from early inlining when optimization is turned
off.

	PR middle-end/57698
	* tree-inline.c (expand_call_inline): Emit errors during
	early_inlining only if optimization is not turned on.

	PR middle-end/57698
	* gcc.c-torture/compile/pr57698.c: New test.
	* gcc.c-torture/compile/pr43791.c: Remove prune output
	directive.
	* gcc.c-torture/compile/pr44043.c: Ditto.

From-SVN: r201039
2013-07-18 19:24:22 +00:00
David Malcolm 0f9cdef43a passes.def: New.
* passes.def: New.

	* passes.c (init_optimization_passes): Move the construction of
	the pass hierarchy into a new passes.def file.

	* Makefile.in (passes.o): Add dependency on passes.def.

From-SVN: r201038
2013-07-18 18:55:48 +00:00
David Malcolm 2efa40870b passes.c (init_optimization_passes): Introduce macros for constructing the tree of passes (INSERT_PASSES_AFTER...
* passes.c (init_optimization_passes): Introduce macros for
	constructing the tree of passes (INSERT_PASSES_AFTER,
	PUSH_INSERT_PASSES_WITHIN, POP_INSERT_PASSES,
	TERMINATE_PASS_LIST).

From-SVN: r201037
2013-07-18 18:25:32 +00:00
Vladimir Makarov bc404e1b8c [multiple changes]
2013-07-18  Vladimir Makarov  <vmakarov@redhat.com>
	    Wei Mi  <wmi@google.com>

	PR rtl-optimization/57878
	* lra-assigns.c (assign_by_spills): Move non_reload_pseudos to the
	top.
	(reload_pseudo_compare_func): Check nregs first for reload
	pseudos.

2013-07-18  Wei Mi  <wmi@google.com>

	PR rtl-optimization/57878
	* g++.dg/pr57518.C: New test.

From-SVN: r201036
2013-07-18 17:04:10 +00:00
David Malcolm d675843fa6 tree-pass.h (pass_ipa_lto_wpa_fixup): Remove redundant decl.
* tree-pass.h (pass_ipa_lto_wpa_fixup): Remove redundant decl.

From-SVN: r201035
2013-07-18 16:22:52 +00:00
Po-Chun Chang bcb97fbdad read-rtl.c (validate_const_int): Once an invalid character is seen, quit the loop.
* read-rtl.c (validate_const_int): Once an invalid character is
        seen, quit the loop.

        * gengtype.c (write_roots): Similarly once we find the
        "deletable" or "if_marked" option.

From-SVN: r201034
2013-07-18 10:07:37 -06:00
Kyrylo Tkachov 37cd74abd7 pr42611.c: Move dg-error to correct line.
gcc/testsuite/
2013-07-18  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

	* gcc.dg/pr42611.c: Move dg-error to correct line.

From-SVN: r201027
2013-07-18 10:17:44 +00:00
Sofiane Naci 52fceb441a arm.md (attribute "insn"): Delete values "mrs", "msr", "xtab" and "sat".
* config/arm/arm.md (attribute "insn"): Delete values "mrs", "msr",
	"xtab" and "sat".  Move value "clz" from here to ...
	(attriubte "type"): ... here.
	(satsi_<SAT:code>): Delete "insn" attribute.
	(satsi_<SAT:code>_shift): Likewise.
	(arm_zero_extendqisi2addsi): Likewise.
	(arm_extendqisi2addsi): Likewise.
	(clzsi2): Update for attribute changes.
	(rbitsi2): Likewise.
	* config/arm/arm-fixed.md (arm_ssatsihi_shift): Delete "insn" attribute.
	(arm_usatsihi): Likewise.
	* config/arm/cortex-a8.md (cortex_a8_alu): Update for attribute change.

From-SVN: r201025
2013-07-18 09:16:05 +00:00
Sofiane Naci 006bd0062b arm.md (attribute "type"): Rename "simple_alu_imm" to "arlo_imm".
* config/arm/arm.md (attribute "type"): Rename "simple_alu_imm" to
	"arlo_imm".  Rename "alu_reg" to "arlo_reg".  Rename "simple_alu_shift" to
	"extend".  Split "alu_shift" into "shift" and "arlo_shift".  Split
	"alu_shift_reg" into "shift_reg" and "arlo_shift_reg".  List types
	in alphabetical order.
	(attribute "core_cycles"): Update for attribute changes.
	(arm_addsi3): Likewise.
	(addsi3_compare0): Likewise.
	(addsi3_compare0_scratch): Likewise.
	(addsi3_compare_op1): Likewise.
	(addsi3_compare_op2): Likewise.
	(compare_addsi2_op0): Likewise.
	(compare_addsi2_op1): Likewise.
	(addsi3_carryin_shift_<optab>): Likewise.
	(subsi3_carryin_shift): Likewise.
	(rsbsi3_carryin_shift): Likewise.
	(arm_subsi3_insn): Likewise.
	(subsi3_compare0): Likewise.
	(subsi3_compare): Likewise.
	(arm_andsi3_insn): Likewise.
	(thumb1_andsi3_insn): Likewise.
	(andsi3_compare0): Likewise.
	(andsi3_compare0_scratch): Likewise.
	(zeroextractsi_compare0_scratch
	(andsi_not_shiftsi_si): Likewise.
	(iorsi3_insn): Likewise.
	(iorsi3_compare0): Likewise.
	(iorsi3_compare0_scratch): Likewise.
	(arm_xorsi3): Likewise.
	(thumb1_xorsi3_insn): Likewise.
	(xorsi3_compare0): Likewise.
	(xorsi3_compare0_scratch): Likewise.
	(satsi_<SAT:code>_shift): Likewise.
	(rrx): Likewise.
	(arm_shiftsi3): Likewise.
	(shiftsi3_compare0): Likewise.
	(not_shiftsi): Likewise.
	(not_shiftsi_compare0): Likewise.
	(not_shiftsi_compare0_scratch): Likewise.
	(arm_one_cmplsi2): Likewise.
	(thumb_one_complsi2): Likewise.
	(notsi_compare0): Likewise.
	(notsi_compare0_scratch): Likewise.
	(thumb1_zero_extendhisi2): Likewise.
	(arm_zero_extendhisi2): Likewise.
	(arm_zero_extendhisi2_v6): Likewise.
	(arm_zero_extendhisi2addsi): Likewise.
	(thumb1_zero_extendqisi2): Likewise.
	(thumb1_zero_extendqisi2_v6): Likewise.
	(arm_zero_extendqisi2): Likewise.
	(arm_zero_extendqisi2_v6): Likewise.
	(arm_zero_extendqisi2addsi): Likewise.
	(thumb1_extendhisi2): Likewise.
	(arm_extendhisi2): Likewise.
	(arm_extendhisi2_v6): Likewise.
	(arm_extendqisi): Likewise.
	(arm_extendqisi_v6): Likewise.
	(arm_extendqisi2addsi): Likewise.
	(thumb1_extendqisi2): Likewise.
	(thumb1_movdi_insn): Likewise.
	(arm_movsi_insn): Likewise.
	(movsi_compare0): Likewise.
	(movhi_insn_arch4): Likewise.
	(movhi_bytes): Likewise.
	(arm_movqi_insn): Likewise.
	(thumb1_movqi_insn): Likewise.
	(arm32_movhf): Likewise.
	(thumb1_movhf): Likewise.
	(arm_movsf_soft_insn): Likewise.
	(thumb1_movsf_insn): Likewise.
	(movdf_soft_insn): Likewise.
	(thumb_movdf_insn): Likewise.
	(arm_cmpsi_insn): Likewise.
	(cmpsi_shiftsi): Likewise.
	(cmpsi_shiftsi_swp): Likewise.
	(arm_cmpsi_negshiftsi_si): Likewise.
	(movsicc_insn): Likewise.
	(movsfcc_soft_insn): Likewise.
	(arith_shiftsi): Likewise.
	(arith_shiftsi_compare0
	(arith_shiftsi_compare0_scratch
	(sub_shiftsi): Likewise.
	(sub_shiftsi_compare0
	(sub_shiftsi_compare0_scratch
	(and_scc): Likewise.
	(cond_move): Likewise.
	(if_plus_move): Likewise.
	(if_move_plus): Likewise.
	(if_move_not): Likewise.
	(if_not_move): Likewise.
	(if_shift_move): Likewise.
	(if_move_shift): Likewise.
	(if_shift_shift): Likewise.
	(if_not_arith): Likewise.
	(if_arith_not): Likewise.
	(cond_move_not): Likewise.
	(thumb1_ashlsi3): Set type attribute.
	(thumb1_ashrsi3): Likewise.
	(thumb1_lshrsi3): Likewise.
	(thumb1_rotrsi3): Likewise.
	(shiftsi3_compare0_scratch): Likewise.
	* config/arm/neon.md (neon_mov<mode>): Update for attribute changes.
	(neon_mov<mode>): Likewise.
	* config/arm/thumb2.md (thumb_andsi_not_shiftsi_si): Update for attribute
	changes.
	(thumb2_movsi_insn): Likewise.
	(thumb2_cmpsi_neg_shiftsi): Likewise.
	(thumb2_extendqisi_v6): Likewise.
	(thumb2_zero_extendhisi2_v6): Likewise.
	(thumb2_zero_extendqisi2_v6): Likewise.
	(thumb2_shiftsi3_short): Likewise.
	(thumb2_addsi3_compare0_scratch): Likewise.
	(orsi_not_shiftsi_si): Likewise.
	* config/arm/vfp.md (arm_movsi_vfp): Update for attribute changes.
	* config/arm/arm-fixed.md (arm_ssatsihi_shift): Update for attribute
	changes.
	* config/arm/arm1020e.md (1020alu_op): Update for attribute changes.
	(1020alu_shift_op): Likewise.
	(1020alu_shift_reg_op): Likewise.
	* config/arm/arm1026ejs.md (alu_op): Update for attribute changes.
	(alu_shift_op): Likewise.
	(alu_shift_reg_op): Likewise.
	* config/arm/arm1136jfs.md (11_alu_op): Update for attribute changes.
	(11_alu_shift_op): Likewise.
	(11_alu_shift_reg_op): Likewise.
	* config/arm/arm926ejs.md (9_alu_op): Update for attribute changes.
	(9_alu_shift_reg_op): Likewise.
	* config/arm/cortex-a15.md (cortex_a15_alu): Update for attribute changes.
	(cortex_a15_alu_shift): Likewise.
	(cortex_a15_alu_shift_reg): Likewise.
	* config/arm/cortex-a5.md (cortex_a5_alu): Update for attribute changes.
	(cortex_a5_alu_shift): Likewise.
	* config/arm/cortex-a53.md (cortex_a53_alu) : Update for attribute
	changes.
	(cortex_a53_alu_shift): Likewise.
	* config/arm/cortex-a7.md (cortex_a7_alu_imm): Update for attribute
	changes.
	(cortex_a7_alu_reg): Likewise.
	(cortex_a7_alu_shift): Likewise.
	* config/arm/cortex-a8.md (cortex_a8_alu): Update for attribute changes.
	(cortex_a8_alu_shift): Likewise.
	(cortex_a8_alu_shift_reg): Likewise.
	(cortex_a8_mov): Likewise.
	* config/arm/cortex-a9.md (cortex_a9_dp): Update for attribute changes.
	(cortex_a9_dp_shift): Likewise.
	* config/arm/cortex-m4.md (cortex_m4_alu): Update for attribute changes.
	* config/arm/cortex-r4.md (cortex_r4_alu): Update for attribute changes.
	(cortex_r4_mov): Likewise.
	(cortex_r4_alu_shift): Likewise.
	(cortex_r4_alu_shift_reg): Likewise.
	* config/arm/fa526.md (526_alu_op): Update for attribute changes.
	(526_alu_shift_op): Likewise.
	* config/arm/fa606te.md (606te_alu_op): Update for attribute changes.
	* config/arm/fa626te.md (626te_alu_op): Update for attribute changes.
	(626te_alu_shift_op): Likewise.
	* config/arm/fa726te.md (726te_shift_op): Update for attribute changes.
	(726te_alu_op): Likewise.
	(726te_alu_shift_op): Likewise.
	(726te_alu_shift_reg_op): Likewise.
	* config/arm/fmp626.md (mp626_alu_op): Update for attribute changes.
	(mp626_alu_shift_op): Likewise.
	* config/arm/marvell-pj4.md (pj4_alu_e1): Update for attribute changes.
	(pj4_alu_e1_conds): Likewise.
	(pj4_alu): Likewise.
	(pj4_alu_conds): Likewise.
	(pj4_shift): Likewise.
	(pj4_shift_conds): Likewise.
	(pj4_alu_shift): Likewise.
	(pj4_alu_shift_conds): Likewise.
	* config/arm/arm.c (xscale_sched_adjust_cost): Update for attribute changes.
	(cortexa7_older_only): Likewise.
	(cortexa7_younger): Likewise.

From-SVN: r201024
2013-07-18 09:08:56 +00:00
David Malcolm 651df1b26a ipa-pure-const.c (generate_summary): Rename to...
2013-07-18  David Malcolm  <dmalcolm@redhat.com>

	* ipa-pure-const.c (generate_summary): Rename to...
	(pure_const_generate_summary): ... this.

From-SVN: r201020
2013-07-18 02:59:46 +00:00
GCC Administrator 94643e66b2 Daily bump.
From-SVN: r201019
2013-07-18 00:16:47 +00:00
Iain Sandoe ea717bd7a8 darwin.h (REGISTER_NAMES): Add HTM registers.
gcc/

	* config/rs6000/darwin.h (REGISTER_NAMES): Add HTM registers.

line, and those below, will be ignored--

M    ChangeLog
M    config/rs6000/darwin.h

From-SVN: r201011
2013-07-17 14:39:58 +00:00
Tobias Burnus bdb4f6ce2f [multiple changes]
2013-07-17  Mikael Morin  <mikael@gcc.gnu.org>
            Tobias Burnus  <burnus@net-b.de>

        PR fortran/57895
        * match.c (gfc_match_name): Ensure that the error
        message regarding -fdollar-ok gets printed.
        (gfc_match_common): Avoid multiple freeing.

2013-07-17  Tobias Burnus  <burnus@net-b.de>

        PR fortran/57895
        * gfortran.dg/dollar_sym_3.f: New.
        * gfortran.dg/dollar_sym_1.f90: Update dg-error.

From-SVN: r201008
2013-07-17 14:57:41 +02:00
Yvan Roux a1259a1302 re PR target/57909 ([ARM] ICE with internal memcpy and -mno-unaligned-access)
Fix PR target/57909.

2013-07-17  Yvan Roux  <yvan.roux@linaro.org>

        PR target/57909
        * config/arm/arm.c (gen_movmem_ldrd_strd): Fix unaligned load/store
        usage in HI mode.

From-SVN: r201005
2013-07-17 11:39:14 +00:00
Andreas Krebbel 167f68ede4 s390.c: (s390_expand_builtin): Allow -mhtm to be enabled without -march=zEC12.
2013-07-17  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

	* config/s390/s390.c: (s390_expand_builtin): Allow -mhtm to be
	enabled without -march=zEC12.
	* config/s390/s390.h (TARGET_HTM): Do not require EC12 machine
	flags to be set.

2013-07-17  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

	* acinclude.m4: Add htm asm check for s390.
	* configure.tgt: Add -mhtm and -Wa,-march=zEC12 to the options.
	* configure: Regenerate.
	* config/s390/target.h: Remove __HTM__ check.
	(htm_available): Call getauxval to get hwcaps and check whether
	HTM is available or not.

From-SVN: r201004
2013-07-17 11:15:24 +00:00
Tim Shen 1b2d0112c5 MAINTAINERS (Write After Approval): Add myself.
2013-07-17  Tim Shen  <timshen91@gmail.com>

	* MAINTAINERS (Write After Approval): Add myself.

From-SVN: r200998
2013-07-17 01:19:07 +00:00
GCC Administrator 98031b20a8 Daily bump.
From-SVN: r200996
2013-07-17 00:16:41 +00:00
Maciej W. Rozycki f900a98221 mips.h (ISA_HAS_FP4): Correct formatting.
* config/mips/mips.h (ISA_HAS_FP4): Correct formatting.
	(ISA_HAS_FP_MADD4_MSUB4): Also enable for ISA_MIPS32R2.
	(ISA_HAS_NMADD4_NMSUB4): Remove the MODE argument; rewrite in
	terms of ISA_HAS_FP4, and also enable for ISA_MIPS32R2.
	(ISA_HAS_NMADD3_NMSUB3): Remove the MODE argument.
	* config/mips/mips.c (mips_rtx_costs) <PLUS>: Check for
	ISA_HAS_FP_MADD4_MSUB4 || ISA_HAS_FP_MADD3_MSUB3 rather than
	ISA_HAS_FP4.
	<MINUS, NEG>: Update according to changes to ISA_HAS_NMADD4_NMSUB4
	and ISA_HAS_NMADD3_NMSUB3.
	* config/mips/mips.md (nmadd4<mode>, nmadd3<mode>): Likewise.
	(nmadd4<mode>_fastmath, nmadd3<mode>_fastmath): Likewise.
	(nmsub4<mode>, nmsub3<mode>): Likewise.
	(nmsub4<mode>_fastmath, nmsub3<mode>_fastmath): Likewise.

From-SVN: r200993
2013-07-16 23:04:52 +00:00
Maciej W. Rozycki d4ed27eb7f mips.h (ISA_HAS_NMADD4_NMSUB4): Remove TARGET_MIPS5400 checking.
* config/mips/mips.h (ISA_HAS_NMADD4_NMSUB4): Remove
	TARGET_MIPS5400 checking.

From-SVN: r200992
2013-07-16 22:58:58 +00:00
Ian Lance Taylor d163afc5d4 compiler: adjust closure field indexes
This corrects the code that handles composite literals where
the key is a variable in an enclosing function.  See bug475.go
in the testsuite.

From-SVN: r200990
2013-07-16 22:45:24 +00:00
Peter Bergner 7a5add18a3 rs6000.h (FIRST_PSEUDO_REGISTERS): Mention HTM registers in the comment.
* config/rs6000/rs6000.h (FIRST_PSEUDO_REGISTERS): Mention HTM
	registers in the comment.
	(DWARF_FRAME_REGISTERS): Subtract also the 3 HTM registers.
	(DWARF_REG_TO_UNWIND_COLUMN): Use DWARF_FRAME_REGISTERS
	rather than FIRST_PSEUDO_REGISTERS.

From-SVN: r200988
2013-07-16 16:06:02 -05:00
Tobias Burnus b1adb7c4a0 re PR fortran/57912 (gfortran/coarray/alloc_comp_2.f90 ICE)
2013-07-16  Tobias Burnus  <burnus@net-b.de>

        PR fortran/57912
        * trans-expr.c (gfc_trans_scalar_assign): Correct if
        condition for caf realloc.

From-SVN: r200987
2013-07-16 22:54:37 +02:00
Peter Bergner c694dc0100 rs6000.c (rs6000_option_override_internal): Do not enable extra ISA flags with TARGET_HTM.
* config/rs6000/rs6000.c (rs6000_option_override_internal): Do not
	enable extra ISA flags with TARGET_HTM.

From-SVN: r200985
2013-07-16 11:35:10 -05:00