This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/14203] [3.4/3.5 regression] ICE on warning about uninitialized variable
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Feb 2004 00:55:03 -0000
- Subject: [Bug middle-end/14203] [3.4/3.5 regression] ICE on warning about uninitialized variable
- References: <20040218231300.14203.debian-gcc@lists.debian.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-02-19 00:55 -------
The problem is that the variable was not emitted into RTL so the variable does have not a DECL_RTL and
calling make_decl_rtl on the decl will cause an ICE as the variable is an automatic variable. Note this is
fixed on the tree-ssa but having this warning being on the tree level and not the RTL level.
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|critical |normal
Component|c++ |middle-end
Known to work|3.3.3 |3.3.3 tree-ssa
Summary|[3.4/3.5 regression] ICE on |[3.4/3.5 regression] ICE on
|warning about unused |warning about uninitialized
|variable |variable
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14203