modula-2: Handle pass '-v' option to the compiler.
authorIain Sandoe <iain@sandoe.co.uk>
Thu, 12 Jan 2023 23:50:53 +0000 (23:50 +0000)
committerIain Sandoe <iain@sandoe.co.uk>
Fri, 13 Jan 2023 21:06:05 +0000 (21:06 +0000)
commit1a460d19ba0939e05b38befb6256f4f4bb416e0d
tree62fac3e3638a774180be3cef465a61ad7201fd1a
parentcf467fb93b7b92330ddcb9c8fe7c93df45ce8e40
modula-2: Handle pass '-v' option to the compiler.

Somehow this setting had been missed, and we really need the verbose
flag to enable useful debug output.

Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
gcc/m2/ChangeLog:

* gm2-gcc/m2options.h (M2Options_SetVerbose): Export the
function.
* gm2-lang.cc: Handle OPT_v, passing it to the compiler.
* lang-specs.h: Pass -v to cc1gm2.
gcc/m2/gm2-gcc/m2options.h
gcc/m2/gm2-lang.cc
gcc/m2/lang-specs.h