]> git.ipfire.org Git - thirdparty/gcc.git/commit
builtins.def [...]: Require an explicit ATTRS argument.
authorRoger Sayle <roger@eyesopen.com>
Sun, 28 Jul 2002 05:34:04 +0000 (05:34 +0000)
committerRoger Sayle <sayle@gcc.gnu.org>
Sun, 28 Jul 2002 05:34:04 +0000 (05:34 +0000)
commitc2ef6d3492e6841875485f2923ee810f7c7ae5b8
tree850b5f5119ae8b60afcf7ed0d5c22ef3359f5ac8
parent52bfebf09121f90fb62f448ccb817ce9208d8f24
builtins.def [...]: Require an explicit ATTRS argument.

* builtins.def [DEF_GCC_BUILTIN]: Require an explicit ATTRS
argument.  Mark BUILT_IN_RETURN, BUILT_IN_EH_RETURN,
BUILT_IN_LONGJMP and BUILT_IN_TRAP as noreturn, the ISO C99
floating point unordered comparisons (e.g. __builtin_isgreater)
as const, and leave the remaining GCC_BUILTINs unchanged.

* c-decl.c (builtin_function): No need to explicitly mark
BUILT_IN_RETURN and BUILT_IN_EH_RETURN as noreturn.

* cp/decl.c (builtin_function_1): No need to explicitly mark
BUILT_IN_RETURN and BUILT_IN_EH_RETURN as noreturn.

From-SVN: r55805
gcc/ChangeLog
gcc/builtins.def
gcc/c-decl.c
gcc/cp/ChangeLog
gcc/cp/decl.c