[PATCH] Fix num_imm_uses (PR tree-optimization/70405)

Jeff Law law@redhat.com
Tue Mar 29 17:34:00 GMT 2016


On 03/29/2016 11:23 AM, Jakub Jelinek wrote:
> Hi!
>
> The recent change to num_imm_uses (to add support for NULL USE_STMT)
> broke it totally, fortunately we have just one user of this function
> right now.  I've filed a PR for GCC 7 so that we get a warning on this.
>
> Fixed thusly, bootstrapped/regtested on x86_64-linux and i686-linux, ok for
> trunk?
>
> 2016-03-29  Jakub Jelinek  <jakub@redhat.com>
>
> 	PR tree-optimization/70405
> 	* ssa-iterators.h (num_imm_uses): Add missing braces.
>
> 	* gcc.dg/pr70405.c: New test.
Not caught by -Wmisleading-indentation?  Seems like it'd be worth a bug 
report for that.

OK for the trunk.
jeff



More information about the Gcc-patches mailing list