public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/14567] New: long double and va_arg complex args
@ 2004-03-13 7:10 amodra at bigpond dot net dot au
2004-03-13 7:14 ` [Bug target/14567] " cvs-commit at gcc dot gnu dot org
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: amodra at bigpond dot net dot au @ 2004-03-13 7:10 UTC (permalink / raw)
To: gcc-bugs
va_arg on complex float and complex int is currently broken.
non-va_arg long double is too if split over reg and stack.
This bug report is to remind me to fix this for 3.4.1
--
Summary: long double and va_arg complex args
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Keywords: wrong-code
Severity: normal
Priority: P2
Component: target
AssignedTo: amodra at bigpond dot net dot au
ReportedBy: amodra at bigpond dot net dot au
CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: powerpc64-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14567
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/14567] long double and va_arg complex args
2004-03-13 7:10 [Bug target/14567] New: long double and va_arg complex args amodra at bigpond dot net dot au
@ 2004-03-13 7:14 ` cvs-commit at gcc dot gnu dot org
2004-03-13 7:15 ` [Bug target/14567] [3.4 only] " pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-03-13 7:14 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-03-13 07:14 -------
Subject: Bug 14567
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: amodra@gcc.gnu.org 2004-03-13 07:14:13
Modified files:
gcc : ChangeLog
gcc/config/rs6000: rs6000.c rs6000.h
Log message:
PR target/14567
* config/rs6000/rs6000.h (UNITS_PER_ARG, RS6000_ARG_SIZE): Delete.
(HARD_REGNO_MODE_OK): Disallow TFmode for fp31.
* config/rs6000/rs6000.c (rs6000_arg_size): New function.
Update all users of RS6000_ARG_SIZE.
(function_arg_advance): Count fregno using mode size.
(function_arg): Handle long double split over regs and memory.
(function_arg_partial_nregs): Likewise.
(rs6000_va_arg): Repackage complex args.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.3155&r2=2.3156
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/rs6000/rs6000.c.diff?cvsroot=gcc&r1=1.607&r2=1.608
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/rs6000/rs6000.h.diff?cvsroot=gcc&r1=1.316&r2=1.317
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14567
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/14567] [3.4 only] long double and va_arg complex args
2004-03-13 7:10 [Bug target/14567] New: long double and va_arg complex args amodra at bigpond dot net dot au
2004-03-13 7:14 ` [Bug target/14567] " cvs-commit at gcc dot gnu dot org
@ 2004-03-13 7:15 ` pinskia at gcc dot gnu dot org
2004-03-13 7:20 ` pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-03-13 7:15 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-03-13 07:15 -------
Confirmed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-03-13 07:15:48
date| |
Summary|long double and va_arg |[3.4 only] long double and
|complex args |va_arg complex args
Target Milestone|--- |3.4.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14567
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/14567] [3.4 only] long double and va_arg complex args
2004-03-13 7:10 [Bug target/14567] New: long double and va_arg complex args amodra at bigpond dot net dot au
2004-03-13 7:14 ` [Bug target/14567] " cvs-commit at gcc dot gnu dot org
2004-03-13 7:15 ` [Bug target/14567] [3.4 only] " pinskia at gcc dot gnu dot org
@ 2004-03-13 7:20 ` pinskia at gcc dot gnu dot org
2004-03-13 7:24 ` amodra at bigpond dot net dot au
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-03-13 7:20 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Last reconfirmed|2004-03-13 07:15:48 |2004-03-13 07:20:17
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14567
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/14567] [3.4 only] long double and va_arg complex args
2004-03-13 7:10 [Bug target/14567] New: long double and va_arg complex args amodra at bigpond dot net dot au
` (2 preceding siblings ...)
2004-03-13 7:20 ` pinskia at gcc dot gnu dot org
@ 2004-03-13 7:24 ` amodra at bigpond dot net dot au
2004-03-17 6:27 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: amodra at bigpond dot net dot au @ 2004-03-13 7:24 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From amodra at bigpond dot net dot au 2004-03-13 07:24 -------
Patch at http://gcc.gnu.org/ml/gcc-patches/2004-02/msg00632.html
Patch committed to mainline is slightly different to accommodate other changes
to function_arg.
--
What |Removed |Added
----------------------------------------------------------------------------
Known to fail| |3.4.0
Known to work| |3.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14567
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/14567] [3.4 only] long double and va_arg complex args
2004-03-13 7:10 [Bug target/14567] New: long double and va_arg complex args amodra at bigpond dot net dot au
` (3 preceding siblings ...)
2004-03-13 7:24 ` amodra at bigpond dot net dot au
@ 2004-03-17 6:27 ` pinskia at gcc dot gnu dot org
2004-03-20 6:10 ` andreast at gcc dot gnu dot org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-03-17 6:27 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-03-17 06:27 -------
I think this changes the alignment of structs passing on powerpc-apple-darwin. The testcase libffi/
testsuite/libffi.call/cls_3_1byte.c fails now.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14567
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/14567] [3.4 only] long double and va_arg complex args
2004-03-13 7:10 [Bug target/14567] New: long double and va_arg complex args amodra at bigpond dot net dot au
` (4 preceding siblings ...)
2004-03-17 6:27 ` pinskia at gcc dot gnu dot org
@ 2004-03-20 6:10 ` andreast at gcc dot gnu dot org
2004-06-10 5:44 ` cvs-commit at gcc dot gnu dot org
2004-06-10 5:46 ` amodra at bigpond dot net dot au
7 siblings, 0 replies; 9+ messages in thread
From: andreast at gcc dot gnu dot org @ 2004-03-20 6:10 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From andreast at gcc dot gnu dot org 2004-03-20 06:10 -------
This patch is not responsible for the changes in the alignment mentioned by
Andrew. (14262 is)
Everything ok.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14567
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/14567] [3.4 only] long double and va_arg complex args
2004-03-13 7:10 [Bug target/14567] New: long double and va_arg complex args amodra at bigpond dot net dot au
` (5 preceding siblings ...)
2004-03-20 6:10 ` andreast at gcc dot gnu dot org
@ 2004-06-10 5:44 ` cvs-commit at gcc dot gnu dot org
2004-06-10 5:46 ` amodra at bigpond dot net dot au
7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-06-10 5:44 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-06-10 05:44 -------
Subject: Bug 14567
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_4-branch
Changes by: amodra@gcc.gnu.org 2004-06-10 05:43:54
Modified files:
gcc : ChangeLog
gcc/config/rs6000: rs6000.c rs6000.h
Log message:
PR target/14567
2004-03-13 Alan Modra <amodra@bigpond.net.au>
* config/rs6000/rs6000.h (UNITS_PER_ARG, RS6000_ARG_SIZE): Delete.
(HARD_REGNO_MODE_OK): Disallow TFmode for fp31.
* config/rs6000/rs6000.c (rs6000_arg_size): New function.
Update all users of RS6000_ARG_SIZE.
(function_arg_advance): Count fregno using mode size.
(function_arg): Handle long double split over regs and memory.
(function_arg_partial_nregs): Likewise.
(rs6000_va_arg): Repackage complex args.
2004-02-23 Fariborz Jahanian <fjahanian@apple.com>
* config/rs6000/rs6000.c (function_arg): call to
rs6000_mixed_function_arg for DFmode moved to allow
normal DFmode incoming register assignment.
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.485&r2=2.2326.2.486
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/rs6000/rs6000.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.576.2.20&r2=1.576.2.21
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/rs6000/rs6000.h.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.306.4.4&r2=1.306.4.5
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14567
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/14567] [3.4 only] long double and va_arg complex args
2004-03-13 7:10 [Bug target/14567] New: long double and va_arg complex args amodra at bigpond dot net dot au
` (6 preceding siblings ...)
2004-06-10 5:44 ` cvs-commit at gcc dot gnu dot org
@ 2004-06-10 5:46 ` amodra at bigpond dot net dot au
7 siblings, 0 replies; 9+ messages in thread
From: amodra at bigpond dot net dot au @ 2004-06-10 5:46 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From amodra at bigpond dot net dot au 2004-06-10 05:46 -------
Fixed
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14567
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2004-06-10 5:46 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-13 7:10 [Bug target/14567] New: long double and va_arg complex args amodra at bigpond dot net dot au
2004-03-13 7:14 ` [Bug target/14567] " cvs-commit at gcc dot gnu dot org
2004-03-13 7:15 ` [Bug target/14567] [3.4 only] " pinskia at gcc dot gnu dot org
2004-03-13 7:20 ` pinskia at gcc dot gnu dot org
2004-03-13 7:24 ` amodra at bigpond dot net dot au
2004-03-17 6:27 ` pinskia at gcc dot gnu dot org
2004-03-20 6:10 ` andreast at gcc dot gnu dot org
2004-06-10 5:44 ` cvs-commit at gcc dot gnu dot org
2004-06-10 5:46 ` amodra at bigpond dot net dot au
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).