This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/28144] floating point constant -> byte/char/short conversion is wrong for java
- From: "aph at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Jun 2006 09:45:47 -0000
- Subject: [Bug tree-optimization/28144] floating point constant -> byte/char/short conversion is wrong for java
- References: <bug-28144-5394@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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