[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug target/14547] New: [3.4 Regression] Passing _Complex long double do
From: |
rth at gcc dot gnu dot org |
Subject: |
[Bug target/14547] New: [3.4 Regression] Passing _Complex long double does not follow the ABI |
Date: |
12 Mar 2004 08:21:48 -0000 |
The SPLIT_COMPLEX_ARGS code added to 3.4 is not sufficiently general. On Alpha,
_Complex float and _Complex double are supposed to be split, while _Complex long
double is passed by invisible reference, just like plain long double.
This ABI problem is noticed by gcc.dg/compat/scalar-by-value-3, since we do in
fact do the right thing in va_arg(), but can trivially be seen by examining the
code generated for
void foo(_Complex long double);
void bar(void) { foo(0); }
Patch in progress...
--
Summary: [3.4 Regression] Passing _Complex long double does not
follow the ABI
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Keywords: wrong-code, ABI
Severity: critical
Priority: P2
Component: target
AssignedTo: rth at gcc dot gnu dot org
ReportedBy: rth at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: alpha*-*-*
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14547
- [Bug target/14547] New: [3.4 Regression] Passing _Complex long double does not follow the ABI,
rth at gcc dot gnu dot org <=