Sanity check that 'Init' doesn't appear without 'Var' in '*.opt' files
authorThomas Schwinge <thomas@codesourcery.com>
Tue, 3 Aug 2021 12:59:56 +0000 (14:59 +0200)
committerThomas Schwinge <thomas@codesourcery.com>
Mon, 9 Aug 2021 11:38:14 +0000 (13:38 +0200)
commitc5230519305946338ddc7107ce45c740812142b4
tree5af9afbfb8c76d4c3492bbb12bd74be6898923f3
parent06870af3e48daf523a973981f053ee5c6f44c871
Sanity check that 'Init' doesn't appear without 'Var' in '*.opt' files

... as that doesn't make sense.

    @item Init(@var{value})
    The variable specified by the @code{Var} property should be statically
    initialized to @var{value}.  [...]

gcc/
* optc-gen.awk: Sanity check that 'Init' doesn't appear without
'Var'.
gcc/optc-gen.awk