aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran
diff options
context:
space:
mode:
authorIain Sandoe <iain@sandoe.co.uk>2023-01-26 13:49:11 +0000
committerIain Sandoe <iain@sandoe.co.uk>2023-01-27 08:48:20 +0000
commit83979240c072599bc8595a9324c3f4371eedbc7c (patch)
tree9cac130fe9bf70cc1e92ef9556e5e370ebac0bc3 /gcc/fortran
parentd1e0575fdc9216f96c4f88f9f41a25b854300c0b (diff)
downloadgcc-83979240c072599bc8595a9324c3f4371eedbc7c.zip
gcc-83979240c072599bc8595a9324c3f4371eedbc7c.tar.gz
gcc-83979240c072599bc8595a9324c3f4371eedbc7c.tar.bz2
Modula-2: Add claimed command line options to lang.opt [PR108555].
This is a partial reversion of the changes in r13-5373-g80cf2c5e8f496b. As observed in the PR, handling the C and Driver options in the Modula-2 lang-specific code could be difficult to emulate; This reverts to adding the required options to the language-specific .opt file. Signed-off-by: Iain Sandoe <iain@sandoe.co.uk> PR modula2/108555 PR modula2/108182 PR modula2/102343 gcc/m2/ChangeLog: * gm2-lang.cc (gm2_langhook_option_lang_mask): Do not claim CL_C or CL_DRIVER. (gm2_langhook_init_options): Handle options that we want to pass to the preprocessor. * lang-specs.h: Pass -B and -save-temps to regular compile lines. * lang.opt: Add C and Driver options that Modula-2 intercepts for internal use. Reorder options into two sections and to collate.
Diffstat (limited to 'gcc/fortran')
0 files changed, 0 insertions, 0 deletions