This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/16277] [3.5 regression] Still spurious warnings about unused SSA variables


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]