diff options
| author | eedelman <eedelman@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-03-10 23:28:38 +0000 |
|---|---|---|
| committer | eedelman <eedelman@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-03-10 23:28:38 +0000 |
| commit | d4ef6f9d08c4274bbd4946bc70f061865233365e (patch) | |
| tree | df22f386bb6af80823879f5088a1bd3c99fb5e8f /libjava/classpath/gnu/java/beans/decoder/ShortHandler.java | |
| parent | b3c9e878a88866f035822406f53ae9f5b165ce96 (diff) | |
| download | ppe42-gcc-d4ef6f9d08c4274bbd4946bc70f061865233365e.tar.gz ppe42-gcc-d4ef6f9d08c4274bbd4946bc70f061865233365e.zip | |
fortran/
2006-03-11 Erik Edelmann <eedelman@gcc.gnu.org>
* symbol.c (check_conflict): Allow allocatable function results,
except for elemental functions.
* trans-array.c (gfc_trans_allocate_temp_array): Rename to ...
(gfc_trans_create_temp_array): ... this, and add new argument callee_alloc.
(gfc_trans_array_constructor, gfc_conv_loop_setup): Update call
to gfc_trans_allocate_temp_array.
* trans-array.h (gfc_trans_allocate_temp_array): Update prototype.
* trans-expr.c (gfc_conv_function_call): Use new arg of
gfc_trans_create_temp_array avoid pre-allocation of temporary
result variables of pointer AND allocatable functions.
(gfc_trans_arrayfunc_assign): Return NULL for allocatable functions.
* resolve.c (resolve_symbol): Copy value of 'allocatable' attribute
from sym->result to sym.
testsuite/
2006-03-08 Paul Thomas <pault@gcc.gnu.org>
Erik Edelmann <eedelman@gcc.gnu.org>
* gfortran.dg/allocatable_function_1.f90: New.
* gfortran.dg/allocatable_function_2.f90: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111951 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/classpath/gnu/java/beans/decoder/ShortHandler.java')
0 files changed, 0 insertions, 0 deletions

