re PR bootstrap/90543 (Build failure on MINGW for gcc-9.1.0)
authorJakub Jelinek <jakub@redhat.com>
Sun, 29 Sep 2019 10:06:40 +0000 (12:06 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Sun, 29 Sep 2019 10:06:40 +0000 (12:06 +0200)
PR bootstrap/90543
* optc-save-gen.awk: Fix up printing string option differences.

From-SVN: r276268

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

index 2c7a847e327f02266d1a69d88de3e3bbf5cc062c..e94f63867e4fb430d19fd4383956ed94e765f68e 100644 (file)
@@ -1,3 +1,8 @@
+2019-09-29  Jakub Jelinek  <jakub@redhat.com>
+
+       PR bootstrap/90543
+       * optc-save-gen.awk: Fix up printing string option differences.
+
 2019-09-29  Kewen Lin  <linkw@gcc.gnu.org>
 
        * config/rs6000/rs6000.c (rs6000_builtin_vectorization_cost): Lower
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 "";
 }