public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/21737] New: long double incorrect result
@ 2005-05-24 16:13 ferrandi at elet dot polimi dot it
  2005-05-24 16:19 ` [Bug c/21737] " ferrandi at elet dot polimi dot it
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: ferrandi at elet dot polimi dot it @ 2005-05-24 16:13 UTC (permalink / raw)
  To: gcc-bugs

Starting from file 20040208-2.c provided in the gcc testsuite I've obtained an
equivalent version performing an abort.

By changing the following two lines:
  Internal = x_0 * 0x0.8000000000000000000000000000000000000000p+2L;
  x = Internal;

in 
  x = x_0 * 0x0.8000000000000000000000000000000000000000p+2L;
everything work well.

I've obtained the same bug on gcc  2.96, 3.3.4, 3.4.3 and 4.0.0.

-- 
           Summary: long double incorrect result
           Product: gcc
           Version: 3.4.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ferrandi at elet dot polimi dot it
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i386-redhat-linux
  GCC host triplet: i386-redhat-linux
GCC target triplet: i386-redhat-linux


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


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

* [Bug c/21737] long double incorrect result
  2005-05-24 16:13 [Bug c/21737] New: long double incorrect result ferrandi at elet dot polimi dot it
@ 2005-05-24 16:19 ` ferrandi at elet dot polimi dot it
  2005-05-24 16:27 ` [Bug target/21737] " pinskia at gcc dot gnu dot org
  2005-05-24 16:42 ` ferrandi at elet dot polimi dot it
  2 siblings, 0 replies; 4+ messages in thread
From: ferrandi at elet dot polimi dot it @ 2005-05-24 16:19 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ferrandi at elet dot polimi dot it  2005-05-24 16:13 -------
Created an attachment (id=8961)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8961&action=view)
preprocessed file


-- 


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


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

* [Bug target/21737] long double incorrect result
  2005-05-24 16:13 [Bug c/21737] New: long double incorrect result ferrandi at elet dot polimi dot it
  2005-05-24 16:19 ` [Bug c/21737] " ferrandi at elet dot polimi dot it
@ 2005-05-24 16:27 ` pinskia at gcc dot gnu dot org
  2005-05-24 16:42 ` ferrandi at elet dot polimi dot it
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-24 16:27 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-05-24 16:18 -------
4.0.0 and 4.1.0 works for me on i686-pc-linux-gnu.
3.4.0 fails though.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c                           |target
           Keywords|                            |wrong-code


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


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

* [Bug target/21737] long double incorrect result
  2005-05-24 16:13 [Bug c/21737] New: long double incorrect result ferrandi at elet dot polimi dot it
  2005-05-24 16:19 ` [Bug c/21737] " ferrandi at elet dot polimi dot it
  2005-05-24 16:27 ` [Bug target/21737] " pinskia at gcc dot gnu dot org
@ 2005-05-24 16:42 ` ferrandi at elet dot polimi dot it
  2 siblings, 0 replies; 4+ messages in thread
From: ferrandi at elet dot polimi dot it @ 2005-05-24 16:42 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ferrandi at elet dot polimi dot it  2005-05-24 16:31 -------
Created an attachment (id=8962)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8962&action=view)
i386 assembler of 20040208-2.c.t12.eh.c


-- 


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


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

end of thread, other threads:[~2005-05-24 16:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-24 16:13 [Bug c/21737] New: long double incorrect result ferrandi at elet dot polimi dot it
2005-05-24 16:19 ` [Bug c/21737] " ferrandi at elet dot polimi dot it
2005-05-24 16:27 ` [Bug target/21737] " pinskia at gcc dot gnu dot org
2005-05-24 16:42 ` ferrandi at elet dot polimi dot it

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).