public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/15290] New: __float128 failed to pass to function properly
@ 2004-05-05 7:04 hjl at lucon dot org
2004-05-05 18:09 ` [Bug target/15290] " hjl at lucon dot org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: hjl at lucon dot org @ 2004-05-05 7:04 UTC (permalink / raw)
To: gcc-bugs
[hjl@gnu-20 float128]$ cat q.c
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <endian.h>
void
foo (__float128 x)
{
union quad { unsigned char c[16]; __float128 qd; } q;
q.qd = x;
unsigned char two [16];
memset (two, 0, sizeof two);
#if __BYTE_ORDER == __BIG_ENDIAN
two [0] = 0x40;
#endif
#if __BYTE_ORDER == __LITTLE_ENDIAN
two [15] = 0x40;
#endif
if (memcmp (two, q.c, sizeof two) != 0)
abort ();
}
int
main ()
{
foo (2);
return 0;
}
[hjl@gnu-20 float128]$ /usr/gcc-3.4/bin/gcc q.c
[hjl@gnu-20 float128]$ ./a.out
Aborted
[hjl@gnu-20 float128]$
--
Summary: __float128 failed to pass to function properly
Product: gcc
Version: 3.4.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: hjl at lucon dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: x86_64-pc-linux-gnu
GCC host triplet: x86_64-pc-linux-gnu
GCC target triplet: x86_64-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15290
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/15290] __float128 failed to pass to function properly
2004-05-05 7:04 [Bug target/15290] New: __float128 failed to pass to function properly hjl at lucon dot org
@ 2004-05-05 18:09 ` hjl at lucon dot org
2004-05-05 18:56 ` hjl at lucon dot org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: hjl at lucon dot org @ 2004-05-05 18:09 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From hjl at lucon dot org 2004-05-05 18:08 -------
A patch is posted at
http://gcc.gnu.org/ml/gcc-patches/2004-05/msg00263.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15290
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/15290] __float128 failed to pass to function properly
2004-05-05 7:04 [Bug target/15290] New: __float128 failed to pass to function properly hjl at lucon dot org
2004-05-05 18:09 ` [Bug target/15290] " hjl at lucon dot org
@ 2004-05-05 18:56 ` hjl at lucon dot org
2004-05-05 20:17 ` cvs-commit at gcc dot gnu dot org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: hjl at lucon dot org @ 2004-05-05 18:56 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From hjl at lucon dot org 2004-05-05 18:56 -------
An alternative is posted at
http://gcc.gnu.org/ml/gcc-patches/2004-05/msg00271.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15290
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/15290] __float128 failed to pass to function properly
2004-05-05 7:04 [Bug target/15290] New: __float128 failed to pass to function properly hjl at lucon dot org
2004-05-05 18:09 ` [Bug target/15290] " hjl at lucon dot org
2004-05-05 18:56 ` hjl at lucon dot org
@ 2004-05-05 20:17 ` cvs-commit at gcc dot gnu dot org
2004-05-05 20:19 ` cvs-commit at gcc dot gnu dot org
2004-05-05 21:41 ` pinskia at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-05-05 20:17 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-05-05 20:17 -------
Subject: Bug 15290
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: hjl@gcc.gnu.org 2004-05-05 20:17:09
Modified files:
gcc : ChangeLog
gcc/config/i386: i386.c
Log message:
2004-05-05 H.J. Lu <hongjiu.lu@intel.com>
PR target/15290
* config/i386/i386.c (ix86_split_to_parts): Use real_to_target
instead of REAL_VALUE_TO_TARGET_LONG_DOUBLE.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.3580&r2=2.3581
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/i386/i386.c.diff?cvsroot=gcc&r1=1.663&r2=1.664
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15290
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/15290] __float128 failed to pass to function properly
2004-05-05 7:04 [Bug target/15290] New: __float128 failed to pass to function properly hjl at lucon dot org
` (2 preceding siblings ...)
2004-05-05 20:17 ` cvs-commit at gcc dot gnu dot org
@ 2004-05-05 20:19 ` cvs-commit at gcc dot gnu dot org
2004-05-05 21:41 ` pinskia at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-05-05 20:19 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-05-05 20:19 -------
Subject: Bug 15290
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_4-branch
Changes by: hjl@gcc.gnu.org 2004-05-05 20:19:20
Modified files:
gcc : ChangeLog
gcc/config/i386: i386.c
Log message:
2004-05-05 H.J. Lu <hongjiu.lu@intel.com>
PR target/15290
* config/i386/i386.c (ix86_split_to_parts): Use real_to_target
instead of REAL_VALUE_TO_TARGET_LONG_DOUBLE.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=2.2326.2.431&r2=2.2326.2.432
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/i386/i386.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.635.2.9&r2=1.635.2.10
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15290
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/15290] __float128 failed to pass to function properly
2004-05-05 7:04 [Bug target/15290] New: __float128 failed to pass to function properly hjl at lucon dot org
` (3 preceding siblings ...)
2004-05-05 20:19 ` cvs-commit at gcc dot gnu dot org
@ 2004-05-05 21:41 ` pinskia at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-05 21:41 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-05-05 21:41 -------
Fixed for 3.4.1.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |3.4.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15290
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2004-05-05 21:41 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-05 7:04 [Bug target/15290] New: __float128 failed to pass to function properly hjl at lucon dot org
2004-05-05 18:09 ` [Bug target/15290] " hjl at lucon dot org
2004-05-05 18:56 ` hjl at lucon dot org
2004-05-05 20:17 ` cvs-commit at gcc dot gnu dot org
2004-05-05 20:19 ` cvs-commit at gcc dot gnu dot org
2004-05-05 21:41 ` 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).