gnu /
gcc /
9c38d0a79caef1909df9f51ec8d17c5f8cfecabd [PATCH] PR modula2/118761: gm2 driver doesnt behave as gcc for -fhelp=BLA
This patch enables the gm2 driver to handle -fsyntax-only -fhelp=optimizers,
for example, correctly without terminating with gm2: fatal error:
no input files.
gcc/m2/ChangeLog:
PR modula2/118761
* gm2spec.cc (lang_specific_driver): Add case clauses for
OPT__help, OPT__help_ set in_added_libraries to 0 and early
return.
(cherry picked from commit 3c5422e719d1fbabccaa9b63605171ea8bdfe57e)
Signed-off-by: Gaius Mulley <gaiusmod2@gmail.com>
1 file changed