This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: 3.3.2/3.4 PATCH: Correctly fix IRIX 6.5.19 <internal/stdio_core.h>
- From: Bruce Korb <bkorb at veritas dot com>
- To: Rainer Orth <ro at TechFak dot Uni-Bielefeld dot DE>
- Cc: gcc-patches at gcc dot gnu dot org, bugzilla-gcc at thewrittenword dot com, sfeehan at sbb dot uvm dot edu
- Date: Wed, 29 Oct 2003 13:30:26 -0800
- Subject: Re: 3.3.2/3.4 PATCH: Correctly fix IRIX 6.5.19 <internal/stdio_core.h>
- Organization: Home
- References: <16288.11381.285042.906660@xayide.TechFak.Uni-Bielefeld.DE>
Rainer Orth wrote:
>
> This patch should fix PR bootstrap/12666. It turned out that the IRIX
> 6.5.19m <internal/stdio_core.h> contained (with cat -T):
>
> ^Iva_list _ap;
> Ok for mainline and 3.3 branch if that passes?
Sure, though you'll get extra credit for nailing this thing
for once and all:
sed = "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n"
> - sed = "s@ va_list @ __gnuc_va_list @\n"
> - "s@ va_list)@ __gnuc_va_list)@\n"
> + sed = "s@[ \t]va_list @ __gnuc_va_list @\n"
> + "s@[ \t]va_list)@ __gnuc_va_list)@\n"
> "s@(va_list)&@(__gnuc_va_list)\\&@\n"
> "s@ _VA_LIST_));@ __gnuc_va_list));@\n"
> "s@ __VA_LIST__));@ __gnuc_va_list));@\n"
If you're not up for that, your fix looks fine to me.
Cheers - Bruce