genpreds.c (write_insn_extra_address_constraint): Argument `c' is operand of switch, not str[0].

* genpreds.c (write_insn_extra_address_constraint): Argument `c'
	is operand of switch, not str[0].

From-SVN: r112225
This commit is contained in:
David Edelsohn 2006-03-20 16:09:52 +00:00 committed by David Edelsohn
parent 2286285206
commit 7a22dbec36
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-03-20 David Edelsohn <edelsohn@gnu.org>
* genpreds.c (write_insn_extra_address_constraint): Argument `c'
is operand of switch, not str[0].
2006-03-20 Alan Modra <amodra@bigpond.net.au>
* config/rs6000/rs6000.c (rs6000_handle_option): Use

View File

@ -1088,7 +1088,7 @@ write_insn_extra_address_constraint (void)
puts ("bool\n"
"insn_extra_address_constraint (enum constraint_num c)\n"
"{\n"
" switch (str[0])\n"
" switch (c)\n"
" {");
FOR_ALL_CONSTRAINTS (c)