aboutsummaryrefslogtreecommitdiff
path: root/gcc/cfgexpand.c
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2009-06-02 08:10:53 +0000
committerAlexandre Oliva <aoliva@gcc.gnu.org>2009-06-02 08:10:53 +0000
commitfe8a77795ad17af6538796266edf9a04b54b2f34 (patch)
tree831ba992cdaa5ca1ac612889d1bf9edd11bd2215 /gcc/cfgexpand.c
parent1bcca2c5e6a6e5a0de76b1d379c6fbec21abb20e (diff)
downloadgcc-fe8a77795ad17af6538796266edf9a04b54b2f34.zip
gcc-fe8a77795ad17af6538796266edf9a04b54b2f34.tar.gz
gcc-fe8a77795ad17af6538796266edf9a04b54b2f34.tar.bz2
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
Diffstat (limited to 'gcc/cfgexpand.c')
-rw-r--r--gcc/cfgexpand.c2
1 files changed, 1 insertions, 1 deletions
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)