Re: [PATCH] Fix ICE with optimize("Ofast") due to option handling (PR other/89342)

2019-02-14 Thread Joseph Myers
On Thu, 14 Feb 2019, Jakub Jelinek wrote: > Hi! > > We ICE on the following testcase, because while we save optimize, > and optimize_{size,debug} vars during option saving/restoring, we don't save > optimize_fast, and because of that end up with optimize 0 optimize_fast 1 > which the option handl

[PATCH] Fix ICE with optimize("Ofast") due to option handling (PR other/89342)

2019-02-14 Thread Jakub Jelinek
Hi! We ICE on the following testcase, because while we save optimize, and optimize_{size,debug} vars during option saving/restoring, we don't save optimize_fast, and because of that end up with optimize 0 optimize_fast 1 which the option handling code ICEs on - if (fast) gcc_assert (level =