From ae517a31c9508d9b0424e7a057d05840cf2caaf5 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Sun, 29 Sep 2019 12:06:40 +0200 Subject: [PATCH] re PR bootstrap/90543 (Build failure on MINGW for gcc-9.1.0) PR bootstrap/90543 * optc-save-gen.awk: Fix up printing string option differences. From-SVN: r276268 --- gcc/ChangeLog | 5 +++++ gcc/optc-save-gen.awk | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2c7a847e327..e94f63867e4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2019-09-29 Jakub Jelinek + + PR bootstrap/90543 + * optc-save-gen.awk: Fix up printing string option differences. + 2019-09-29 Kewen Lin * config/rs6000/rs6000.c (rs6000_builtin_vectorization_cost): Lower diff --git a/gcc/optc-save-gen.awk b/gcc/optc-save-gen.awk index 74096bc5462..cf1c3689eff 100644 --- a/gcc/optc-save-gen.awk +++ b/gcc/optc-save-gen.awk @@ -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 ""; } -- 2.30.2