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 resort builtins


"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.


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