diff options
author | Iain Sandoe <iain@codesourcery.com> | 2015-06-13 07:55:05 +0000 |
---|---|---|
committer | Iain Sandoe <iains@gcc.gnu.org> | 2015-06-13 07:55:05 +0000 |
commit | 522b7b88b21334d7c88b6c3e87409e3abcc31306 (patch) | |
tree | 42bc6266f5230d71df85114d15bf1deca1332d24 /gcc | |
parent | fc1a3257ef98c85339c0d12ba2820b9076830f1e (diff) | |
download | gcc-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')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/passes.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 052dac2..ceda880 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. 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); } |