This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/46362] [4.6 regression] lto-plugin.c doesn't compile on IRIX 6.5
- From: "davek at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 9 Nov 2010 21:01:37 +0000
- Subject: [Bug bootstrap/46362] [4.6 regression] lto-plugin.c doesn't compile on IRIX 6.5
- Auto-submitted: auto-generated
- References: <bug-46362-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46362
--- Comment #4 from Dave Korn <davek at gcc dot gnu.org> 2010-11-09 21:00:47 UTC ---
Created attachment 22354
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22354
proposed patch
ISTM the main issue (common to this and Bug 46397) is C99, so this patch adds a
test for its availability at top-level that disables lto-plugin if C99 can't be
used (but doesn't make the compiler actually use C99 mode in general), and
makes the lto-plugin itself use C99 mode to compile. It also adds stdbool
support as shown in the autoconf man page. Rainer, could you give it a whirl?