]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
backport: re PR bootstrap/90543 (Build failure on MINGW for gcc-9.1.0)
authorJakub Jelinek <jakub@redhat.com>
Mon, 21 Oct 2019 11:45:27 +0000 (13:45 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 21 Oct 2019 11:45:27 +0000 (13:45 +0200)
Backported from mainline
2019-09-29  Jakub Jelinek  <jakub@redhat.com>

PR bootstrap/90543
* optc-save-gen.awk: Fix up printing string option differences.

From-SVN: r277254

gcc/ChangeLog
gcc/optc-save-gen.awk

index f5196aebb4631e94774903b4337950f004e9494c..18e85b7be6f28bae4cbc81ed61dc250827ac457c 100644 (file)
@@ -1,6 +1,11 @@
 2019-10-21  Jakub Jelinek  <jakub@redhat.com>
 
        Backported from mainline
+       2019-09-29  Jakub Jelinek  <jakub@redhat.com>
+
+       PR bootstrap/90543
+       * optc-save-gen.awk: Fix up printing string option differences.
+
        2019-09-27  Jakub Jelinek  <jakub@redhat.com>
 
        PR middle-end/91920
index 74096bc5462c4802567a081690fdf55273ed7aa6..cf1c3689effd3f6ea95e0a1df8828f44d7737459 100644 (file)
@@ -332,7 +332,7 @@ for (i = 0; i < n_opt_string; i++) {
        print "             indent_to, \"\",";
        print "             \"" name "\",";
        print "             ptr1->x_" name " ? ptr1->x_" name " : \"(null)\",";
-       print "             ptr2->x_" name " ? ptr1->x_" name " : \"(null)\");";
+       print "             ptr2->x_" name " ? ptr2->x_" name " : \"(null)\");";
        print "";
 }