[fortran, patch] Make VOLATILE conflict with program name

Tobias Burnus burnus@net-b.de
Mon Nov 20 19:07:00 GMT 2006


:ADDPATCH fortran:

currently, one can write:
  program test
    volatile :: test
which does not make much sense.

Added patch adds conf(volatile_) to:
    case FL_PROGRAM:
    case FL_BLOCK_DATA:
    case FL_MODULE:
    case FL_LABEL:

Ok for the trunk?
Regtested on x86_64-unknown-linux-gnu

Tobias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: volatile-conf.diff
Type: text/x-patch
Size: 1351 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20061120/80bbc181/attachment.bin>


More information about the Gcc-patches mailing list