public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: aryeh@dreamzion.com To: gcc-gnats@gcc.gnu.org Subject: debug/6313: instance and type def stab types do not agree Date: Mon, 15 Apr 2002 12:46:00 -0000 [thread overview] Message-ID: <20020415194355.15524.qmail@sources.redhat.com> (raw) >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:
next reply other threads:[~2002-04-15 19:46 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-04-15 12:46 aryeh [this message] 2002-04-15 18:35 rth
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20020415194355.15524.qmail@sources.redhat.com \ --to=aryeh@dreamzion.com \ --cc=gcc-gnats@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).