Patch: Java: Fix check-init to handle new binops from fold()

Bryce McKinlay mckinlay@redhat.com
Fri May 28 22:30:00 GMT 2004


Today's change to fold() mean that it can generate binop tree codes 
which the Java front end's check-init() doesn't know about. This results 
in a libjava bootstrap failure:

../../../libjava/java/text/DecimalFormat.java: In class 
`java.text.DecimalFormat':
../../../libjava/java/text/DecimalFormat.java: In method 
`java.text.DecimalFormat.formatInternal(double,gnu.java.text.FormatBuffer,java.text.FieldPosition)':
../../../libjava/java/text/DecimalFormat.java:505: internal compiler 
error: internal error in check-init: tree code not implemented: unlt_expr

This is the second time in 2 days that a patch has broken Java. People, 
please remember to test your patches with Java enabled!!

I'm checking it in immediately since it is required to fix a bootstrap 
failure.

Regards

Bryce

-------------- next part --------------
A non-text attachment was scrubbed...
Name: java-check-init.patch
Type: text/x-patch
Size: 809 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20040528/bcbaf04b/attachment.bin>


More information about the Gcc-patches mailing list