------- Comment #4 from hjl dot tools at gmail dot com 2010-07-12 23:34 ------- (In reply to comment #3) > (In reply to comment #2) > > The variable can not actually be used uninitalized, since min_cost is > > initalized to INT_MAX, and the return type of rtx_cost is int. > > So it is enough to shut up the compiler warning, no need to add an > > extra test there. I.e. the first hunk should be sufficient. > > > > Does the first chunk count as obvious?
Maybe int min_regno = 0; is faster. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44921