catch{} catches continue

Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=754

Reported by Martin Stjernholm mast@roxen.com

The following program writes five lines. If the catch block around the if statement is removed, three lines are written instead. I think it should be that way in either case.

int main()
{
  for (int i = 0; i < 5; i++) {
    catch {
      if (i > 2) continue;
    };
    werror ("i = %d\n", i);
  }
}