This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
libjava/defineclass.cc won't build on Solaris/sparc
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: java at gcc dot gnu dot org
- Date: 02 Dec 2001 19:53:05 -0200
- Subject: libjava/defineclass.cc won't build on Solaris/sparc
- Organization: GCC Team, Red Hat
The problem appears to be that INTERPRETER is not defined, so the
declaration of the global variable `character' is omitted, but there
are references to this variable outside the #ifdef INTERPRETER.
I'm not sure whether it would be better to move the functions that
reference character into the ifdef, or to move the declaration (and
the initializer?) out of the ifdef. Also, it would be advisable to
use attribute((noinline)) to prevent inlining, since now that we have
out-of-order inlining, moving a function after another doesn't prevent
it from being inlined.
Please advise on the best fix for this problem.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me