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

Iain Sandoe <iains at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |iains at gcc dot gnu.org

--- Comment #2 from Iain Sandoe <iains at gcc dot gnu.org> ---
We do claim the ones that modula-2 actually uses in gm2-lang.opt

(previous to r13-5373-g80cf2c5e8f496b we had a large and growing set to
accommodate everything that the preprocessor needs).

Because of that growing number of added options, this change was made
intentionally... the idea was to claim and act on the C and Driver ones that
are used to construct C-preprocessor command lines as an action separate from
handling the Modula-2 options.

IIUC, the mechanism of adding them to the language opt is a convention rather
than a correctness issue?

Or is it that we should reject rather than ignoring the options that we do not
pass to the preprocessor?

(I can revert to adding everything to the gm2-lang.opt .. it just seemed a bit
hacky)

Reply via email to