On 12/20/2017 06:59 AM, Jakub Jelinek wrote:
> On Wed, Dec 20, 2017 at 01:56:27PM +0000, Wilco Dijkstra wrote:
>> This patch fixes PR83491 - if an SSA expression contains 2 identical float
>> constants, the division reciprocal optimization will ICE.  Fix this by 
>> explicitly
>> checking for SSA_NAME in the tree code before walking the uses.  Also fix 
>> several
>> coding style issues pointed out by Jakub and make comments more readable.
>>
>> Bootstrap OK, OK for trunk?
>>
>> ChangeLog:
>> 2017-12-20  Wilco Dijkstra  <wdijk...@arm.com>
>>
>>     gcc/
>>      PR tree-optimization/83491
>>      * tree-ssa-math-opts.c (execute_cse_reciprocals_1): Check for SSA_NAME
>>      before walking uses.  Improve coding style and comments.
>>
>>     gcc/testsuite/
>>      PR tree-optimization/83491
>>      * gcc.dg/pr83491.c: Add new test.
> 
> Ok, thanks.
And I went ahead and committted.

jeff

Reply via email to