public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: fred@nextnewgig.com To: gcc-gnats@gcc.gnu.org Subject: target/6522: Incorrect struct offset for unaligned 64-bit fields in debug information Date: Tue, 30 Apr 2002 13:56:00 -0000 [thread overview] Message-ID: <20020430204700.26866.qmail@sources.redhat.com> (raw) >Number: 6522 >Category: target >Synopsis: Incorrect struct offset for unaligned 64-bit fields in debug information >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Tue Apr 30 13:56:00 PDT 2002 >Closed-Date: >Last-Modified: >Originator: fred@nextnewgig.com >Release: GNU C++ version 2.96 20000731 (Red Hat Linux 7.1 2.96-98) >Organization: >Environment: Linux x86 >Description: The debug symbol information is incorrect for unaligned 64-bit fields in a struct. >How-To-Repeat: Compile with "gcc -o t64 -gdwarf-2 t64.cpp", run gdb on this program and notice that the difference between the address of Global_struct.bbb and Global_struct.aa is 8 when it should be 4. Displaying Global_struct or Local_struct at the end of this program will result in the incorrect value for field bbb being displayed. >Fix: >Release-Note: >Audit-Trail: >Unformatted:
next reply other threads:[~2002-04-30 20:56 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-04-30 13:56 fred [this message] 2002-04-30 16:30 jakub 2002-05-01 6:16 Fred Young 2002-05-02 18:42 Daniel Jacobowitz 2002-05-03 3:26 Jakub Jelinek 2002-05-03 10:36 Daniel Jacobowitz 2003-01-02 18:36 Nathanael Nerode 2003-01-03 3:56 Daniel Jacobowitz
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=20020430204700.26866.qmail@sources.redhat.com \ --to=fred@nextnewgig.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).