This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug java/21540] switch stmt problem


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-05-12 21:49 -------
Confirmed, here is another example:
public class bug
{
    public static final long xxx = 555;
    public static final int xxx1 = (int)(xxx >>> 32);
    public int fn (int v)
    {
	switch (v)
	{
	case (xxx1):
	    return 1;
	}
       return 0;
    }
}

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |rejects-valid
      Known to fail|                            |3.0.4 3.2.3 3.2.2 3.3.3
                   |                            |3.4.0 4.0.0 4.1.0
   Last reconfirmed|0000-00-00 00:00:00         |2005-05-12 21:49:59
               date|                            |


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]