Skip to content
Snippets Groups Projects
  1. Jan 22, 2006
  2. Jan 16, 2006
  3. Jan 12, 2006
  4. Jan 07, 2006
    • Paul Thomas's avatar
      re PR fortran/22146 (ICE when calling ELEMENTAL subroutines) · 48474141
      Paul Thomas authored
      2006-01-07  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/22146
      	* trans-array.c (gfc_reverse_ss): Remove static attribute.
      	(gfc_walk_elemental_function_args): Replace gfc_expr * argument for
      	the function call with the corresponding gfc_actual_arglist*.  Change
      	code accordingly.
      	(gfc_walk_function_expr): Call to gfc_walk_elemental_function_args
      	now requires the actual argument list instead of the expression for
      	the function call.
      	* trans-array.h: Modify the prototype for gfc_walk_elemental_function_args
      	and provide a prototype for gfc_reverse_ss.
      	* trans-stmt.h (gfc_trans_call): Add the scalarization code for the case
      	where an elemental subroutine has array valued actual arguments.
      
      	PR fortran/25029
      	PR fortran/21256
      	PR fortran/20868
      	PR fortran/20870
      	* resolve.c (check_assumed_size_reference): New function to check for upper
      	bound in assumed size array references.
      	(resolve_assumed_size_actual): New function to do a very restricted scan
      	of actual argument expressions of those procedures for which incomplete
      	assumed size array references are not allowed.
      	(resolve_function, resolve_call): Switch off assumed size checking of
      	actual arguments, except for elemental procedures and intrinsic
      	inquiry functions, in some circumstances.
      	(resolve_variable): Call check_assumed_size_reference.
      
      2006-01-07  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/22146
      	* gfortran.dg/elemental_subroutine_1.f90: New test.
      	* gfortran.dg/elemental_subroutine_2.f90: New test.
      
      	PR fortran/25029
      	PR fortran/21256
      	* gfortran.dg/assumed_size_refs_1.f90: New test.
      
      	PR fortran/20868
      	PR fortran/20870
      	* gfortran.dg/assumed_size_refs_2.f90: New test.
      	* gfortran.dg/initialization_1.f90: Change warning message.
      
      From-SVN: r109449
      48474141
  5. Jan 05, 2006
  6. Jan 04, 2006
  7. Jan 03, 2006
  8. Dec 27, 2005
  9. Dec 15, 2005
  10. Dec 13, 2005
  11. Dec 12, 2005
  12. Dec 10, 2005
  13. Dec 07, 2005
  14. Nov 08, 2005
  15. Nov 06, 2005
  16. Oct 24, 2005
  17. Oct 18, 2005
  18. Oct 15, 2005
  19. Oct 05, 2005
  20. Sep 16, 2005
  21. Aug 22, 2005
  22. Aug 18, 2005
  23. Aug 15, 2005
  24. Aug 12, 2005
  25. Jul 28, 2005
  26. Jul 21, 2005
  27. Jul 20, 2005
  28. Jul 15, 2005
  29. Jul 07, 2005
  30. Jul 01, 2005
  31. Jun 13, 2005
  32. Jun 08, 2005
  33. Jun 04, 2005
  34. Jun 02, 2005
  35. Jun 01, 2005
  36. May 27, 2005
Loading