public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/39179] Wrong code in c++ for const members initialized in external file Date: Sat, 14 Feb 2009 16:55:00 -0000 [thread overview] Message-ID: <20090214165520.3024.qmail@sourceware.org> (raw) In-Reply-To: <bug-39179-15155@http.gcc.gnu.org/bugzilla/> ------- Comment #1 from rguenth at gcc dot gnu dot org 2009-02-14 16:55 ------- Single-file testcase, reproduces with a x86_64-pc-mingw32 cross at any optimization level. get_symbol_constant_value returns zero for K::k. struct K { static const unsigned k; }; extern "C" void abort (void); int main() { if ( K::k != 1 ) abort (); return 1; } -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2009-02-14 16:55:18 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39179
next prev parent reply other threads:[~2009-02-14 16:55 UTC|newest] Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top 2009-02-13 15:45 [Bug c++/39179] New: " ktietz at gcc dot gnu dot org 2009-02-14 16:55 ` rguenth at gcc dot gnu dot org [this message] 2009-02-14 17:03 ` [Bug target/39179] " rguenth at gcc dot gnu dot org 2009-02-14 17:16 ` ebotcazou at gcc dot gnu dot org 2009-02-14 18:48 ` rguenth at gcc dot gnu dot org 2009-02-14 18:49 ` rguenth at gcc dot gnu dot org 2009-02-14 20:10 ` ktietz at gcc dot gnu dot org 2009-02-14 21:12 ` rguenth at gcc dot gnu dot org 2009-02-14 21:25 ` ktietz at gcc dot gnu dot org 2009-02-14 22:56 ` nightstrike at gmail dot com 2009-02-14 23:13 ` ktietz at gcc dot gnu dot org 2009-02-17 18:23 ` [Bug target/39179] [4.4 Regression] " jason at gcc dot gnu dot org 2009-02-17 18:30 ` hjl dot tools at gmail dot com 2009-02-17 18:48 ` rguenth at gcc dot gnu dot org 2009-02-17 18:52 ` hjl dot tools at gmail dot com 2009-02-17 18:54 ` rguenth at gcc dot gnu dot org 2009-02-17 18:56 ` ebotcazou at gcc dot gnu dot org 2009-02-17 22:57 ` jason at gcc dot gnu dot org 2009-02-17 23:01 ` jason at gcc dot gnu dot org 2009-02-17 23:40 ` jakub at gcc dot gnu dot org 2009-02-18 2:04 ` jason at gcc dot gnu dot org 2009-02-18 17:48 ` jason at gcc dot gnu dot org 2009-02-18 17:51 ` jason at gcc dot gnu dot org 2009-02-18 18:07 ` jason at gcc dot gnu dot org 2009-02-18 18:11 ` jason at gcc dot gnu dot org 2009-02-18 18:31 ` jason at gcc dot gnu dot org 2009-02-18 21:01 ` jason at gcc dot gnu dot org 2009-02-18 21:09 ` jason at gcc dot gnu dot org 2009-02-18 22:11 ` ebotcazou at gcc dot gnu dot org 2009-02-19 1:12 ` jason at gcc dot gnu dot org
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=20090214165520.3024.qmail@sourceware.org \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@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).