summaryrefslogtreecommitdiffstats
path: root/gcc/fortran/gfortran.h
diff options
context:
space:
mode:
authorpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>2009-07-05 19:13:59 +0000
committerpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>2009-07-05 19:13:59 +0000
commit88a37d69d9f4acebdb312422aca037999d333638 (patch)
tree53147f2f5ff93fd4abca3507298b728daf3384dc /gcc/fortran/gfortran.h
parent9cfe21228c5c9f41cf63df565f91071bf34c5405 (diff)
downloadppe42-gcc-88a37d69d9f4acebdb312422aca037999d333638.tar.gz
ppe42-gcc-88a37d69d9f4acebdb312422aca037999d333638.zip
2009-07-05 Paul Thomas <pault@gcc.gnu.org>
and Tobias Burnus <burnus@gcc.gnu.org> PR fortran/40646 * gfortran.h : Change the compcall member of the 'value' union in the gfc_expr structure so that its fields overlap with the 'function' member. * resolve.c (resolve_compcall): Set the function.esym. * trans-expr.c (gfc_trans_arrayfunc_assign): Use is_proc_ptr_comp in the condition. * dependency.c (gfc_full_array_ref_p): Ensure that 'contiguous' retunrs a value if non-NULL. 2009-07-05 Paul Thomas <pault@gcc.gnu.org> and Tobias Burnus <burnus@gcc.gnu.org> PR fortran/40646 * gfortran.dg/func_assign_3.f90 : New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149262 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fortran/gfortran.h')
-rw-r--r--gcc/fortran/gfortran.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/fortran/gfortran.h b/gcc/fortran/gfortran.h
index 67127419b00..260d718b13c 100644
--- a/gcc/fortran/gfortran.h
+++ b/gcc/fortran/gfortran.h
@@ -1678,8 +1678,9 @@ typedef struct gfc_expr
struct
{
gfc_actual_arglist* actual;
- gfc_typebound_proc* tbp;
const char* name;
+ void* padding; /* Overlap gfc_typebound_proc with esym. */
+ gfc_typebound_proc* tbp;
}
compcall;
OpenPOWER on IntegriCloud