/[Apache-SVN]
ViewVC logotype

Revision 696636


Jump to revision: Previous Next
Author: hindessm
Date: Thu Sep 18 11:31:46 2008 UTC (15 years, 9 months ago)
Changed paths: 1
Log Message:
Workaround for two warnings treated as errors when compiling with
the yet-to-be-released gcc-4.4.  The warnings are:

[compile-cc] working_vm/vm/jitrino/src/translator/java/JavaByteCodeTranslator.cpp: In member function 'virtual void Jitrino::JavaByteCodeTranslator::lookupswitch(Jitrino::JavaLookupSwitchTargetsIter*)':
[compile-cc] working_vm/vm/jitrino/src/translator/java/JavaByteCodeTranslator.cpp:1351: error: 'key' may be used uninitialized in this function

[compile-cc] working_vm/vm/jitrino/src/optimizer/abcd/abcd.cpp: In function 'void Jitrino::checkSSA(Jitrino::ControlFlowGraph*)':
[compile-cc] working_vm/vm/jitrino/src/optimizer/abcd/abcd.cpp:423: error: 'checkInst' is used uninitialized in this function
[compile-cc] working_vm/vm/jitrino/src/optimizer/abcd/abcd.cpp:447: note: 'checkInst' was declared here

The first is a false positive.  I've not really looked at the second one.
A less drastic workaround might be a good idea though.  Perhaps using a
gcc #pragma?


Changed paths

Path Details
Directoryharmony/enhanced/drlvm/trunk/make/vm/jitrino.xml modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26