This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[lto][patch] s/DECL_IS_BUILTIN/DECL_BUILT_IN/
- From: Rafael Espindola <espindola at google dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Cc: Diego Novillo <dnovillo at google dot com>
- Date: Wed, 24 Dec 2008 17:57:23 +0000
- Subject: [lto][patch] s/DECL_IS_BUILTIN/DECL_BUILT_IN/
__gxx_personality_v0 is DECL_IS_BUILTIN but not DECL_BUILT_IN, so we
want to use DECL_BUILT_IN.
2008-12-24 Rafael Avila de Espindola <espindola@google.com>
* lto-section-out.c (write_symbol_vec): Use DECL_BUILT_IN instead of
DECL_IS_BUILTIN.
Cheers,
--
Rafael Avila de Espindola
Google | Gordon House | Barrow Street | Dublin 4 | Ireland
Registered in Dublin, Ireland | Registration Number: 368047
diff --git a/gcc/lto-section-out.c b/gcc/lto-section-out.c
index dc121cf..69cd46f 100644
--- a/gcc/lto-section-out.c
+++ b/gcc/lto-section-out.c
@@ -1078,7 +1078,7 @@ write_symbol_vec (htab_t hash, struct lto_output_stream *stream,
if (!TREE_PUBLIC (t))
continue;
- if (DECL_IS_BUILTIN (t))
+ if (DECL_BUILT_IN (t))
continue;
gcc_assert (!DECL_ABSTRACT (t));