[Bug middle-end/20648] [4.1 regression] ICE in cfg_layout_redirect_edge_and_branch_force

steven at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Mar 28 21:57:00 GMT 2005


------- Additional Comments From steven at gcc dot gnu dot org  2005-03-28 21:57 -------
Test case, thanks to Tom Tromey: 
 
T.java: 
public class T 
{ 
  int field; 
  public void test(int f) { 
    synchronized (this) { 
      if (field != 0) 
        throw new IllegalStateException(); 
      field = f; 
    } 
  } 
} 
 
./gcj -B. -B../ia64-unknown-linux-gnu/libjava/ 
-fclasspath=../ia64-unknown-linux-gnu/libjava/ -C T.java 
./gcj -B. -B../ia64-unknown-linux-gnu/libjava/ 
-fclasspath=../ia64-unknown-linux-gnu/libjava/ -c -g -O2 -findirect-dispatch 
T.class 
 
 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-03-28 21:57:03
               date|                            |


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



More information about the Gcc-bugs mailing list