aboutsummaryrefslogtreecommitdiff
path: root/gcc/passes.c
diff options
context:
space:
mode:
authorIain Sandoe <iain@codesourcery.com>2015-06-13 07:55:05 +0000
committerIain Sandoe <iains@gcc.gnu.org>2015-06-13 07:55:05 +0000
commit522b7b88b21334d7c88b6c3e87409e3abcc31306 (patch)
tree42bc6266f5230d71df85114d15bf1deca1332d24 /gcc/passes.c
parentfc1a3257ef98c85339c0d12ba2820b9076830f1e (diff)
downloadgcc-522b7b88b21334d7c88b6c3e87409e3abcc31306.zip
gcc-522b7b88b21334d7c88b6c3e87409e3abcc31306.tar.gz
gcc-522b7b88b21334d7c88b6c3e87409e3abcc31306.tar.bz2
re PR bootstrap/66448 (Bootstrap fails on darwin after r224161)
gcc: PR bootstrap/66448 * passes.c (rest_of_decl_compilation): Do not register globals for early debug if they are declared in built-ins. From-SVN: r224451
Diffstat (limited to 'gcc/passes.c')
-rw-r--r--gcc/passes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/passes.c b/gcc/passes.c
index d3ffe33..1bc8a36 100644
--- a/gcc/passes.c
+++ b/gcc/passes.c
@@ -332,7 +332,7 @@ rest_of_decl_compilation (tree decl,
*/
&& !decl_function_context (decl)
&& !current_function_decl
-
+ && DECL_SOURCE_LOCATION (decl) != BUILTINS_LOCATION
&& !decl_type_context (decl))
(*debug_hooks->early_global_decl) (decl);
}