This is the mail archive of the gcc-patches@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]

Re: 3.3.2/3.4 PATCH: Correctly fix IRIX 6.5.19 <internal/stdio_core.h>


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


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