Re: More static checker fixes

2011-04-04 Thread Jakub Jelinek
On Thu, Mar 31, 2011 at 06:55:37AM -0600, Jeff Law wrote: > * cfgexpand.c (expand_gimple_basic_block): Avoid useless assignment. > *** cfgexpand.c (revision 171659) > --- cfgexpand.c (working copy) > *** expand_gimple_basic_block (basic_block b > *** 3576,3582 >

Re: More static checker fixes

2011-03-31 Thread Richard Guenther
On Thu, Mar 31, 2011 at 2:55 PM, Jeff Law wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > Whee.  The static checkers found another real bug.  The > tree-ssa-forwprop.c fix eliminates a potential NULL pointer dereference > due to a typo in a condition.  Basically if DEF_STMT is null,