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]

[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));

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