PATCH RFC: stdio optimization [take 2]

Jeffrey A Law law@cygnus.com
Tue Jan 4 10:15:00 GMT 2000


  In message < 200001041753.MAA10935@caip.rutgers.edu >you write:
  >  > 
  >  > First I assume you need to detect when the return value is unused at the
  >  > tree level?  If so, look and see under what conditions expand_call is ca
  > lled
  >  > with the IGNORE as nonzero and trace how that decision is made (probably
  >  > in expand_expr).
  > 
  > Wait, I think I'm being dense. :-)
  > 
  > Isn't one of the parameters to expand_builtin() the `ignore' status?
It appears that is the case.  I didn't look last night, it was late :-)

  > I can pass that along to my expand_builtin_<whatever>() functions and
  > use that, right?
I can't think of a reason why not.

I like problems with simple solutions :-)

jeff



More information about the Gcc-patches mailing list