This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/16277] [3.5 regression] Still spurious warnings about unused SSA variables
- 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: 29 Jun 2004 16:51:28 -0000
- Subject: [Bug c++/16277] [3.5 regression] Still spurious warnings about unused SSA variables
- References: <20040629163432.16277.bangerth@dealii.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-06-29 16:51 -------
Looking at the tree Dumps, this looks like a bug in the C++ front-end rather than the optimizations:
>From *.original:
T.0 = size (v);
if (T.0 == 0)
{
this.1 = (struct X *)this;
__comp_ctor (this.1);
}
else
{
*this.1 = *v;
}
try
{
}
catch
{
this.2 = (struct X *)this;
__comp_dtor (this.2);
}
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |critical
Status|UNCONFIRMED |NEW
Component|tree-optimization |c++
Ever Confirmed| |1
Keywords| |diagnostic, wrong-code
Last reconfirmed|0000-00-00 00:00:00 |2004-06-29 16:51:28
date| |
Target Milestone|--- |3.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16277