]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/optc-gen.awk
gcc/
[thirdparty/gcc.git] / gcc / optc-gen.awk
index cd1024406daf9f0d59a83e92d641215bf1e873ea..f3b41a9677875062dbdec9eb7301a3ebd4591670 100644 (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 != "")