re PR bootstrap/35169 (SIGSEGV for stack growth failure while building 4.2.3)

gcc/
	PR bootstrap/35169
	* optc-gen.awk: Work around HP-UX/IA awk bug.

From-SVN: r134768
This commit is contained in:
Ralf Wildenhues 2008-04-28 22:27:22 +00:00 committed by Ralf Wildenhues
parent 805100b5e2
commit b1c61c7efd
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2008-04-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
PR bootstrap/35169
* optc-gen.awk: Work around HP-UX/IA awk bug.
2008-04-28 Danny Smith <dannysmith@users.sourceforge.net>
* config/i386/cygming-crtend.c (register_frame_ctor): Revert my

View File

@ -189,8 +189,11 @@ for (i = 0; i < n_opts; i++) {
idx = -1;
}
}
printf(" { %c-%s%c,\n %s,\n %s, %u, %d,\n",
quote, opts[i], quote, hlp, back_chain[i], len, idx)
# Split the printf after %u to work around an ia64-hp-hpux11.23
# awk bug.
printf(" { %c-%s%c,\n %s,\n %s, %u,",
quote, opts[i], quote, hlp, back_chain[i], len)
printf(" %d,\n", idx)
condition = opt_args("Condition", flags[i])
cl_flags = switch_flags(flags[i])
if (condition != "")