------- 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