This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/66448] [6 Regression] Bootstrap fails on darwin after r224161


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66448

--- Comment #20 from Iain Sandoe <iains at gcc dot gnu.org> ---
FWIW,
I boostrapped r224366 with the dwarf2out.c changes + this:

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

the bootstrap succeeds and the obj-c++ testsuite is not regressed; doing the
rest now.  If there's no objection to this approach (which seems to be just
preserving the status quo) then I'd prefer it.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]