re PR other/89342 (ICE in maybe_default_option, at opts.c:347)
authorJakub Jelinek <jakub@redhat.com>
Fri, 15 Feb 2019 07:17:24 +0000 (08:17 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 15 Feb 2019 07:17:24 +0000 (08:17 +0100)
commitf521d9d8ad83137bd2965556f2395a264efa80d7
tree619ab47720d6b4e80b5c45a661ea8ff0285ecb36
parent8a9f2a6bbd6bdf164ca987edac34ac72447881a5
re PR other/89342 (ICE in maybe_default_option, at opts.c:347)

PR other/89342
* optc-save-gen.awk: Handle optimize_fast like optimize_size or
optimize_debug.
* opth-gen.awk: Likewise.

* gcc.dg/pr89342.c: New test.

From-SVN: r268924
gcc/ChangeLog
gcc/optc-save-gen.awk
gcc/opth-gen.awk
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr89342.c [new file with mode: 0644]