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/5179] Qualifed static field access doesn't initialize its class


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From pinskia@physics.uc.edu  2003-05-25 04:14 -------
I cannot reproduce this on the mainline (20030524) on i686-pc-linux-gnu:
tin:~/src/gnu/gcctest>gcj --main=Qual2 Qual2.java 
tin:~/src/gnu/gcctest>./a.out 
1
1
tin:~/src/gnu/gcctest>gcj --main=Qual2 Qual2.java -O3
tin:~/src/gnu/gcctest>./a.out
1
1
tin:~/src/gnu/gcctest>gcj --main=Qual2 Qual2.java -O3 -C
gcj: cannot specify `main' class when not linking
tin:~/src/gnu/gcctest>gcj Qual2.java -O3 -C
tin:~/src/gnu/gcctest>gij Qual2
1
1
tin:~/src/gnu/gcctest>java Qual2
1
1
tin:~/src/gnu/gcctest>javac Qual2.java 
tin:~/src/gnu/gcctest>!gij
gij Qual2
1
1
tin:~/src/gnu/gcctest>gcj Qual2.class --main=Qual2 Bar.class 
tin:~/src/gnu/gcctest>./a.out 
1
1



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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