1. 08 Sep, 2005 10 commits
    • re PR fortran/15326 ([4.0 only] ICE with assumed length character strings) · 0348d6fd
      	PR fortran/15326
      	* trans-array.c (gfc_add_loop_ss_code): Set ss->string_length in
      	the GFC_SS_FUNCTION case too.
      	* trans-expr.c (gfc_conv_function_val): Allow symbols to be bound
      	to function pointers as well as function decls.
      	(gfc_interface_sym_mapping, gfc_interface_mapping): New structures.
      	(gfc_init_interface_mapping, gfc_free_interface_mapping)
      	(gfc_get_interface_mapping_charlen, gfc_get_interface_mapping_array)
      	(gfc_set_interface_mapping_bounds, gfc_add_interface_mapping)
      	(gfc_finish_interface_mapping, gfc_apply_interface_mapping_to_cons)
      	(gfc_apply_interface_mapping_to_ref)
      	(gfc_apply_interface_mapping_to_expr)
      	(gfc_apply_interface_mapping): New functions.
      	(gfc_conv_function_call): Evaluate the arguments before working
      	out where the result should go.  Make the null pointer case provide
      	the string length in parmse.string_length.  Cope with non-constant
      	string lengths, using the above functions to evaluate such lengths.
      	Use a temporary typespec; don't assign to sym->cl->backend_decl.
      	Don't assign to se->string_length when returning a cached array
      	descriptor.
      
      From-SVN: r104040
      Richard Sandiford committed
    • tree-vrp.c (extract_range_from_unary_expr): Do not set the range for the result… · 5c9186ce
      tree-vrp.c (extract_range_from_unary_expr): Do not set the range for the result of a conversion if...
      
      	* tree-vrp.c (extract_range_from_unary_expr): Do not set the range for
      	the result of a conversion if the new min and max cannot be compared.
      
      From-SVN: r104036
      Eric Botcazou committed
    • re PR fortran/19928 (Reference of constant derived type component causes failure) · 068e7338
      	PR fortran/19928
      	* trans-array.c (gfc_conv_array_ref): Call gfc_advance_se_ss_chain
      	after handling scalarized references.  Make "indexse" inherit from
      	"se" when handling AR_ELEMENTs.
      	(gfc_walk_variable_expr): Add GFC_SS_SCALAR entries for each
      	substring or scalar reference that follows an array section.
      	* trans-expr.c (gfc_conv_variable): When called from within a
      	scalarization loop, start out with "ref" pointing to the scalarized
      	part of the reference.  Don't call gfc_advance_se_ss_chain here.
      
      From-SVN: r104035
      Richard Sandiford committed
    • s390.c (s390_sr_alias_set): Variable removed. · dcc9eb26
      2005-09-08  Andreas Krebbel  <krebbel1@de.ibm.com>
      
      	* config/s390/s390.c (s390_sr_alias_set): Variable removed.
      	(override_options): Setting s390_sr_alias_set removed.
      	(save_fpr, save_gprs): Set alias set to vararg or frame.
      	(restore_fpr, restore_gprs, s390_emit_prologue): Replace
      	s390_sr_alias_set with get_frame_alias_set ().
      	(s390_gimplify_va_arg): Replace s390_sr_alias_set with
      	get_varargs_alias_set ().
      
      From-SVN: r104034
      Andreas Krebbel committed
    • re PR objc++/16816 (obj-c++ parser error with multi-colon selectors) · d95036e3
      2005-09-08  Andrew Pinski  <pinskia@physics.uc.edu>
      
              PR obj-c++/16816
              * obj-c++.dg/selector-5.mm: New test.
              * obj-c++.dg/selector-6.mm: New test.
      2005-09-08  Andrew Pinski  <pinskia@physics.uc.edu>
      
              PR obj-c++/16816
              * parser.c (cp_parser_objc_selector_expression): Treat CPP_SCOPE as
              two CPP_COLON.
      
      From-SVN: r104033
      Andrew Pinski committed
    • re PR objc/20574 (weird error message after a parse error) · 8f078c08
      2005-09-08  Andrew Pinski  <pinskia@physics.uc.edu>
      
              PR objc/20574
              PR objc/19324
              * c-parser.c (c_parser_objc_method_definition): If the next
              token is not "{", error out and don't start the function.
      
      2005-09-08  Andrew Pinski  <pinskia@physics.uc.edu>
      
              PR objc/20574
              PR objc/19324
              * objc.dg/error-1.m: New test.
      
      From-SVN: r104032
      Andrew Pinski committed
    • re PR fortran/23373 ([4.0 only] Functions returning pointers with pointer argument) · 8aeca7fd
      	PR fortran/23373
      	* trans-expr.c (gfc_trans_pointer_assignment): Assign to a temporary
      	descriptor if the rhs is not a null pointer or variable.
      
      From-SVN: r104029
      Richard Sandiford committed
    • re PR libfortran/23760 (gfortran incorrectly succeeds on record overflow) · 5e949d83
      2005-09-07  Jerry DeLisle  <jvdelisle@verizon.net>
      
      	PR libfortran/23760
      	* gfortran.dg/g77/1832.f: Remove long string in write statement
      	to allow the test to pass on correct list directed output with
      	prepended space.
      
      From-SVN: r104027
      Jerry DeLisle committed
    • Fix xscale-elf gcc testsuite failure. · 1da2e496
      * gcc.dg/intmax_t-1.c: Disable for xscale*-*-elf*.
      
      From-SVN: r104022
      James E Wilson committed
    • Daily bump. · 63899304
      [[Split portion of a mixed commit.]]
      
      From-SVN: r104019.2
      GCC Administrator committed
  2. 07 Sep, 2005 14 commits
  3. 06 Sep, 2005 16 commits