public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "sje at cup dot hp.com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/45388] [4.6 Regression] Global constructor not found Date: Sat, 25 Sep 2010 00:15:00 -0000 [thread overview] Message-ID: <20100925001500.tt6j9wI58DSqRihLix0UbhXhzCQKiR0OTInd1Og1Cy0@z> (raw) In-Reply-To: <bug-45388-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45388 --- Comment #6 from Steve Ellcey <sje at cup dot hp.com> 2010-09-24 23:45:28 UTC --- I have a patch I am testing. It worked on the test case but I haven't fully bootstrapped it. Index: ipa.c =================================================================== --- ipa.c (revision 164578) +++ ipa.c (working copy) @@ -1480,6 +1480,7 @@ build_cdtor (bool ctor_p, VEC (tree, hea DECL_STATIC_CONSTRUCTOR (fn) = 0; else DECL_STATIC_DESTRUCTOR (fn) = 0; + TREE_PUBLIC (fn) = 1; /* We do not want to optimize away pure/const calls here. When optimizing, these should be already removed, when not optimizing, we want user to be able to breakpoint in them. */ -- Configure bugmail: http://gcc.gnu.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
next prev parent reply other threads:[~2010-09-24 23:45 UTC|newest] Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top [not found] <bug-45388-4@http.gcc.gnu.org/bugzilla/> 2010-09-24 21:09 ` sje at cup dot hp.com 2010-09-24 22:40 ` sje at cup dot hp.com 2010-09-25 0:15 ` sje at cup dot hp.com [this message] 2010-09-27 10:39 ` dave at hiauly1 dot hia.nrc.ca 2010-12-12 19:55 ` hubicka at gcc dot gnu.org 2010-12-13 17:29 ` hubicka at gcc dot gnu.org 2010-12-13 17:32 ` hubicka at gcc dot gnu.org 2010-12-13 18:05 ` amonakov at gcc dot gnu.org 2010-12-14 1:27 ` hubicka at gcc dot gnu.org 2010-12-15 11:55 ` jakub at gcc dot gnu.org 2010-08-23 20:51 [Bug middle-end/45388] New: " danglin at gcc dot gnu dot org 2010-08-23 20:58 ` [Bug middle-end/45388] " danglin at gcc dot gnu dot org 2010-08-24 8:55 ` rguenth at gcc dot gnu dot org 2010-08-24 12:13 ` hubicka at gcc dot gnu dot org 2010-08-24 15:07 ` dave at hiauly1 dot hia dot nrc dot ca 2010-09-02 11:19 ` rguenth 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=20100925001500.tt6j9wI58DSqRihLix0UbhXhzCQKiR0OTInd1Og1Cy0@z \ --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).