https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119769

James K. Lowden <jklowden at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from James K. Lowden <jklowden at gcc dot gnu.org> ---
Thank you for this PR.  It has been fixed as follows: 

commit be83dcb7ec7da087e7fb3493d200f87f3c7ba8e6 (HEAD -> parser)
Author: James K. Lowden <jklow...@cobolworx.com>
Date:   Wed May 7 11:42:25 2025 -0400

As of that commit, the above program compiles if this is the first line:

    >>COBOL-WORDS SUBSTITUTE BINARY-DOUBLE BY BINARY-C-LONG
 or
    >>COBOL-WORDS equate BINARY-DOUBLE with BINARY-C-LONG

depending on whether the meaning of BINARY-DOUBLE should be preserved. 

In general, it should be possible in gcobol to replace any ISO keyword with an
alias. Failure to do so is considered a bug.

Reply via email to