From: Alexandre Oliva Date: Tue, 2 Jun 2009 08:10:53 +0000 (+0000) Subject: cfgexpand.c (gimple_expand_cfg): Discard the source location only for builtins that... X-Git-Tag: releases/gcc-4.5.0~5429 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fe8a77795ad17af6538796266edf9a04b54b2f34;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a58b9f1cd36e..153046d5d045 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2009-06-02 Alexandre Oliva + + * cfgexpand.c (gimple_expand_cfg): Discard the source location + only for builtins that are not overridden. + 2009-06-02 Alexandre Oliva * gengtype.c (adjust_field_rtx_def): Add NOTE_INSN_DELETED_LABEL's diff --git a/gcc/cfgexpand.c b/gcc/cfgexpand.c index 65a13de8a3d8..31d346e6cb30 100644 --- a/gcc/cfgexpand.c +++ b/gcc/cfgexpand.c @@ -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)