From: Iain Sandoe Date: Sat, 13 Jun 2015 07:55:05 +0000 (+0000) Subject: re PR bootstrap/66448 (Bootstrap fails on darwin after r224161) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=522b7b88b21334d7c88b6c3e87409e3abcc31306;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 052dac22de8..ceda880c0ba 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2015-06-13 Iain Sandoe + + PR bootstrap/66448 + * passes.c (rest_of_decl_compilation): Do not register globals for + early debug if they are declared in built-ins. + 2015-06-12 Aldy Hernandez * dwarf2out.c (check_die): Protect with ENABLE_CHECKING. diff --git a/gcc/passes.c b/gcc/passes.c index d3ffe33540b..1bc8a360f00 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); }