[PATCH] options: Fix variable tracking option processing.

Martin Liška mliska@suse.cz
Thu Oct 21 13:14:02 GMT 2021


On 10/21/21 11:57, Richard Biener wrote:
> which previously affected debug_nonbind_markers_p.  I think it makes
> sense to move
> the above to finish_options as well.  I suppose -help doesn't correctly dump
> the -g enabled state for -gtoggle at the moment?

All right, works for me. The updated patch was tested on nvptx cross compiler
and can bootstrap on x86_64-linux-gnu and survives regression tests.

The -g option is showed in -Q --help=common as:

   -g                          		

So no option value is displayed.

Is the patch fine now?
Thanks,
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-options-Fix-variable-tracking-option-processing.patch
Type: text/x-patch
Size: 5877 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20211021/a7360942/attachment.bin>


More information about the Gcc-patches mailing list