Commit 1e1b8649 by Andrew Pinski Committed by Andrew Pinski

re PR target/17279 (internal compiler error with 128 bit integers)

2004-11-14  Andrew Pinski  <pinskia@physics.uc.edu>

        PR c/17279
        * c-common.c (c_common_nodes_and_builtins): Ask the back-end if we
        support TImode before adding __int128_t and __uint128_t types.

From-SVN: r90627
parent d6f6ef21
2004-11-14 Andrew Pinski <pinskia@physics.uc.edu>
PR c/17279
* c-common.c (c_common_nodes_and_builtins): Ask the back-end if we
support TImode before adding __int128_t and __uint128_t types.
2004-11-14 Dorit Naishlos <dorit@il.ibm.com>
PR tree-opt/18400
......
......@@ -2950,9 +2950,10 @@ c_common_nodes_and_builtins (void)
lang_hooks.decls.pushdecl (build_decl (TYPE_DECL, NULL_TREE,
intDI_type_node));
#if HOST_BITS_PER_WIDE_INT >= 64
lang_hooks.decls.pushdecl (build_decl (TYPE_DECL,
get_identifier ("__int128_t"),
intTI_type_node));
if (targetm.scalar_mode_supported_p (TImode))
lang_hooks.decls.pushdecl (build_decl (TYPE_DECL,
get_identifier ("__int128_t"),
intTI_type_node));
#endif
lang_hooks.decls.pushdecl (build_decl (TYPE_DECL, NULL_TREE,
unsigned_intQI_type_node));
......@@ -2963,9 +2964,10 @@ c_common_nodes_and_builtins (void)
lang_hooks.decls.pushdecl (build_decl (TYPE_DECL, NULL_TREE,
unsigned_intDI_type_node));
#if HOST_BITS_PER_WIDE_INT >= 64
lang_hooks.decls.pushdecl (build_decl (TYPE_DECL,
get_identifier ("__uint128_t"),
unsigned_intTI_type_node));
if (targetm.scalar_mode_supported_p (TImode))
lang_hooks.decls.pushdecl (build_decl (TYPE_DECL,
get_identifier ("__uint128_t"),
unsigned_intTI_type_node));
#endif
/* Create the widest literal types. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment