public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Difference between {expand,fold,simplify}_builtin_foo ???
@ 2004-09-20 18:29 Kaveh R. Ghazi
  2004-09-20 18:38 ` Eric Christopher
  2004-09-20 18:45 ` Jeffrey A Law
  0 siblings, 2 replies; 9+ messages in thread
From: Kaveh R. Ghazi @ 2004-09-20 18:29 UTC (permalink / raw)
  To: gcc

I've been out of GCC most of the summer, so I don't know if this was
discussed or not.  I was wondering what's the reason for and
difference between {expand,fold,simplify}_builtin_foo().

Looking at e.g. expand_builtin_sprintf and simplify_builtin_sprintf,
they seem to do exactly the same transformations.  Can we just have
expand_builtin_sprintf call simplify_builtin_sprintf and then expand
the result?  This would remove lots of code duplication and potential
locations of errors.

		Thanks,
		--Kaveh
--
Kaveh R. Ghazi			ghazi@caip.rutgers.edu

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2004-09-22 16:53 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-20 18:29 Difference between {expand,fold,simplify}_builtin_foo ??? Kaveh R. Ghazi
2004-09-20 18:38 ` Eric Christopher
2004-09-20 19:51   ` Kaveh R. Ghazi
2004-09-22  6:04     ` Eric Christopher
2004-09-22 17:34       ` Richard Henderson
2004-09-20 18:45 ` Jeffrey A Law
2004-09-20 20:04   ` Kaveh R. Ghazi
2004-09-21  7:53     ` Jeffrey A Law
2004-09-22  9:38       ` Roger Sayle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).