public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: debug/6313: instance and type def stab types do not agree
@ 2002-04-15 18:35 rth
0 siblings, 0 replies; 2+ messages in thread
From: rth @ 2002-04-15 18:35 UTC (permalink / raw)
To: aryeh, gcc-bugs, gcc-prs, nobody
Synopsis: instance and type def stab types do not agree
State-Changed-From-To: open->closed
State-Changed-By: rth
State-Changed-When: Mon Apr 15 18:35:15 2002
State-Changed-Why:
You didn't provide a compiler version. The problem
doesn't occur in gcc 3.1.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6313
^ permalink raw reply [flat|nested] 2+ messages in thread
* debug/6313: instance and type def stab types do not agree
@ 2002-04-15 12:46 aryeh
0 siblings, 0 replies; 2+ messages in thread
From: aryeh @ 2002-04-15 12:46 UTC (permalink / raw)
To: gcc-gnats
>Number: 6313
>Category: debug
>Synopsis: instance and type def stab types do not agree
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Apr 15 12:46:05 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: aryeh@dreamzion.com
>Release: unknown-1.0
>Organization:
>Environment:
FreeBSD loi.dreamzion.com 4.4-RELEASE FreeBSD 4.4-RELEASE #0: Tue Sep 18 11:57:08 PDT 2001 murray@builder.FreeBSD.org:/usr/src/sys/compile/GENERIC i386
>Description:
In foo.c:
foo()
{
int i;
}
in main.c:
main()
{
foo();
}
compile with:
cc -gstabs -c main.c
cc -gstabs -c foo.c
cc -gstabs main.o foo.o -o main
The final ELF executable (main) has the following n_string for the "int i" instance in foo():
i:(1,1)
and the definition of "int" in both foo.o and main.o is:
int:t(0,1)=r(0,1);-2147483648;2147483647;
Since all typedefs for int are of type 0,1 and the instance is 1,1 there is no way to match the instance up with its type.
>How-To-Repeat:
See instructions in bug
>Fix:
the stab generator needs to be fixed
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-04-16 1:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-15 18:35 debug/6313: instance and type def stab types do not agree rth
-- strict thread matches above, loose matches on Subject: below --
2002-04-15 12:46 aryeh
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).