public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/43038]  New: DECL_PRESERVE_P static globals not completely preserved with -flto
@ 2010-02-11 16:38 baldrick at gcc dot gnu dot org
  2010-02-11 16:42 ` [Bug lto/43038] " rguenth at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: baldrick at gcc dot gnu dot org @ 2010-02-11 16:38 UTC (permalink / raw)
  To: gcc-bugs

The fact that LinkObj is initialized with LinkVar does not seem to be
preserved when using -flto:

extern const char LinkVar;
__attribute__((used)) static const char *const LinkObj = LinkVar;


-- 
           Summary: DECL_PRESERVE_P static globals not completely preserved
                    with -flto
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: baldrick at gcc dot gnu dot org
 GCC build triplet: x86_64-unknown-linux-gnu
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43038


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-06-06 10:33 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-11 16:38 [Bug lto/43038] New: DECL_PRESERVE_P static globals not completely preserved with -flto baldrick at gcc dot gnu dot org
2010-02-11 16:42 ` [Bug lto/43038] " rguenth at gcc dot gnu dot org
2010-02-11 16:43 ` baldrick at gcc dot gnu dot org
2010-04-23 16:14 ` rguenth at gcc dot gnu dot org
2010-06-03 15:15 ` rguenth at gcc dot gnu dot org
2010-06-03 15:15 ` rguenth at gcc dot gnu dot org
2010-06-06 10:33 ` rguenth at gcc dot gnu dot org

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).