13824 – [3.3 Regression] gcj SEGV with simple .java program (original) (raw)
Description Tom Tromey 2004-01-23 02:48:43 UTC
public class pr13107_3 { public static void main(String[] args) { for (int i = 0; i < 1; i++) { try { System.out.println(i); } finally { if (i == 3) continue; } } } }
This will be in the libgcj test suite shortly. This fails with a SEGV when compiled to native with "-c -O3". It correctly compiles to bytecode.
Comment 1 Drea Pinski 2004-01-23 03:00:03 UTC
Confirmed for 3.3, 3.4, and 3.5, this is a regression from 3.2.3.
The problem is in unsafe_for_reeval somehow with a tree of LABELED_BLOCK_EXPR.
Comment 6 Drea Pinski 2004-01-29 18:32:31 UTC
Fixed for 3.4 and 3.5.
Comment 8 Drea Pinski 2004-01-29 19:02:31 UTC
Fixed for 3.3.3.