[Bug c/19268] New: GCC 3.3/Irix 6.5 union as vararg not passed correctly
gcc-bugzilla at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Jan 5 16:01:00 GMT 2005
The code below passes a union (type ct1) as a var arg. The callee checks
that the union is indeed received correctly by checking each field. This
fails in line 38:
assert (hv1.bv1 == nv1.bv1);
Environment:
System: IRIX64 mars 6.5 07080049 IP27
host: mips-sgi-irix6.5
build: mips-sgi-irix6.5
target: mips-sgi-irix6.5
configured with: ../configure --prefix=/usr/freeware --enable-version-specific-runtime-libs --disable-shared --enable-threads --enable-haifa --enable-libgcj --disable-c-mbchar
How-To-Repeat:
Compile and run the following code. The bug manifests itself with
the following message:
Assertion failed: EX, file foo.c, line 38
------- Additional Comments From chli002 at rz dot uni-saarland dot de 2005-01-05 16:01 -------
Fix:
No Fix.
--
Summary: GCC 3.3/Irix 6.5 union as vararg not passed correctly
Product: gcc
Version: 3.3
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: chli002 at rz dot uni-saarland dot de
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: mips-sgi-irix6.5
GCC host triplet: mips-sgi-irix6.5
GCC target triplet: mips-sgi-irix6.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19268
More information about the Gcc-bugs
mailing list