Commit a691bb08 by Uros Bizjak

char4_iunit_1.f03: Add ieee options.

	* gfortran.dg/char4_iunit_1.f03: Add ieee options.
	Skip on spu-*-* targets.

From-SVN: r162561
parent 7a9bf9a4
...@@ -11,15 +11,13 @@ ...@@ -11,15 +11,13 @@
c_common_initialize_diagnostics. c_common_initialize_diagnostics.
* c-objc-common.h (LANG_HOOKS_OPTION_LANG_MASK, * c-objc-common.h (LANG_HOOKS_OPTION_LANG_MASK,
LANG_HOOKS_COMPLAIN_WRONG_LANG_P): Define. LANG_HOOKS_COMPLAIN_WRONG_LANG_P): Define.
* coretypes.h (struct cl_option, struct cl_decoded_option): * coretypes.h (struct cl_option, struct cl_decoded_option): Declare.
Declare.
* hooks.c (hook_uint_uint_constcharptrptr_0): Remove. * hooks.c (hook_uint_uint_constcharptrptr_0): Remove.
(hook_uint_void_0): New. (hook_uint_void_0): New.
* hooks.h (hook_uint_uint_constcharptrptr_0): Remove. * hooks.h (hook_uint_uint_constcharptrptr_0): Remove.
(hook_uint_void_0): New. (hook_uint_void_0): New.
* opts-common.c (decode_cmdline_option, * opts-common.c (decode_cmdline_option,
decode_cmdline_options_to_array): Also fill in canonical_option decode_cmdline_options_to_array): Also fill in canonical_option field.
field.
* opts.c (complain_wrong_lang): Use langhook to determine whether * opts.c (complain_wrong_lang): Use langhook to determine whether
to complain instead of special-casing LTO. to complain instead of special-casing LTO.
(decode_options): Separate lang_mask determination with (decode_options): Separate lang_mask determination with
...@@ -114,13 +112,12 @@ ...@@ -114,13 +112,12 @@
2010-07-26 Richard Guenther <rguenther@suse.de> 2010-07-26 Richard Guenther <rguenther@suse.de>
PR middle-end/45056 PR middle-end/45056
* gimple-fold.c (fold_stmt_1): Also fold references in * gimple-fold.c (fold_stmt_1): Also fold references in debug stmts.
debug stmts.
2010-07-26 Richard Guenther <rguenther@suse.de> 2010-07-26 Richard Guenther <rguenther@suse.de>
PR tree-optimization/45071 PR tree-optimization/45071
* tree-ssa-sccvn.c (vn_reference_maybe_forwprop_address): Always * tree-ssa-sccvn.c (vn_reference_maybe_forwprop_address): Always
adjust op->opcode. adjust op->opcode.
2010-07-26 Naveen.H.S <naveen.S@kpitcummins.com> 2010-07-26 Naveen.H.S <naveen.S@kpitcummins.com>
...@@ -134,9 +131,9 @@ ...@@ -134,9 +131,9 @@
save_r31, return_r31, save_interrupt, return_interrupt, save_r31, return_r31, save_interrupt, return_interrupt,
save_all_interrupt, return_all_interrupt, L_save_r2_r31, save_all_interrupt, return_all_interrupt, L_save_r2_r31,
L_return_interrupt, callt_return_interrupt, L_restore_all_interrupt, L_return_interrupt, callt_return_interrupt, L_restore_all_interrupt,
L_save_##START##_r31c, L_callt_save_r31c: Updated as per the L_save_##START##_r31c, L_callt_save_r31c): Updated as per the
new ABI requirements. new ABI requirements.
save_r6_r9, L_callt_save_r6_r9: Remove. (save_r6_r9, L_callt_save_r6_r9): Remove.
* config/v850/predicates.md (even_reg_operand, disp23_operand, * config/v850/predicates.md (even_reg_operand, disp23_operand,
const_float_1_operand const_float_0_operand): New Predicates. const_float_1_operand const_float_0_operand): New Predicates.
(pattern_is_ok_for_prepare, pattern_is_ok_for_prologue, (pattern_is_ok_for_prepare, pattern_is_ok_for_prologue,
...@@ -152,13 +149,11 @@ ...@@ -152,13 +149,11 @@
assembly. assembly.
(v850_float_z_comparison_operator, v850_select_cc_mode, (v850_float_z_comparison_operator, v850_select_cc_mode,
v850_float_nz_comparison_operator, v850_gen_float_compare, v850_float_nz_comparison_operator, v850_gen_float_compare,
v850_gen_compare): New functions to support comparison of v850_gen_compare): New functions to support comparison of float values.
float values.
(ep_memory_offset): Add support for V850E2 targets. (ep_memory_offset): Add support for V850E2 targets.
(INTERRUPT_FIXED_NUM, INTERRUPT_ALL_SAVE_NUM): Update. (INTERRUPT_FIXED_NUM, INTERRUPT_ALL_SAVE_NUM): Update.
(INTERRUPT_REGPARM_NUM): Remove. (INTERRUPT_REGPARM_NUM): Remove.
(compute_register_save_size): Add extra case to save/restore (compute_register_save_size): Add extra case to save/restore long call.
long call.
(use_prolog_function): New function to support prologue. (use_prolog_function): New function to support prologue.
(expand_prologue): Add support for V850E2 targets and modified (expand_prologue): Add support for V850E2 targets and modified
as per the current ABI requirements. as per the current ABI requirements.
...@@ -168,7 +163,7 @@ ...@@ -168,7 +163,7 @@
(construct_dispose_instruction): Update as per the current ABI (construct_dispose_instruction): Update as per the current ABI
requirements. requirements.
(construct_prepare_instruction): Likewise. (construct_prepare_instruction): Likewise.
* config/v850/v850.h(TARGET_CPU_DEFAULT): Add target predefines. * config/v850/v850.h (TARGET_CPU_DEFAULT): Add target predefines.
(TARGET_CPU_v850e2, TARGET_CPU_v850e2v3): Define (TARGET_CPU_v850e2, TARGET_CPU_v850e2v3): Define
(CPP_SPEC): Updated to support v850e2 targets. (CPP_SPEC): Updated to support v850e2 targets.
(STRICT_ALIGNMENT): Modified. (STRICT_ALIGNMENT): Modified.
...@@ -201,8 +196,7 @@ ...@@ -201,8 +196,7 @@
(cc): Add set_z attribute. (cc): Add set_z attribute.
(unsign23byte_load, sign23byte_load, unsign23hword_load, (unsign23byte_load, sign23byte_load, unsign23hword_load,
sign23hword_load, 23word_load, 23byte_store, 23hword_store, sign23hword_load, 23word_load, 23byte_store, 23hword_store,
23word_store): New instructions for 23-bit displacement load and 23word_store): New instructions for 23-bit displacement load and store.
store.
(movqi_internal, movhi_internal): Update the attributes. (movqi_internal, movhi_internal): Update the attributes.
(movsi, movsi_internal_v850e): Updated to support v850e2 targets. (movsi, movsi_internal_v850e): Updated to support v850e2 targets.
(movsi_internal_v850e, movsi_internal, movsf_internal): Update (movsi_internal_v850e, movsi_internal, movsf_internal): Update
...@@ -217,8 +211,7 @@ ...@@ -217,8 +211,7 @@
one_cmplsi2): Clobber the CC_REGNUM register. one_cmplsi2): Clobber the CC_REGNUM register.
(v850_clr1_1, v850_clr1_2, v850_clr1_3, andsi3, v850_set1_1, (v850_clr1_1, v850_clr1_2, v850_clr1_3, andsi3, v850_set1_1,
v850_set1_2, v850_set1_3, iorsi3, v850_not1_1, v850_not1_2, v850_set1_2, v850_set1_3, iorsi3, v850_not1_1, v850_not1_2,
v850_not1_3, xorsi3, one_cmplsi2): Update the attributes v850_not1_3, xorsi3, one_cmplsi2): Update the attributes accordingly.
accordingly.
(setf_insn, set_z_insn, set_nz_insn): New instructions for (setf_insn, set_z_insn, set_nz_insn): New instructions for
v850e2v3 target. v850e2v3 target.
(movsicc_normal_cc, movsicc_reversed_cc): New instructions. (movsicc_normal_cc, movsicc_reversed_cc): New instructions.
...@@ -301,9 +294,8 @@ ...@@ -301,9 +294,8 @@
2010-07-24 Gerald Pfeifer <gerald@pfeifer.com> 2010-07-24 Gerald Pfeifer <gerald@pfeifer.com>
* doc/install.texi (Specific, *-*-freebsd*): Adjust to recent * doc/install.texi (Specific, *-*-freebsd*): Adjust to recent changes.
changes. Streamline paragraph on compatibility with the system Streamline paragraph on compatibility with the system compiler.
compiler.
2010-07-24 Steven Bosscher <steven@gcc.gnu.org> 2010-07-24 Steven Bosscher <steven@gcc.gnu.org>
...@@ -335,8 +327,7 @@ ...@@ -335,8 +327,7 @@
2010-07-23 Kai Tietz <kai.tietz@onevision.com> 2010-07-23 Kai Tietz <kai.tietz@onevision.com>
PR target/41943 PR target/41943
* Makefile.in (USER_H_INC_NEXT_PRE, * Makefile.in (USER_H_INC_NEXT_PRE, USER_H_INC_NEXT_POST): New.
USER_H_INC_NEXT_POST): New.
(stmp-int-hdrs): Prefix/postfix headers by include_next. (stmp-int-hdrs): Prefix/postfix headers by include_next.
* config.gcc (user_headers_inc_next_pre): New. * config.gcc (user_headers_inc_next_pre): New.
(user_headers_inc_next_post): Likewise. (user_headers_inc_next_post): Likewise.
...@@ -352,8 +343,7 @@ ...@@ -352,8 +343,7 @@
Set tga_func for Solaris 2/x86 resp. SPARC. Set tga_func for Solaris 2/x86 resp. SPARC.
Remove duplicate parts of sparc*-sun-solaris2.* TLS check. Remove duplicate parts of sparc*-sun-solaris2.* TLS check.
(LIB_THREAD_LDFLAGS_SPEC): Define. (LIB_THREAD_LDFLAGS_SPEC): Define.
(LIB_TLS_SPEC): Define. (LIB_TLS_SPEC): Define. Check for required Sun ld version.
Check for required Sun ld version.
* configure: Regenerate. * configure: Regenerate.
* config.in: Regenerate. * config.in: Regenerate.
* config/sol2.h (LIB_SPEC): Use LIB_THREAD_LDFLAGS_SPEC with * config/sol2.h (LIB_SPEC): Use LIB_THREAD_LDFLAGS_SPEC with
...@@ -420,8 +410,7 @@ ...@@ -420,8 +410,7 @@
2010-07-23 Richard Guenther <rguenther@suse.de> 2010-07-23 Richard Guenther <rguenther@suse.de>
* lto-symtab.c (lto_symtab_merge): Use gtc_mode enum * lto-symtab.c (lto_symtab_merge): Use gtc_mode enum values.
values.
(lto_symtab_merge_decls_2): Likewise. (lto_symtab_merge_decls_2): Likewise.
* tree-ssa.c (useless_type_conversion_p): Likewise. * tree-ssa.c (useless_type_conversion_p): Likewise.
* lto-streamer-in.c (input_gimple_stmt): Likewise. * lto-streamer-in.c (input_gimple_stmt): Likewise.
...@@ -453,13 +442,13 @@ ...@@ -453,13 +442,13 @@
2010-07-23 Jie Zhang <jie@codesourcery.com> 2010-07-23 Jie Zhang <jie@codesourcery.com>
* doc/extend.texi: Remove IP2K from the description of naked * doc/extend.texi: Remove IP2K from the description of naked attribute.
attribute. Add MCORE instead. Add MCORE instead.
2010-07-10 Andi Kleen <ak@linux.intel.com> 2010-07-10 Andi Kleen <ak@linux.intel.com>
PR lto/44992 PR lto/44992
* lto-opts.c (lto_write_options): Add NULL file_data argument to * lto-opts.c (lto_write_options): Add NULL file_data argument to
lto_get_section_name. lto_get_section_name.
* lto-section-out.c (lto_destroy_simple_output_block): Likewise. * lto-section-out.c (lto_destroy_simple_output_block): Likewise.
* lto-streamer-out.c (produce_asm): Likewise. * lto-streamer-out.c (produce_asm): Likewise.
...@@ -471,12 +460,12 @@ ...@@ -471,12 +460,12 @@
* lto-streamer.h (lto_file_decl_data): Add next, id, resolutions. * lto-streamer.h (lto_file_decl_data): Add next, id, resolutions.
(lto_get_section_name): Add file_data argument to prototype. (lto_get_section_name): Add file_data argument to prototype.
2010-07-10 Andi Kleen <ak@linux.intel.com> 2010-07-10 Andi Kleen <ak@linux.intel.com>
* lto-section-in.c (lto_section_name): Synchronize names * lto-section-in.c (lto_section_name): Synchronize names
with lto_get_section_name. with lto_get_section_name.
2010-07-10 Andi Kleen <ak@linux.intel.com> 2010-07-10 Andi Kleen <ak@linux.intel.com>
* lto-opts.c (lto_read_file_options): Check for missing section. * lto-opts.c (lto_read_file_options): Check for missing section.
...@@ -670,8 +659,8 @@ ...@@ -670,8 +659,8 @@
2010-07-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> 2010-07-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
PR target/43698 PR target/43698
* config/arm/arm.md: Split arm_rev into *arm_rev * config/arm/arm.md: Split arm_rev into *arm_rev and *thumb1_rev.
and *thumb1_rev. Set *arm_rev to be predicable. Set *arm_rev to be predicable.
2010-07-22 Iain Sandoe <iains@gcc.gnu.org> 2010-07-22 Iain Sandoe <iains@gcc.gnu.org>
...@@ -703,13 +692,13 @@ ...@@ -703,13 +692,13 @@
(reload_combine_closest_single_use): Don't take DEBUG_INSNs (reload_combine_closest_single_use): Don't take DEBUG_INSNs
into account. into account.
(fixup_debug_insns): Don't copy the rtx. (fixup_debug_insns): Don't copy the rtx.
(reload_combine_recognize_const_pattern): DEBUG_INSNs can't (reload_combine_recognize_const_pattern): DEBUG_INSNs can't have uses.
have uses. Don't copy when replacing. Call fixup_debug_insns Don't copy when replacing. Call fixup_debug_insns in the case where
in the case where we merged one add with another. we merged one add with another.
(reload_combine_recognize_pattern): Fail if there aren't any (reload_combine_recognize_pattern): Fail if there aren't any uses.
uses. Try harder to determine whether we're picking a valid Try harder to determine whether we're picking a valid index register.
index register. Don't set store_ruid for an insn we're going Don't set store_ruid for an insn we're going to scan in the
to scan in the next iteration. next iteration.
(reload_combine): Remove unused code. (reload_combine): Remove unused code.
(reload_combine_note_use): When updating use information for (reload_combine_note_use): When updating use information for
an old insn, ignore a use that occurs after store_ruid. an old insn, ignore a use that occurs after store_ruid.
...@@ -786,8 +775,7 @@ ...@@ -786,8 +775,7 @@
2010-07-21 Jakub Jelinek <jakub@redhat.com> 2010-07-21 Jakub Jelinek <jakub@redhat.com>
PR debug/45003 PR debug/45003
* var-tracking.c (reverse_op): Also handle {SIGN,ZERO}_EXTEND of * var-tracking.c (reverse_op): Also handle {SIGN,ZERO}_EXTEND of a MEM.
a MEM.
* dwarf2out.c (loc_descriptor): Don't handle SIGN_EXTEND nor * dwarf2out.c (loc_descriptor): Don't handle SIGN_EXTEND nor
ZERO_EXTEND here. ZERO_EXTEND here.
...@@ -1527,7 +1515,7 @@ ...@@ -1527,7 +1515,7 @@
2010-07-13 Manuel López-Ibáñez <manu@gcc.gnu.org> 2010-07-13 Manuel López-Ibáñez <manu@gcc.gnu.org>
* c-decl.c (finish_function): Fix typo in comment. * c-decl.c (finish_function): Fix typo in comment.
2010-07-12 H.J. Lu <hongjiu.lu@intel.com> 2010-07-12 H.J. Lu <hongjiu.lu@intel.com>
PR bootstrap/44921 PR bootstrap/44921
...@@ -9030,7 +9018,7 @@ ...@@ -9030,7 +9018,7 @@
debug_tree_chain): Likewise. debug_tree_chain): Likewise.
* tree-loop-distribution.c (debug_rdg_partitions): Likewise. * tree-loop-distribution.c (debug_rdg_partitions): Likewise.
* cgraph.c (debug_cgraph_node, debug_cgraph): Likewise. * cgraph.c (debug_cgraph_node, debug_cgraph): Likewise.
* optabs.c (debug_optab_libfuncs): Likewise. * optabs.c (debug_optab_libfuncs): Likewise.
(verify_loop_closed_ssa): Likewise. (verify_loop_closed_ssa): Likewise.
* value-prof.c (verify_histograms): Likewise. * value-prof.c (verify_histograms): Likewise.
* reload.c (debug_reload_to_stream, debug_reload): Likewise. * reload.c (debug_reload_to_stream, debug_reload): Likewise.
...@@ -10168,7 +10156,7 @@ ...@@ -10168,7 +10156,7 @@
* toplev.c (general_init): Set global_dc->internal_error. * toplev.c (general_init): Set global_dc->internal_error.
* Makefile.in (diagnostic.o): Update dependencies. * Makefile.in (diagnostic.o): Update dependencies.
2010-05-25 Iain Sandoe <iains@gcc.gnu.org> 2010-05-25 Iain Sandoe <iains@gcc.gnu.org>
* config/rs6000/darwin64.h: Update DARWIN_ARCH_SPEC. * config/rs6000/darwin64.h: Update DARWIN_ARCH_SPEC.
* config/rs6000/t-darwin64: New. * config/rs6000/t-darwin64: New.
...@@ -14345,7 +14333,7 @@ ...@@ -14345,7 +14333,7 @@
* builtins.c (expand_builtin_signbit): Clean up, use double_int_* * builtins.c (expand_builtin_signbit): Clean up, use double_int_*
and immed_double_int_const functions. and immed_double_int_const functions.
* optabs.c (expand_absneg_bit, expand_copysign_absneg, * optabs.c (expand_absneg_bit, expand_copysign_absneg,
expand_copysign_bit): (Ditto.). expand_copysign_bit): (Ditto.).
* simplify-rtx.c (simplify_binary_operation_1): (Ditto.). * simplify-rtx.c (simplify_binary_operation_1): (Ditto.).
* tree-ssa-address.c (addr_for_mem_ref): (Ditto.). * tree-ssa-address.c (addr_for_mem_ref): (Ditto.).
* dojump.c (prefer_and_bit_test): (Ditto.). * dojump.c (prefer_and_bit_test): (Ditto.).
...@@ -18793,7 +18781,7 @@ ...@@ -18793,7 +18781,7 @@
2010-02-16 Richard Guenther <rguenther@suse.de> 2010-02-16 Richard Guenther <rguenther@suse.de>
PR tree-optimization/41043 PR tree-optimization/41043
* tree-vrp.c (vrp_var_may_overflow): Only ask SCEV for real loops. * tree-vrp.c (vrp_var_may_overflow): Only ask SCEV for real loops.
(vrp_visit_assignment_or_call): Do not ask SCEV for regular (vrp_visit_assignment_or_call): Do not ask SCEV for regular
statements ... statements ...
(vrp_visit_phi_node): ... but only for loop PHI nodes. (vrp_visit_phi_node): ... but only for loop PHI nodes.
......
2010-07-27 Uros Bizjak <ubizjak@gmail.com>
* gfortran.dg/char4_iunit_1.f03: Add ieee options.
Skip on spu-*-* targets.
2010-07-27 Jakub Jelinek <jakub@redhat.com> 2010-07-27 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/45083 PR tree-optimization/45083
......
! { dg-do run } ! { dg-do run }
! { dg-add-options ieee }
! { dg-skip-if "NaN not supported" { spu-*-* } { "*" } { "" } }
! PR37077 Implement Internal Unit I/O for character KIND=4 ! PR37077 Implement Internal Unit I/O for character KIND=4
! Test case prepared by Jerry DeLisle <jvdelisle@gcc.gnu.org> ! Test case prepared by Jerry DeLisle <jvdelisle@gcc.gnu.org>
program char4_iunit_1 program char4_iunit_1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment