public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/6391] Constant float to int conversions don't use ieee_real_to_integer when compiled to byte-code
       [not found] <20020421024601.6391.mark@klomp.org>
@ 2003-07-24 23:47 ` pinskia at physics dot uc dot edu
  2003-10-03 21:34 ` cvs-commit at gcc dot gnu dot org
  2003-10-03 21:39 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 3+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-24 23:47 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=6391


pinskia at physics dot uc dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |michael dot diloreto at hp
                   |                            |dot com


------- Additional Comments From pinskia at physics dot uc dot edu  2003-07-24 23:47 -------
*** Bug 11666 has been marked as a duplicate of this bug. ***


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug java/6391] Constant float to int conversions don't use ieee_real_to_integer when compiled to byte-code
       [not found] <20020421024601.6391.mark@klomp.org>
  2003-07-24 23:47 ` [Bug java/6391] Constant float to int conversions don't use ieee_real_to_integer when compiled to byte-code pinskia at physics dot uc dot edu
@ 2003-10-03 21:34 ` cvs-commit at gcc dot gnu dot org
  2003-10-03 21:39 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 3+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2003-10-03 21:34 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=6391



------- Additional Comments From cvs-commit at gcc dot gnu dot org  2003-10-03 21:34 -------
Subject: Bug 6391

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	sayle@gcc.gnu.org	2003-10-03 21:33:57

Modified files:
	gcc            : ChangeLog fold-const.c tree.c simplify-rtx.c 
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/gcc.c-torture/execute: 20031003-1.c 

Log message:
	PR optimization/9325, PR java/6391
	* fold-const.c (fold_convert): For floating point to integer
	conversions, return the maximum/minimum representable integer
	value if the real constant overflows the destination type.
	* tree.c (real_value_from_int_cst): Allow the type to be NULL,
	meaning don't truncate the result to a floating point mode.
	Simplify the logic by calling real_from_integer directly.
	* simplify-rtx.c (simplify_unary_operation):  Implement the
	same semantics for folding floating point to integer conversions
	in RTL.
	
	* gcc.c-torture/execute/20031003-1.c: New test case.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.1270&r2=2.1271
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fold-const.c.diff?cvsroot=gcc&r1=1.310&r2=1.311
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree.c.diff?cvsroot=gcc&r1=1.330&r2=1.331
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/simplify-rtx.c.diff?cvsroot=gcc&r1=1.160&r2=1.161
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.3093&r2=1.3094
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.c-torture/execute/20031003-1.c.diff?cvsroot=gcc&r1=NONE&r2=1.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug java/6391] Constant float to int conversions don't use ieee_real_to_integer when compiled to byte-code
       [not found] <20020421024601.6391.mark@klomp.org>
  2003-07-24 23:47 ` [Bug java/6391] Constant float to int conversions don't use ieee_real_to_integer when compiled to byte-code pinskia at physics dot uc dot edu
  2003-10-03 21:34 ` cvs-commit at gcc dot gnu dot org
@ 2003-10-03 21:39 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-10-03 21:39 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=6391


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
           Keywords|                            |wrong-code
         Resolution|                            |FIXED
   Target Milestone|---                         |3.4


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-10-03 21:39 -------
Fixed for 3.4


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-10-03 21:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20020421024601.6391.mark@klomp.org>
2003-07-24 23:47 ` [Bug java/6391] Constant float to int conversions don't use ieee_real_to_integer when compiled to byte-code pinskia at physics dot uc dot edu
2003-10-03 21:34 ` cvs-commit at gcc dot gnu dot org
2003-10-03 21:39 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).