Commit fe8a7779 by Alexandre Oliva Committed by Alexandre Oliva

cfgexpand.c (gimple_expand_cfg): Discard the source location only for builtins…

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
parent 1bcca2c5
2009-06-02 Alexandre Oliva <aoliva@redhat.com> 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 * gengtype.c (adjust_field_rtx_def): Add NOTE_INSN_DELETED_LABEL's
label string. label string.
......
...@@ -2438,7 +2438,7 @@ gimple_expand_cfg (void) ...@@ -2438,7 +2438,7 @@ gimple_expand_cfg (void)
rtl_profile_for_bb (ENTRY_BLOCK_PTR); rtl_profile_for_bb (ENTRY_BLOCK_PTR);
insn_locators_alloc (); 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. */ /* Eventually, all FEs should explicitly set function_start_locus. */
if (cfun->function_start_locus == UNKNOWN_LOCATION) if (cfun->function_start_locus == UNKNOWN_LOCATION)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment