Re: if() and trailing ;

2006-08-02 Thread Thomas R. Truscott
> But it is common to have an empty action on a condition. You'll often > see code like if (condition) /* nothing */; Yes, the intent of the warning is catch people who stick a ; at the end of a line (out of habit) when there should not be one. That is what the warning should target,

Re: tree ssa and type issues

2005-05-23 Thread Thomas R. Truscott
> | > dfs = (bitmap *) xmalloc (last_basic_block * sizeof (bitmap *)); > | > It would be nice if gcc gave a warning for suspicious cases like this. I did a crude warning for this, and ironically it found a bug in valgrind: http://w