1. 27 May, 2007 7 commits
    • rs6000.c (rs6000_emit_prologue): Update sp_offset depending on stack size. · bcb2d701
      2007-05-27  Eric Christopher  <echristo@apple.com>
      
      	    * config/rs6000/rs6000.c (rs6000_emit_prologue): Update
      	    sp_offset depending on stack size. Save r12 depending
      	    on registers we're saving later.
      	    (rs6000_emit_epilogue): Update sp_offset depending only
      	    on stack size.
      
      From-SVN: r125116
      Eric Christopher committed
    • tree-vrp.c (execute_vrp): Do not check whether current_loops == NULL. · d51157de
      	* tree-vrp.c (execute_vrp): Do not check whether current_loops == NULL.
      	* tree-chrec.c (evolution_function_is_invariant_rec_p): Ditto.
      	* ifcvt.c (if_convert): Ditto.
      	* tree-ssa-threadupdate.c (thread_block): Ditto.
      	(thread_through_all_blocks): Ditto.  Assert that loops were analysed.
      	* tree-ssa-loop-manip.c (rewrite_into_loop_closed_ssa,
      	verify_loop_closed_ssa): Check number_of_loops instead of current_loops.
      	* predict.c (tree_estimate_probability): Ditto.
      	* tree-if-conv.c (main_tree_if_conversion): Ditto.
      	* tree-ssa-loop-ch.c (copy_loop_headers): Ditto.
      	* modulo-sched.c (sms_schedule): Ditto.
      	* tree-scalar-evolution.c (scev_const_prop): Ditto.
      	(scev_finalize): Do not do anything if scev analysis was not
      	initialized.
      	* cfgloopanal.c (mark_irreducible_loops): Do not check whether
      	current_loops == NULL.
      	(mark_loop_exit_edges): Check number_of_loops instead of current_loops.
      	* loop-init.c (loop_optimizer_init): Do not free current_loops when
      	there are no loops.
      	(loop_optimizer_finalize): Assert that loops were analyzed.
      	(rtl_move_loop_invariants, rtl_unswitch, rtl_unroll_and_peel_loops,
      	rtl_doloop): Check number_of_loops instead of current_loops.
      	* tree-ssa-loop.c (tree_loop_optimizer_init): Do not check whether
      	current_loops == NULL.
      	(tree_ssa_loop_init, tree_ssa_loop_im, tree_ssa_loop_unswitch,
      	gate_tree_vectorize tree_linear_transform, check_data_deps,
      	tree_ssa_loop_ivcanon, tree_ssa_empty_loop, tree_ssa_loop_bounds,
      	tree_complete_unroll, tree_ssa_loop_prefetch, tree_ssa_loop_ivopts):
      	Check number_of_loops instead of current_loops.
      	(tree_ssa_loop_done): Do not check whether current_loops == NULL.
      	* tree-ssa-pre.c (fini_pre): Do not take do_fre argument.  Always
      	free loops if available.
      	(execute_pre): Do not pass do_fre to fini_pre.
      
      From-SVN: r125114
      Zdenek Dvorak committed
    • 2007-05-27 Paolo Carlini <pcarlini@suse.de> · 67a7356b
      	* include/tr1/boost_shared_ptr.h
      	(_Sp_counted_base<_S_mutex>::_M_add_ref_lock()): Do not wrap in
      	#ifdef __GTHREADS.
      
      2007-05-27  Paolo Carlini  <pcarlini@suse.de>
      
      	* include/c_global/cwchar: Do not include <ctime>.
      	* include/c_std/cwchar: Likewise.
      	* include/ext/throw_allocator.h: Do it here.
      
      From-SVN: r125112
      Paolo Carlini committed
    • (svn add was forgotten) · 33935886
      2007-05-27  Tobias Burnus  <burnus@net-b.de>
      
              PR middle-end/32083
              * gfortran.dg/transfer_simplify_3.f90: New.
      
      From-SVN: r125110
      Tobias Burnus committed
    • re PR middle-end/32083 (bug in transfer integer->real->integer) · fe67caf6
      2007-05-26  Tobias Burnus  <burnus@net-b.de>
      
      	PR fortran/32083
      	* real.c (mpfr_from_real): Fix sign of -Inf.
      
      2007-05-26  Tobias Burnus  <burnus@net-b.de>
      
      	PR fortran/32083
      	* gfortran.dg/transfer_simplify_3.f90: New.
      
      From-SVN: r125108
      Tobias Burnus committed
    • tree-vect-transform.c (vectorizable_conversion): Initialize tree_code variables to ERROR_MARK. · 8ff43db0
      2007-05-27  H.J. Lu  <hongjiu.lu@intel.com>
      
      	* tree-vect-transform.c (vectorizable_conversion): Initialize
      	tree_code variables to ERROR_MARK.
      	(vectorizable_type_demotion): Likewise.
      	(vectorizable_type_promotion): Likewise.
      
      From-SVN: r125107
      H.J. Lu committed
    • Daily bump. · 7854a19e
      From-SVN: r125105
      GCC Administrator committed
  2. 26 May, 2007 16 commits
    • re PR target/32065 (Many dfp testsuite failures for -msse targets) · 72bd078f
              PR target/32065
              * config/i386/i386.md (movti): Handle push operands via
              ix86_expand_push().
      
      testsuite/ChangeLog:
      
              PR target/32065
              * gcc.target/i386/pr32065-1.c: Rename from pr32065.c.  Add -std=gnu99
              to compile options.
              * gcc.target/i386/pr32065-2.c: New test.
      
      From-SVN: r125102
      Uros Bizjak committed
    • string.c (compare0): Use gfc_charlen_type instead of int. · 88fdfd5a
      2007-05-27  Janne Blomqvist  <jb@gcc.gnu.org>
      
      	* runtime/string.c (compare0): Use gfc_charlen_type instead of int.
      	(fstrlen): Likewise.
      	(find_option): Likewise.
      	(fstrcpy): Use gfc_charlen_type instead of int, return length.
      	(cf_strcpy): Likewise.
      	* libgfortran.h: Change string prototypes to use gfc_charlen_type.
      	* io/open.c (new_unit): Use snprintf if available.
      	* io/list_read.c (nml_touch_nodes): Use memcpy instead of strcpy/strcat.
      	(nml_read_obj): Likewise.
      	* io/transfer.c (st_set_nml_var): Likewise.
      	* io/write.c (output_float): Use snprintf if available.
      	(nml_write_obj) Use memcpy instead of strcpy/strcat.
      
      From-SVN: r125100
      Janne Blomqvist committed
    • unix.c (unix_stream): Rearrange struct members, remove small_buffer. · c132497f
      2007-05-26  Janne Blomqvist  <jb@gcc.gnu.org>
      
      	* io/unix.c (unix_stream): Rearrange struct members, remove
      	small_buffer.
      	(int_stream): New struct.
      	(fd_alloc): Always use existing buffer, never reallocate.
      	(fd_sfree): Remove check for buffer != small_buffer.
      	(fd_close): Likewise.
      	(mem_alloc_r_at): Change to use int_stream.
      	(mem_alloc_w_at): Likewise.
      	(mem_read): Likewise.
      	(mem_write): Likewise.
      	(mem_set): Likewise.
      	(mem_truncate): Likewise.
      	(mem_close): Likewise.
      	(mem_sfree): Likewise.
      	(empty_internal_buffer): Likewise.
      	(open_internal): Likewise.
      
      From-SVN: r125099
      Janne Blomqvist committed
    • re PR fortran/31813 (Warn about deleted feature: H edit descriptor) · c830854a
      2007-05-26  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR fortran/31813
      	* gfortran.dg/io_constraints_2.f90: Update.
      
      From-SVN: r125098
      Jerry DeLisle committed
    • re PR fortran/31813 (Warn about deleted feature: H edit descriptor) · a383cfa3
      2007-05-26  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR fortran/31813
      	* io.c (check_format): Add warning for H specifier in format.
      
      From-SVN: r125097
      Jerry DeLisle committed
    • tree-flow.h: Remove the prototype for is_aliased_with. · 5ef1348f
      	* tree-flow.h: Remove the prototype for is_aliased_with.
      	* tree-ssa-alias.c (is_aliased_with): Remove.
      
      From-SVN: r125095
      Kazu Hirata committed
    • basic-block.h: Remove the prototype for merge_seq_blocks. · eb834193
      	* basic-block.h: Remove the prototype for merge_seq_blocks.
      	* cfgcleanup.c (merge_seq_blocks): Remove.
      
      From-SVN: r125094
      Kazu Hirata committed
    • i386-protos.h (ix86_expand_sse4_unpack): New. · e5ac0b9b
      2007-05-26  H.J. Lu  <hongjiu.lu@intel.com>
      
      	* config/i386/i386-protos.h (ix86_expand_sse4_unpack): New.
      
      	* config/i386/i386.c (ix86_expand_sse4_unpack): New.
      
      	* config/i386/sse.md (vec_unpacku_hi_v16qi): Call
      	ix86_expand_sse4_unpack if SSE4.1 is enabled.
      	(vec_unpacks_hi_v16qi): Likewise.
      	(vec_unpacku_lo_v16qi): Likewise.
      	(vec_unpacks_lo_v16qi): Likewise.
      	(vec_unpacku_hi_v8hi): Likewise.
      	(vec_unpacks_hi_v8hi): Likewise.
      	(vec_unpacku_lo_v8hi): Likewise.
      	(vec_unpacks_lo_v8hi): Likewise.
      	(vec_unpacku_hi_v4si): Likewise.
      	(vec_unpacks_hi_v4si): Likewise.
      	(vec_unpacku_lo_v4si): Likewise.
      	(vec_unpacks_lo_v4si): Likewise.
      
      From-SVN: r125093
      H.J. Lu committed
    • gfortran.texi: Document the GFORTRAN_ERROR_DUMPCORE and GFORTRAN_ERROR_BACKTRACE environment... · a0cb58b2
      2007-05-26  Tobias Burnus  <burnus@net-b.de>
      
             * gfortran.texi: Document the GFORTRAN_ERROR_DUMPCORE and
             GFORTRAN_ERROR_BACKTRACE environment variables.
      
      From-SVN: r125091
      Tobias Burnus committed
    • i386.c, [...]: Fix comment typos. · 110abdbc
      	* config/i386/i386.c, config/pa/pa.c, config/spu/spu.c,
      	df-problems.c, df-scan.c, domwalk.c, ebitmap.c, ebitmap.h,
      	fold-const.c, gcc.c, ipa-type-escape.c, omega.c, omega.h,
      	tree-ssa-coalesce.c, tree-ssa-live.c, tree-ssa-structalias.c,
      	tree-vrp.c: Fix comment typos.  Follow spelling conventions.
      	* doc/tm.texi: Follow spelling conventions.
      
      From-SVN: r125090
      Kazu Hirata committed
    • c-typeck.c, [...]: Fix typos and follow spelling conventions in various warning/error/diagnostic... · 4dad0aca
      	* c-typeck.c, config/arm/arm.c, config/darwin.c,
      	config/sh/symbian.c, gcc.c, ipa-cp.c, ipa-inline.c, loop-iv.c,
      	omega.c, tree-ssa-loop-niter.c, treestruct.def: Fix typos and
      	follow spelling conventions in various
      	warning/error/diagnostic messages.
      
      From-SVN: r125089
      Kazu Hirata committed
    • re PR fortran/31219 (ICE on array of character function results) · 0ee8e250
      2007-05-26 Paul Thomas <pault@gcc.gnu.org>
      
      	PR fortran/31219
      	* trans.h : Add no_function_call bitfield to gfc_se structure.
      	Add stmtblock_t argument to prototype of get_array_ctor_strlen.
      	* trans-array.c (get_array_ctor_all_strlen): New function.
      	(get_array_ctor_strlen): Add new stmtblock_t argument and call
      	new function for character elements that are not constants,
      	arrays or variables.
      	(gfc_conv_array_parameter): Call get_array_ctor_strlen to get
      	good string length.
      	* trans-intrinsic (gfc_conv_intrinsic_len): Add new argument
      	to call of get_array_ctor_strlen.
      
      
      2007-05-26 Paul Thomas <pault@gcc.gnu.org>
      
      	PR fortran/31219
      	* gfortran.dg/array_constructor_17.f90: New test.
      
      From-SVN: r125088
      Paul Thomas committed
    • re PR tree-optimization/32090 (ICE in forwprop with zero sized array) · 150594ba
      2007-05-25  Andrew Pinski  <andrew_pinski@playstation.sony.com>
      
              PR tree-opt/32090
              * tree-ssa-forwprop.c
              (forward_propagate_addr_into_variable_array_index): Remove
              the lhs argument.  Use the type of def_rhs instead of lhs.
              (forward_propagate_addr_expr_1): Update use of
              forward_propagate_addr_into_variable_array_index.
      
      2007-05-25  Andrew Pinski  <andrew_pinski@playstation.sony.com>
      
              PR tree-opt/32090
              * g++.dg/opt/array2.C: New testcase.
      
      From-SVN: r125087
      Andrew Pinski committed
    • mips.c (mips_attribute_table): Add "near" and "far" function attributes, "far"… · cd3a59b3
      mips.c (mips_attribute_table): Add "near" and "far" function attributes, "far" being an alias for "long_call".
      
      2007-05-25  Sandra Loosemore  <sandra@codesourcery.com>
      	    Nigel Stephens  <nigel@mips.com>
      
      	gcc/
      	* config/mips/mips.c (mips_attribute_table): Add "near" and "far"
      	function attributes, "far" being an alias for "long_call".
      	(TARGET_COMP_TYPE_ATTRIBUTES): Define as mips_comp_type_attributes.
      	(mips_near_type_p, mips_far_type_p): New.
      	(mips_comp_type_attributes): New function to check that attributes
      	attached to a function type are compatible.
      	(mips_output_mi_thunk): Test SYMBOL_REF_LONG_CALL_P() rather than
      	TARGET_LONG_CALLS when deciding	whether we can do a direct sibcall
      	to the target function of the thunk.
      	(mips_encode_section_info): Check for "near" and "far" function
      	attributes, and always set the SYMBOL_FLAG_LONG_CALL bit explicitly.
      
      	* config/mips/predicates.md (const_call_insn_operand): Test only
      	SYMBOL_REF_LONG_CALL_P() and not TARGET_LONG_CALLS.
      
      	* doc/extend.texi (Function Attributes): Document MIPS "near" and
      	"far" attributes.
      
      	* testsuite/gcc.target/mips/near-far-1.c:  New test case.
      	* testsuite/gcc.target/mips/near-far-2.c:  New test case.
      	* testsuite/gcc.target/mips/near-far-3.c:  New test case.
      	* testsuite/gcc.target/mips/near-far-4.c:  New test case.
      
      Co-Authored-By: Nigel Stephens <nigel@mips.com>
      
      From-SVN: r125086
      Sandra Loosemore committed
    • config.gcc: Add i386/t-fprules-softfp64 and soft-fp/t-softfp to x86-darwin configurations. · 8536ebb5
      2007-05-25  Eric Christopher  <echristo@apple.com>
      
      	    * config.gcc: Add i386/t-fprules-softfp64 and soft-fp/t-softfp
      	    to x86-darwin configurations.
      	    * config/i386/t-darwin: Add softfp support.
      	    * config/i386/t-darwin64: Ditto.
      	    * config/i386/sfp-machine.h: If mach then don't use
      	    aliasing, emit a stub to call.
      
      From-SVN: r125085
      Eric Christopher committed
    • Daily bump. · 9a3e1f0a
      From-SVN: r125083
      GCC Administrator committed
  3. 25 May, 2007 17 commits
    • cfglayout.c, [...]: Fix comment typos. · c80b4100
      	* cfglayout.c, cgraphunit.c, config/avr/avr.c, fold-const.c,
      	haifa-sched.c, optabs.h, tree-affine.c, tree-data-ref.c,
      	tree-predcom.c, tree-ssa-alias-warnings.c,
      	tree-ssa-forwprop.c, tree-vect-analyze.c, tree-vrp.c: Fix
      	comment typos.  Follow spelling conventions.
      	* doc/cpp.texi, doc/invoke.texi: Fix typos.
      
      From-SVN: r125080
      Kazu Hirata committed
    • * intrinsic.texi: Fix typos. · b6dcc314
      From-SVN: r125079
      Kazu Hirata committed
    • re PR target/32065 (Many dfp testsuite failures for -msse targets) · 4d2a42a1
              PR target/32065
              * target/i386/i386.c (ix86_expand_vector_move): Force SUBREGs of
              constants into memory.  Expand unaligned memory references for
              SSE modes via x86_expand_vector_move_misalign() function.
      
      testsuite/ChangeLog:
      
              PR target/32065
              * gcc.target/i386/pr32065.c: New test.
      
      From-SVN: r125077
      Uros Bizjak committed
    • sse.md (*vec_extractv2di_1_sse2): Do not calculate "memory" attribute for… · 5b98f74d
      sse.md (*vec_extractv2di_1_sse2): Do not calculate "memory" attribute for "sseishft" type insn without operands[2].
      
              * config/i386/sse.md (*vec_extractv2di_1_sse2): Do not calculate
              "memory" attribute for "sseishft" type insn without operands[2].
      
      From-SVN: r125075
      Uros Bizjak committed
    • * MAINTAINERS (Write After Approval): Remove myself. · 6b757a0d
      From-SVN: r125074
      Steven Bosscher committed
    • extend.texi (alloc_size): New attribute. · 51bc54a6
      2007-05-25  Dirk Mueller  <dmueller@suse.de>
                  Marcus Meissner <meissner@suse.de>
      
              * doc/extend.texi (alloc_size): New attribute.
              * c-common.c (handle_alloc_size_attribute): New.
              * tree-object-size.c (alloc_object_size): Use alloc_size
              attribute, if available.
      
              * testsuite/gcc.dg/attr-alloc_size.c: New.
      
      
      Co-Authored-By: Marcus Meissner <meissner@suse.de>
      
      From-SVN: r125073
      Dirk Mueller committed
    • re PR c++/31745 (ICE on invalid use of namespace) · 1094da91
      2007-05-25  Simon Martin  <simartin@users.sourceforge.net>
      	    Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
      
      	PR c++/31745
      	* parser.c (cp_parser_skip_to_closing_brace): Return true if the next
      	token is a closing brace, false if there are no tokens left.
      	(cp_parser_namespace_alias_definition): Only consume the next token if
      	it is a closing brace.
      
      	* parser.c (cp_parser_class_specifier): Likewise.
      
      Co-Authored-By: Lee Millward <lee.millward@gmail.com>
      Co-Authored-By: Manuel López-Ibáñez <manu@gcc.gnu.org>
      
      From-SVN: r125070
      Simon Martin committed
    • semantics.c (finish_member_declaration): Fix a typo in the last checkin. · eb89f88c
      2007-05-25  H.J. Lu  <hongjiu.lu@intel.com>
      
      	* semantics.c (finish_member_declaration): Fix a typo in the
      	last checkin.
      
      From-SVN: r125067
      H.J. Lu committed
    • ltmain.sh: Fix Darwin verstring, remove ${wl}. · 86ef8528
      2007-05-25  Andreas Tobler  <a.tobler@schweiz.org>
      
      	* ltmain.sh: Fix Darwin verstring, remove ${wl}.
      
      From-SVN: r125066
      Andreas Tobler committed
    • transfer.c (unformatted_read): Use size from front end eliminating use of size_from_real_kind. · 853c0ad7
      2007-05-25  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	* io/transfer.c (unformatted_read): Use size from front end eliminating
      	use of size_from_real_kind. (unformatted_write): Ditto.
      
      From-SVN: r125064
      Jerry DeLisle committed
    • i386.c (__builtin_ia32_vec_ext_v2df): Mark it with MASK_SSE2. · fc6c9f75
      gcc/
      
      2007-05-25  H.J. Lu  <hongjiu.lu@intel.com>
      
      	* config/i386/i386.c (__builtin_ia32_vec_ext_v2df): Mark it
      	with MASK_SSE2.
      	(__builtin_ia32_vec_ext_v2di): Likewise.
      	(__builtin_ia32_vec_ext_v4si): Likewise.
      	(__builtin_ia32_vec_ext_v8hi): Likewise.
      	(__builtin_ia32_vec_ext_v16qi): Likewise.
      	(__builtin_ia32_vec_set_v8hi): Likewise.
      
      gcc/testsuite/
      
      2007-05-25  H.J. Lu  <hongjiu.lu@intel.com>
      
      	* gcc.target/i386/sse2-check.h: New.
      	* gcc.target/i386/sse2-vec-1.c: Likewise.
      	* gcc.target/i386/sse2-vec-2.c: Likewise.
      	* gcc.target/i386/sse2-vec-3.c: Likewise.
      	* gcc.target/i386/sse2-vec-4.c: Likewise.
      	* gcc.target/i386/sse2-vec-5.c: Likewise.
      	* gcc.target/i386/sse2-vec-6.c: Likewise.
      
      From-SVN: r125063
      H.J. Lu committed
    • re PR c++/31431 (ICE with invalid parameter pack) · b1d7b1c0
      2007-05-25  Douglas Gregor <doug.gregor@gmail.com>
      
      	PR c++/31431
      	PR c++/31432
      	PR c++/31434
      	PR c++/31435
      	PR c++/31437
      	PR c++/31438
      	PR c++/31442
      	PR c++/31443
      	PR c++/31444
      	PR c++/31445
      	* error.c (dump_type): Dump TYPE_ARGUMENT_PACK nodes.
      	* cp-tree.h (check_for_bare_parameter_packs): Returns bool.
      	* pt.c (check_for_bare_parameter_packs): Return bool indicated
      	whether everything was okay. Fix indentation.
      	(push_template_decl_real): Check for bare parameter packs in
      	function parameters; where errors occur, mark the parameter types
      	with ERROR_MARK_NODEs to avert ICEs.
      	(coerce_template_parameter_pack): New.
      	(coerce_template_parms): Moved parameter pack coercion into
      	coerce_template_parameter_pack, and permit it anywhere in the
      	template parameter list (not just at the end). Parameter and
      	argument indices can vary (somewhat) separately now, so add
      	PARM_IDX and ARG_IDX.
      	(fn_type_unification): Don't set an argument pack as incomplete if
      	no argument pack was deduced.
      	(type_unification_real): If a type parameter is a parameter pack
      	and has not otherwise been deduced, it will be deduced to an empty
      	parameter pack.
      	(more_specialized_fn): Use the actual lengths of the argument
      	lists when comparing against expansions.
      	* semantics.c (finish_member_declaration): If a field's type has
      	bare parameter packs, error and set its type to ERROR_MARK_NODE.
      	
      2007-05-25  Douglas Gregor <doug.gregor@gmail.com>
      
      	PR c++/31431
      	PR c++/31432
      	PR c++/31434
      	PR c++/31435
      	PR c++/31437
      	PR c++/31438
      	PR c++/31442
      	PR c++/31443
      	PR c++/31444
      	PR c++/31445
      	* g++.dg/cpp0x/pr31431.C: New.
      	* g++.dg/cpp0x/pr31437.C: New.
      	* g++.dg/cpp0x/pr31442.C: New.
      	* g++.dg/cpp0x/pr31444.C: New.
      	* g++.dg/cpp0x/pr31431-2.C: New.
      	* g++.dg/cpp0x/pr31432.C: New.
      	* g++.dg/cpp0x/pr31434.C: New.
      	* g++.dg/cpp0x/pr31438.C: New.
      	* g++.dg/cpp0x/pr31443.C: New.
      	* g++.dg/cpp0x/pr31445.C: New.
      	* g++.dg/cpp0x/variadic-crash1.C: New.
      
      From-SVN: r125062
      Douglas Gregor committed
    • sse.md (*vec_extractv2di_1_sse2): Correct shift. · 77315816
      2007-05-25  H.J. Lu  <hongjiu.lu@intel.com>
      
      	* config/i386/sse.md (*vec_extractv2di_1_sse2): Correct shift.
      
      From-SVN: r125061
      H.J. Lu committed
    • arm-protos.h (arm_encode_call_attribute): Delete. · 25a65198
      gcc/
      	* config/arm/arm-protos.h (arm_encode_call_attribute): Delete.
      	(arm_is_longcall_p): Rename to...
      	(arm_is_long_call_p): ...this.  Take a single tree argument and
      	return a bool.
      	* config/arm/arm.h (CALL_SHORT, CALL_LONG, CALL_NORMAL): Delete.
      	(CUMULATIVE_ARGS): Remove call_cookie.
      	(SHORT_CALL_FLAG_CHAR, LONG_CALL_FLAG_CHAR, ENCODED_SHORT_CALL_ATTR_P)
      	(ENCODED_LONG_CALL_ATTR_P): Delete.
      	(ARM_NAME_ENCODING_LENGTHS): Remove SHORT_CALL_FLAG_CHAR and
      	LONG_CALL_FLAG_CHAR cases.
      	(ARM_DECLARE_FUNCTION_SIZE): Delete.
      	* config/arm/elf.h (ASM_DECLARE_FUNCTION_SIZE): Don't use
      	ARM_DECLARE_FUNCTION_SIZE.
      	* config/arm/arm.c (arm_init_cumulative_args): Don't set call_cookie.
      	(arm_function_arg): Return const0_rtx for VOIDmode arguments.
      	(arm_encode_call_attribute, current_file_function_operand): Delete.
      	(arm_function_in_section_p): New function.
      	(arm_is_longcall_p): Rename to...
      	(arm_is_long_call_p): ...this.  Take the target function as a single
      	argument and return a bool.  Do not rely on call cookies.  Check
      	whether the target symbol is in the same section as the current
      	function, not just the same compilation unit.
      	(arm_function_ok_for_sibcall): Use arm_is_long_call_p.
      	(arm_encode_section_info): Don't encode a call type.
      	* config/arm/arm.md (call, call_value): Update calls to
      	arm_is_long(_)call_p.  Simplify logic.
      	(*call_symbol, *call_value_symbol, *call_insn, *call_value_insn):
      	Update calls to arm_is_long(_)call_p.
      
      gcc/testsuite/
      	* gcc.target/arm/long-calls-1.c: New test.
      	* gcc.target/arm/long-calls-2.c: Likewise.
      	* gcc.target/arm/long-calls-3.c: Likewise.
      	* gcc.target/arm/long-calls-4.c: Likewise.
      
      From-SVN: r125060
      Richard Sandiford committed
    • c_locale.h (__convert_from_v): Fix typo. · aaee3e89
      2007-05-25  Paolo Carlini  <pcarlini@suse.de>
      
      	* config/locale/gnu/c_locale.h (__convert_from_v): Fix typo.
      
      From-SVN: r125059
      Paolo Carlini committed
    • re PR tree-optimization/31982 (Missed forw prop with indirect ref and addr. (and… · 88efe45a
      re PR tree-optimization/31982 (Missed forw prop with indirect ref and addr. (and char types or sizeof(type) == 1))
      
      2007-05-24  Richard Guenther  <rguenther@suse.de>
              Andrew Pinski  <andrew_pinski@playstation.sony.com>
      
      	PR tree-optimization/31982
      	* tree-ssa-forwprop.c
      	(forward_propagate_addr_into_variable_array_index): Handle arrays
      	with element size one.
      
      	* gcc.dg/tree-ssa/forwprop-2.c: New testcase.
      
      Co-Authored-By: Andrew Pinski <andrew_pinski@playstation.sony.com>
      
      From-SVN: r125058
      Richard Guenther committed
    • re PR fortran/32047 (ICE (segfault) for pure function without argument) · 36032710
      2007-05-25  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/32047
      	* trans-expr.c (gfc_apply_interface_mapping_to_expr): Change
      	order in logic under EXPR_FUNCTION to handle functions with
      	no arguments.
      
      2007-05-25  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/32047
      	* gfortran.dg/result_in_spec_2.f90: New test.
      
      From-SVN: r125057
      Paul Thomas committed