mirror of git://gcc.gnu.org/git/gcc.git
genpreds.c (write_lookup_constraint): Do not compare first letter of the constraint again.
2013-02-20 Richard Biener <rguenther@suse.de> * genpreds.c (write_lookup_constraint): Do not compare first letter of the constraint again. From-SVN: r196167
This commit is contained in:
parent
79836a12e3
commit
71a86758d5
|
|
@ -1,3 +1,8 @@
|
||||||
|
2013-02-20 Richard Biener <rguenther@suse.de>
|
||||||
|
|
||||||
|
* genpreds.c (write_lookup_constraint): Do not compare first
|
||||||
|
letter of the constraint again.
|
||||||
|
|
||||||
2013-02-20 Richard Biener <rguenther@suse.de>
|
2013-02-20 Richard Biener <rguenther@suse.de>
|
||||||
|
|
||||||
* tree-ssa-loop-ivopts.c (alloc_use_cost_map): Use bitmap_count_bits
|
* tree-ssa-loop-ivopts.c (alloc_use_cost_map): Use bitmap_count_bits
|
||||||
|
|
|
||||||
|
|
@ -945,9 +945,10 @@ write_lookup_constraint (void)
|
||||||
{
|
{
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
printf (" if (!strncmp (str, \"%s\", %lu))\n"
|
printf (" if (!strncmp (str + 1, \"%s\", %lu))\n"
|
||||||
" return CONSTRAINT_%s;\n",
|
" return CONSTRAINT_%s;\n",
|
||||||
c->name, (unsigned long int) c->namelen, c->c_name);
|
c->name + 1, (unsigned long int) c->namelen - 1,
|
||||||
|
c->c_name);
|
||||||
c = c->next_this_letter;
|
c = c->next_this_letter;
|
||||||
}
|
}
|
||||||
while (c);
|
while (c);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue