This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch to categorize builtins.def
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- To: roger at eyesopen dot com
- Cc: gcc-patches at gcc dot gnu dot org, zack at codesourcery dot com
- Date: Sat, 2 Aug 2003 12:12:41 -0400 (EDT)
- Subject: Re: Patch to categorize builtins.def
- References: <Pine.LNX.4.44.0308020816580.16527-100000@www.eyesopen.com>
> 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