This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch to categorize builtins.def


 > From: Roger Sayle <roger@eyesopen.com>
 > 
 > The second problem is the clean-up of the "call when not optimizing
 > list", between lines 4893-4974 of builtins.c.  This list must contain
 > all the builtins in the switch statement between lines 5013-5485 that
 > exist in function call form.  Often builtins are added but forgetting
 > to add them to the "don't inline at -O0" clause.  For example, CABS!
 > Maintenance of this list is obviously easier if the sense is reversed,
 > which would also significantly shorten it.  i.e. we list the GCC_BUILTINs
 > that don't have fallbacks.  Forgetting to update the list in future
 > would then should up during testing as a failure, rather than a slower
 > compiler!

Why isn't this list exactly those builtins for which FALLBACK_P is
true vs false?  What exceptions to this exist?

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]