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

--- Comment #5 from Simon Sobisch <simonsobisch at gnu dot org> ---
I possibly need to wait one day more (just tested with the godbolt snapshot
from yesterday)... but there:

* compiles as expected with dialects gnu and mf
* raises the same error message without dialect or with dialect ibm

I _think_ all dialects that support USAGE COMP-X (ibm "alone" - no other
stacking dialects used should not support that, but then there's still the
"internal gcobol dialect" used) should also support PIC X for it.

For COMP-5 this should only be allowed depending on the dialect, as it is now.

But this goes down to the question if/how dialect support including reserved
words is done... not not the need to compile valid code like that with the
expected dialect.
Therefore fell free to close this issue as resolved.

Reply via email to