struct V
{
 virtual void f() = 0;
};
void execute(V volatile* p)
{
  p->V::~V();
}

-- 
           Summary: [4.0 Regression] ICE with volatile non-PODs pointer
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19299

Reply via email to