This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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] | |
Brian Barnes wrote:
However, in g77, the real*4 of the function was 'detected' and auto-promoted to real*8 in the subroutine.
Sorry, but you persist in ignoring the fact that g77 works this way only when using the f2c compatibility option, where function results are passed as C double, because that is the way C worked when f2c was first developed. g77 is not recognizing the source code error and correcting it; it just happens to work that way on the platforms and with the options you chose to use.
--
Richard Maine | Good judgment comes from experience;
Richard.Maine@nasa.gov | experience comes from bad judgment.
| -- Mark Twain| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |