http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54709



--- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-09-26 
10:10:42 UTC ---

Turns out the location changes broke streamer_handle_as_builtin_p (which

uses broken predicates).  Testing



Index: tree-streamer.h

===================================================================

--- tree-streamer.h     (revision 191756)

+++ tree-streamer.h     (working copy)

@@ -57,10 +57,7 @@ struct streamer_tree_cache_d

 static inline bool

 streamer_handle_as_builtin_p (tree expr)

 {

-  return (TREE_CODE (expr) == FUNCTION_DECL

-         && DECL_IS_BUILTIN (expr)

-         && (DECL_BUILT_IN_CLASS (expr) == BUILT_IN_NORMAL

-             || DECL_BUILT_IN_CLASS (expr) == BUILT_IN_MD));

+  return (TREE_CODE (expr) == FUNCTION_DECL && DECL_BUILT_IN (expr));

 }



 /* In tree-streamer-in.c.  */



and reverting the original patch.

Reply via email to