This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch to resort builtins
- From: "Zack Weinberg" <zack at codesourcery dot com>
- To: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 01 Aug 2003 10:17:18 -0700
- Subject: Re: Patch to resort builtins
- References: <200308011413.KAA21954@caip.rutgers.edu>
"Kaveh R. Ghazi" <ghazi@caip.rutgers.edu> writes:
> This patch fixes the remaining unsorted entries in builtins.def.
> This was a simple alphabetic sort on column 2.
>
> While all of the sorting is now pedantically correct, two of the fixes
> were perhaps arguable conceptually. I.e. splitting "_exit" from
> "exit" and moving atan[fl] below atan2. While I can see the argument
> for keeping _exit and exit paired, I feel the benefits of automated
> sorting outweigh that kind of stuff. E.g. we no longer make an
> attempt to keep all math builtins together or all stdio builtins
> together.
Agree.
> * builtins.def: Resort builtins.
OK.
It occurs to me that _Exit is in the implementation namespace, so
technically it was reserved by C90. This has nothing to do with your
patch, I just noticed it while looking through the file.