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

--- Comment #2 from Simon Sobisch <simonsobisch at gnu dot org> ---
This issue keep up popping in each test run :-/

Current output of

gcobc --debug -fno-ec=DATA-INCOMPATIBLE -fno-ec=PROGRAM-ARG-MISMATCH
-fno-ec=PROGRAM-ARG-OMITTED 

warning: --debug implies -fstack-check: ignored
cobol1: sorry, unimplemented: exception 'EC-DATA-INCOMPATIBLE'
cobol1: sorry, unimplemented: CDF: exception 'EC-DATA-INCOMPATIBLE'
cobol1: sorry, unimplemented: exception 'EC-PROGRAM-ARG-MISMATCH'
cobol1: sorry, unimplemented: CDF: exception 'EC-PROGRAM-ARG-MISMATCH'
cobol1: sorry, unimplemented: exception 'EC-PROGRAM-ARG-OMITTED'
cobol1: sorry, unimplemented: CDF: exception 'EC-PROGRAM-ARG-OMITTED'

* duplicate messages
* in case of _disabling_ this should never be an error, because if the user
wants to disable something you don't know and therefore not activated in the
first place, then there is no reason to abort the compilation (compare with
-Wno-banana - that you commonly don't even see warned on)
* this should be a warning in the first place, not an error (ISO keeps adding
more exceptions and there are also non-standard ones, and you likely don't
handle "everything" over the next months in any case)

Reply via email to