problem building a GCJ-friendly GNU Crypto
Mark Wielaard
mark@klomp.org
Fri Sep 19 15:06:00 GMT 2003
Hi Raif,
Finally found the patch that broke GNU Crypto:
http://gcc.gnu.org/ml/gcc-patches/2003-09/msg00848.html
2003-09-13 Roger Sayle <roger@eyesopen.com>
* fold-const.c (tree_swap_operands_p): New function to determine
the prefered ordering of operands.
(fold): Numerous clean-ups. Use tree_swap_operands_p when swapping
operands to commutative, comparison or ternary operators. Replace
uses of TREE_SET_CODE with recursive call to fold. Remove duplicate
transformation of A ? B : C into !A ? C : B.
But I don't have a simple testcase yet. With this patch the GNU crypto
test-suite gives 857 of 984 tests failed. Reverting it makes all tests
pass.
I am hoping that the patch author or someone on the gcj mailinglist
looks at this patch and immediately sees something obviously wrong for
java. If not, we must try to come up with a simple test case that shows
what goes wrong.
Cheers,
Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://gcc.gnu.org/pipermail/java/attachments/20030919/a8159339/attachment.sig>
More information about the Java
mailing list