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: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Jan 2008 10:49:48 -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 #2 from rguenth at gcc dot gnu dot org 2008-01-15 10:49 -------
This problem is introduced by the default case that gets added to the switch
stmt in the IL. Coming from this case, areg is uninitialized.
The fix for PR14495 will likely fix this (by removing the default case again).
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rguenth at gcc dot gnu dot
| |org
BugsThisDependsOn| |14495
Severity|normal |enhancement
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |diagnostic
Last reconfirmed|0000-00-00 00:00:00 |2008-01-15 10:49:47
date| |
Summary|[Regression 4.1/4.3] |warning: 'areg' may be used
|warning: 'areg' may be used |uninitialized in this
|uninitialized in this |function
|function |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34793