opt-functions.awk (global_state_p, [...]): New.
authorRichard Sandiford <richard@codesourcery.com>
Tue, 14 Jun 2005 14:37:49 +0000 (14:37 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Tue, 14 Jun 2005 14:37:49 +0000 (14:37 +0000)
commitee133b6978ba42e5b2b1f91ae0fa000bdc4686c1
tree7e6e307d1535c560e0c4c03640939d48c37b0da8
parentefe4c4e7d2e0e003177382034a65384a8ad1ce42
opt-functions.awk (global_state_p, [...]): New.

* opt-functions.awk (global_state_p, needs_state_p, static_var): New.
(var_ref): Take the option's flags as a second parameter.  Check
static_var.
* optc-gen.awk: Declare local state variables.  Pass flags to var_ref.

From-SVN: r100937
gcc/ChangeLog
gcc/opt-functions.awk
gcc/optc-gen.awk