More strict checks for asm constraints

Jan Hubicka hubicka@atrey.karlin.mff.cuni.cz
Sun Oct 31 23:33:00 GMT 1999


> On Fri, Oct 29, 1999 at 10:33:56PM +0200, Jan Hubicka wrote:
> > > Don't you mean nalternatives == 1?
> > the nalternatives is set to number of alternatives minus 1 for some purpose
> > (number of ',' in string)
> 
> Ah, ok.
> 
> > (Do I need to remove those multiple '!' checks?)
> 
> I guess not.
In meantime I found another occourence of '!' in reload1.c
      while (*p != '\0')
        {
          char c = *p++;
          if (c == ',')
            j++;
          else if (c == '?')
            alternative_reject[j] += 3;
          else if (c == '!')
            alternative_reject[j] += 300;
        }
Here multiple '!' does count.
Isn't there a typo in reload in the first '!' handling code?
(I am far from beging able to understand how reload works)

Very side note: I've just digged out some of my older reg-stack work
and it contains pretty nive (IMO) change that as side effect does
the trick with internal loops you suggested. So please don't do
much work in this patch. I am just hunting one abort in testsuite
before I send it.

Thank you 
Honza
> 
> 
> r~

-- 
                       OK. Lets make a signature file.
+-------------------------------------------------------------------------+
|        Jan Hubicka (Jan Hubi\v{c}ka in TeX) hubicka@freesoft.cz         |
|         Czech free software foundation: http://www.freesoft.cz          |
|AA project - the new way for computer graphics - http://www.ta.jcu.cz/aa |
|  homepage: http://www.paru.cas.cz/~hubicka/ , games koules, Xonix, fast  |
|  fractal zoomer XaoS, index of Czech GNU/Linux/UN*X documentation etc.  | 
+-------------------------------------------------------------------------+



More information about the Gcc-patches mailing list