This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
:ADDPATCH fortran: This is an absolutely straight forward patch for two uncomplicated PRs: From 12.5.2.5: If the characteristics of the result of the function named in the ENTRY statement are the same as the characteristics of the result of the function named in the FUNCTION statement, their result variables identify the same variable, although their names need not be the same. Otherwise, they are storage associated and shall all be scalars without the POINTER attribute and one of the types: default integer, default real, double precision real, default complex, or default logical. This patch asserts that the array specifications must be the same for the characteristics to be the same. Regtested on AMD64/SUSE10.1 - OK for trunk and 4.1? Paul 2006-09-05 Paul Thomas <pault@gcc.gnu.org> PR fortran/25091 PR fortran/25092 * resolve.c (resolve_entries): It is an error if the entries of an array-valued function do not have the same shape. 2006-09-05 Paul Thomas <pault@gcc.gnu.org> PR fortran/25091 PR fortran/25092 * gfortran.dg/entry_array_specs_1.f90: New test.
Attachment:
pr25091.diff
Description: pr25091.diff
Attachment:
commit.msg
Description: commit.msg
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |