Commit b1c61c7e by Ralf Wildenhues Committed by Ralf Wildenhues

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
parent 805100b5
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> 2008-04-28 Danny Smith <dannysmith@users.sourceforge.net>
* config/i386/cygming-crtend.c (register_frame_ctor): Revert my * config/i386/cygming-crtend.c (register_frame_ctor): Revert my
......
...@@ -189,8 +189,11 @@ for (i = 0; i < n_opts; i++) { ...@@ -189,8 +189,11 @@ for (i = 0; i < n_opts; i++) {
idx = -1; idx = -1;
} }
} }
printf(" { %c-%s%c,\n %s,\n %s, %u, %d,\n", # Split the printf after %u to work around an ia64-hp-hpux11.23
quote, opts[i], quote, hlp, back_chain[i], len, idx) # 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]) condition = opt_args("Condition", flags[i])
cl_flags = switch_flags(flags[i]) cl_flags = switch_flags(flags[i])
if (condition != "") if (condition != "")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment