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/49415] [4.7 Regression] Revision 175071 fails to bootstrap on x86_64-apple-darwin10


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49415

--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2011-06-15 12:33:06 UTC ---
> Please try wrapping the problem prototype in #ifdef RTX_CODE, like some 
> other prototypes in that header. 

--- /opt/gcc/_clean/gcc/config/darwin-protos.h    2011-04-06 13:56:07.000000000
+0200
+++ /opt/gcc/work/gcc/config/darwin-protos.h    2011-06-15 13:34:23.000000000
+0200
@@ -54,8 +54,11 @@ extern void machopic_finish (FILE *);

 extern int machopic_reloc_rw_mask (void);
 extern section *machopic_select_section (tree, int, unsigned HOST_WIDE_INT);
+
+#ifdef RTX_CODE
 extern section *machopic_select_rtx_section (enum machine_mode, rtx,
                          unsigned HOST_WIDE_INT);
+#endif /* RTX_CODE */

 extern section *darwin_function_section (tree, enum node_frequency, bool,
bool); 
 extern void darwin_function_switched_text_sections (FILE *, tree, bool);

I am now at stage3 (1.5 hour more to go for full bootstrap).


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