public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/19268] New: GCC 3.3/Irix 6.5 union as vararg not passed correctly
@ 2005-01-05 16:01 gcc-bugzilla at gcc dot gnu dot org
2005-01-05 16:36 ` [Bug c/19268] " chli002 at rz dot uni-saarland dot de
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: gcc-bugzilla at gcc dot gnu dot org @ 2005-01-05 16:01 UTC (permalink / raw)
To: gcc-bugs
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c/19268] GCC 3.3/Irix 6.5 union as vararg not passed correctly
2005-01-05 16:01 [Bug c/19268] New: GCC 3.3/Irix 6.5 union as vararg not passed correctly gcc-bugzilla at gcc dot gnu dot org
@ 2005-01-05 16:36 ` chli002 at rz dot uni-saarland dot de
2005-01-05 18:07 ` [Bug target/19268] " pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: chli002 at rz dot uni-saarland dot de @ 2005-01-05 16:36 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From chli002 at rz dot uni-saarland dot de 2005-01-05 16:35 -------
Created an attachment (id=7877)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7877&action=view)
The test case that I forgot in the bug report
The code below belongs to the bug report; I just had forgotten to include it
when I sent the report. Compile and run this code to check validate the bug.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19268
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/19268] GCC 3.3/Irix 6.5 union as vararg not passed correctly
2005-01-05 16:01 [Bug c/19268] New: GCC 3.3/Irix 6.5 union as vararg not passed correctly gcc-bugzilla at gcc dot gnu dot org
2005-01-05 16:36 ` [Bug c/19268] " chli002 at rz dot uni-saarland dot de
@ 2005-01-05 18:07 ` pinskia at gcc dot gnu dot org
2005-01-06 7:41 ` lindig at cs dot uni-sb dot de
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-05 18:07 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-05 18:07 -------
Can you test 3.4.x as there were changes to the MIPS back-end which might have fixed this.
--
What |Removed |Added
----------------------------------------------------------------------------
Component|c |target
Keywords| |ABI, wrong-code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19268
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/19268] GCC 3.3/Irix 6.5 union as vararg not passed correctly
2005-01-05 16:01 [Bug c/19268] New: GCC 3.3/Irix 6.5 union as vararg not passed correctly gcc-bugzilla at gcc dot gnu dot org
2005-01-05 16:36 ` [Bug c/19268] " chli002 at rz dot uni-saarland dot de
2005-01-05 18:07 ` [Bug target/19268] " pinskia at gcc dot gnu dot org
@ 2005-01-06 7:41 ` lindig at cs dot uni-sb dot de
2005-01-08 14:02 ` rsandifo at gcc dot gnu dot org
2005-01-08 16:53 ` gdr at integrable-solutions dot net
4 siblings, 0 replies; 6+ messages in thread
From: lindig at cs dot uni-sb dot de @ 2005-01-06 7:41 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From lindig at cs dot uni-sb dot de 2005-01-06 07:41 -------
Subject: Re: GCC 3.3/Irix 6.5 union as vararg not passed correctly
On Jan 5, 2005, at 7:07 PM, pinskia at gcc dot gnu dot org wrote:
> Can you test 3.4.x as there were changes to the MIPS back-end which
> might have fixed this.
If this question was addressed to me, the reporter of the bug: I tried
to build the recent GCC from CVS on the Irix but failed. There is no
more recent GCC than 3.3 installed on the machine and therefore I can't
easily run the test.
This machine is part of our computing center and I don't know much
about it. Building GCC is also a challenge because it exceeds my quotas
and I have to ask for special permissions first (even when building in
/tmp).
-- Christian
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19268
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/19268] GCC 3.3/Irix 6.5 union as vararg not passed correctly
2005-01-05 16:01 [Bug c/19268] New: GCC 3.3/Irix 6.5 union as vararg not passed correctly gcc-bugzilla at gcc dot gnu dot org
` (2 preceding siblings ...)
2005-01-06 7:41 ` lindig at cs dot uni-sb dot de
@ 2005-01-08 14:02 ` rsandifo at gcc dot gnu dot org
2005-01-08 16:53 ` gdr at integrable-solutions dot net
4 siblings, 0 replies; 6+ messages in thread
From: rsandifo at gcc dot gnu dot org @ 2005-01-08 14:02 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From rsandifo at gcc dot gnu dot org 2005-01-08 14:02 -------
Just to confirm that the testcase fails with 3.3.x but works with
3.4.x and current CVS. We can't really make ABI changes to a
stable branch so I'm closing this as fixed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Known to fail| |3.3.5
Known to work| |3.4.0 4.0.0
Resolution| |FIXED
Target Milestone|--- |3.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19268
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/19268] GCC 3.3/Irix 6.5 union as vararg not passed correctly
2005-01-05 16:01 [Bug c/19268] New: GCC 3.3/Irix 6.5 union as vararg not passed correctly gcc-bugzilla at gcc dot gnu dot org
` (3 preceding siblings ...)
2005-01-08 14:02 ` rsandifo at gcc dot gnu dot org
@ 2005-01-08 16:53 ` gdr at integrable-solutions dot net
4 siblings, 0 replies; 6+ messages in thread
From: gdr at integrable-solutions dot net @ 2005-01-08 16:53 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From gdr at integrable-solutions dot net 2005-01-08 16:53 -------
Subject: Re: GCC 3.3/Irix 6.5 union as vararg not passed correctly
"rsandifo at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> writes:
| Just to confirm that the testcase fails with 3.3.x but works with
| 3.4.x and current CVS. We can't really make ABI changes to a
| stable branch so I'm closing this as fixed.
Indeed. Thanks!
-- Gaby
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19268
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-01-08 16:53 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-05 16:01 [Bug c/19268] New: GCC 3.3/Irix 6.5 union as vararg not passed correctly gcc-bugzilla at gcc dot gnu dot org
2005-01-05 16:36 ` [Bug c/19268] " chli002 at rz dot uni-saarland dot de
2005-01-05 18:07 ` [Bug target/19268] " pinskia at gcc dot gnu dot org
2005-01-06 7:41 ` lindig at cs dot uni-sb dot de
2005-01-08 14:02 ` rsandifo at gcc dot gnu dot org
2005-01-08 16:53 ` gdr at integrable-solutions dot net
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).