]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/c-family/c-common.h
langhooks-def.h (lhd_register_builtin_type): New function.
authorMark Mitchell <mark@codesourcery.com>
Tue, 9 Sep 2003 03:35:31 +0000 (03:35 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Tue, 9 Sep 2003 03:35:31 +0000 (03:35 +0000)
commit9649812aae971f307ade9756b14a1c961fbc8905
tree08059530952c2e25ede239ac8522a8acb81e71ee
parent11bf0eb0c73c713a4093fb456839c7dee7b8a722
langhooks-def.h (lhd_register_builtin_type): New function.

* langhooks-def.h (lhd_register_builtin_type): New function.
(LANG_HOOKS_REGISTER_BUILTIN_TYPE): New macro.
(LANG_HOOKS_FOR_TYPES_INITIALIZER): Update.
* langhooks.h (lang_hooks_for_types): Add register_builtin_type.
* langhooks.c (lhd_register_builtin_type): New function.
* c-common.h (c_register_builtin_type): Declare.
* c-common.c (c_register_builtin_type): New function.
* c-lang.c (LANG_HOOKS_REGISTER_BUILTIN_TYPE): Define to
c_register_builtin_type.
* config/ia64/hpux.h (TARGET_OS_CPP_BUILTINS): Remove __fpreg,
__float80, and __float128 macros.
* config/ia64/ia64.c (ia64_init_builtins): Create __fpreg,
__float80, and __float128 types.

* cp-lang.c (LANG_HOOKS_REGISTER_BUILTIN_TYPE): Define to
c_register_builtin_type.

* gcc.dg/ia64-types1.c: New test.
* gcc.dg/ia64-types2.c: Likewise.

From-SVN: r71227
14 files changed:
gcc/ChangeLog
gcc/c-common.c
gcc/c-common.h
gcc/c-lang.c
gcc/config/ia64/hpux.h
gcc/config/ia64/ia64.c
gcc/cp/ChangeLog
gcc/cp/cp-lang.c
gcc/langhooks-def.h
gcc/langhooks.c
gcc/langhooks.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/ia64-types1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/ia64-types2.c [new file with mode: 0644]