re PR bootstrap/90543 (Build failure on MINGW for gcc-9.1.0)
authorJakub Jelinek <jakub@redhat.com>
Wed, 29 May 2019 09:33:02 +0000 (11:33 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 29 May 2019 09:33:02 +0000 (11:33 +0200)
commitb54ecc769f598fcb7f88c6a7c9217ee7c32be789
tree4355140bfe8120145fa69ca8fe2b347f6f6820e4
parent8fc16d725206f2c40bae423d7d0d93bd1baf6da2
re PR bootstrap/90543 (Build failure on MINGW for gcc-9.1.0)

PR bootstrap/90543
* optc-save-gen.awk: In cl_optimization_print, use correct condition
for var_opt_string printing.  In cl_optimization_print_diff, print
(null) instead of invoking undefined behavior if one of the
var_opt_string pointers is NULL and use && instead of first || in the
guarding condition.  For var_target_other options, handle const char *
target variables similarly to const char * optimize node variables.

From-SVN: r271736
gcc/ChangeLog
gcc/optc-save-gen.awk