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]
Other format: [Raw text]

Re: problem building a GCJ-friendly GNU Crypto


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

Attachment: signature.asc
Description: This is a digitally signed message part


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