------- Comment #2 from aph at gcc dot gnu dot org 2006-06-26 09:45 ------- Thank you for this patch.
It seems to be a patch for the core constant folding code. Would it not be more appropriate to do this in the Java front end's function convert() (in java/typeck.c) ? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28144