------- Comment #3 from hjl dot tools at gmail dot com 2010-07-12 23:33 ------- (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? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44921