summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authoraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>2009-06-02 08:10:53 +0000
committeraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>2009-06-02 08:10:53 +0000
commitc3771ec9d5d1a86cf591ccdc286261b5d9f6b0d6 (patch)
tree831ba992cdaa5ca1ac612889d1bf9edd11bd2215 /gcc
parentd5b1913542065b28d14e32b427bb95a4aeea37df (diff)
downloadgcc-c3771ec9d5d1a86cf591ccdc286261b5d9f6b0d6.tar.gz
* 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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/cfgexpand.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a58b9f1cd36..153046d5d04 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
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
label string.
diff --git a/gcc/cfgexpand.c b/gcc/cfgexpand.c
index 65a13de8a3d..31d346e6cb3 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)