------- Comment #2 from pinskia at gcc dot gnu dot org  2006-11-20 00:23 -------
Reduced testcase:
int length1();
int g(int);
void f(int capacity_, char *old_storage)
{
  try {
    length1();
    int old_capacity = capacity_;
    capacity_ *= 2;
    g(capacity_);
    for (int i = 1; i < old_capacity; i++)
     old_storage[i] = old_storage[i - 1];
  } catch (...) {
    for (int i = 1; i < capacity_; i++){}
  }
}


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rakdver at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2006-11-20 00:23:35
               date|                            |


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

Reply via email to