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] | |
Hi,
This example code defines a couple short strings and hands it to a
subroutine that takes longer strings. A certain other commercial
compiler Intel flagged it as an error. Gfortran did not flag a warning
or an error.
1. Is this truly invalid code?
2. Does/Is there a way to make - gfortran flag an error?
When I checked on a gcc mainline build it went through without a
hitch.
A certain other commercial compiler (Intel) flagged it as an error.
3. Language related: Is there a better way to convert cases in Fortran
these days?
Thanks,
Ed Smith-Rowland
Attachment:
GETLWR.FOR
Description: GETLWR.FOR
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |