[Bug other/89342] ICE in maybe_default_option, at opts.c:347

2019-02-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89342

Jakub Jelinek  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED
   Target Milestone|--- |8.3

--- Comment #4 from Jakub Jelinek  ---
Fixed for 8.3+.

[Bug other/89342] ICE in maybe_default_option, at opts.c:347

2019-02-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89342

--- Comment #3 from Jakub Jelinek  ---
Author: jakub
Date: Fri Feb 15 07:36:23 2019
New Revision: 268925

URL: https://gcc.gnu.org/viewcvs?rev=268925=gcc=rev
Log:
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.

Added:
branches/gcc-8-branch/gcc/testsuite/gcc.dg/pr89342.c
Modified:
branches/gcc-8-branch/gcc/ChangeLog
branches/gcc-8-branch/gcc/optc-save-gen.awk
branches/gcc-8-branch/gcc/opth-gen.awk
branches/gcc-8-branch/gcc/testsuite/ChangeLog

[Bug other/89342] ICE in maybe_default_option, at opts.c:347

2019-02-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89342

--- Comment #2 from Jakub Jelinek  ---
Author: jakub
Date: Fri Feb 15 07:17:24 2019
New Revision: 268924

URL: https://gcc.gnu.org/viewcvs?rev=268924=gcc=rev
Log:
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.

Added:
trunk/gcc/testsuite/gcc.dg/pr89342.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/optc-save-gen.awk
trunk/gcc/opth-gen.awk
trunk/gcc/testsuite/ChangeLog

[Bug other/89342] ICE in maybe_default_option, at opts.c:347

2019-02-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89342

--- Comment #1 from Jakub Jelinek  ---
Created attachment 45717
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45717=edit
gcc9-pr89342.patch

Untested fix.