This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/34793] warning: 'areg' may be used uninitialized in this function
- From: "rguenther at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Jan 2008 13:27:44 -0000
- Subject: [Bug middle-end/34793] warning: 'areg' may be used uninitialized in this function
- References: <bug-34793-11199@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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