------- Comment #4 from rguenther at suse dot de 2008-01-15 13:27 ------- Subject: Re: warning: 'areg' may be used uninitialized in this function
On Tue, 15 Jan 2008, j at uriah dot heep dot sax dot de wrote: > ------- Comment #3 from j at uriah dot heep dot sax dot de 2008-01-15 12:54 > ------- > (In reply to comment #2) > > > The fix for PR14495 will likely fix this (by removing the default case > > again). > > Alas, no, it doesn't. I applied that patch (and the one it depends one > mentioned in the article), rebuilt, but I'm still getting the warning for > this test case. > > If you want me to append some trace data, just tell me how to do it. Oh, indeed - it also needs PR30317 fixed. (the attached patches therein probably no longer apply) The problem is that for the range check we create a fancy unsigned compare, which VRP does not handle yet. Richard. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34793