cfgexpand.c (gimple_expand_cfg): Discard the source location only for builtins that are not overridden.

* cfgexpand.c (gimple_expand_cfg): Discard the source location
only for builtins that are not overridden.

From-SVN: r148078
This commit is contained in:
Alexandre Oliva
2009-06-02 08:10:53 +00:00
committed by Alexandre Oliva
parent 1bcca2c5e6
commit fe8a77795a
2 changed files with 6 additions and 1 deletions

View 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

View 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)