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
This commit is contained in:
Iain Sandoe 2015-06-13 07:55:05 +00:00 committed by Iain Sandoe
parent fc1a3257ef
commit 522b7b88b2
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2015-06-13 Iain Sandoe <iain@codesourcery.com>
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 <aldyh@redhat.com>
* dwarf2out.c (check_die): Protect with ENABLE_CHECKING.

View file

@ -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);
}