From c3771ec9d5d1a86cf591ccdc286261b5d9f6b0d6 Mon Sep 17 00:00:00 2001 From: aoliva Date: Tue, 2 Jun 2009 08:10:53 +0000 Subject: [PATCH] * cfgexpand.c (gimple_expand_cfg): Discard the source location only for builtins that are not overridden. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148078 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 5 +++++ gcc/cfgexpand.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a58b9f1..153046d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 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 label string. diff --git a/gcc/cfgexpand.c b/gcc/cfgexpand.c index 65a13de..31d346e 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) -- 2.7.4