]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
cfgexpand.c (gimple_expand_cfg): Discard the source location only for builtins that...
authorAlexandre Oliva <aoliva@redhat.com>
Tue, 2 Jun 2009 08:10:53 +0000 (08:10 +0000)
committerAlexandre Oliva <aoliva@gcc.gnu.org>
Tue, 2 Jun 2009 08:10:53 +0000 (08:10 +0000)
* cfgexpand.c (gimple_expand_cfg): Discard the source location
only for builtins that are not overridden.

From-SVN: r148078

gcc/ChangeLog
gcc/cfgexpand.c

index a58b9f1cd36ed2d7acf1d23cb49b6a01cc6333fa..153046d5d04505b5afc912bef62c8cb816fffb69 100644 (file)
@@ -1,3 +1,8 @@
+2009-06-02  Alexandre Oliva  <aoliva@redhat.com>
+
+       * cfgexpand.c (gimple_expand_cfg): Discard the source location
+       only for builtins that are not overridden.
+
 2009-06-02  Alexandre Oliva  <aoliva@redhat.com>
 
        * gengtype.c (adjust_field_rtx_def): Add NOTE_INSN_DELETED_LABEL's
index 65a13de8a3d85bda22f4fad8a0d180f57f853f40..31d346e6cb30be6721d30dde3de144c3d827077d 100644 (file)
@@ -2438,7 +2438,7 @@ gimple_expand_cfg (void)
   rtl_profile_for_bb (ENTRY_BLOCK_PTR);
 
   insn_locators_alloc ();
-  if (!DECL_BUILT_IN (current_function_decl))
+  if (!DECL_IS_BUILTIN (current_function_decl))
     {
       /* Eventually, all FEs should explicitly set function_start_locus.  */
       if (cfun->function_start_locus == UNKNOWN_LOCATION)