This is the mail archive of the java-prs@gcc.gnu.org mailing list for the Java 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/25664] [3.4/4.0/4.1/4.2 Regression] internal bug in compiler when assigning value to a static final field of java code



------- Comment #2 from pinskia at gcc dot gnu dot org  2006-01-06 18:49 -------
Reduced testcase:
class bugfinal {
        static final int a=0;
        void method() {
                a++;
        }
}

This code is invalid.

Anyways confirmed.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |ice-on-invalid-code
      Known to fail|                            |3.4.4 3.4.5 4.0.0 4.1.0
                   |                            |4.2.0 3.3.3 3.2.3
      Known to work|                            |3.0.4
   Last reconfirmed|0000-00-00 00:00:00         |2006-01-06 18:49:41
               date|                            |
            Summary|internal bug in compiler    |[3.4/4.0/4.1/4.2 Regression]
                   |when assigning value to a   |internal bug in compiler
                   |static final field of java  |when assigning value to a
                   |code                        |static final field of java
                   |                            |code
   Target Milestone|---                         |4.0.3


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


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