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