This is the mail archive of the java@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]

Re: Bug#99038: internal error using static synchronized


>>>>> "Matthias" == Matthias Klose <doko@cs.tu-berlin.de> writes:

Matthias> class Bug {
Matthias>     static synchronized Object get(int i) { return null; }
Matthias>     static synchronized Object get() { return get(1); }
Matthias> }

This fails for me (on x86) with -O1, but not with -O0.

Tom


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