public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/46083] New: gcc.dg/initpri1.c FAILs with -flto/-fwhopr (attribute constructor/destructor doesn't work)
@ 2010-10-19 16:55 zsojka at seznam dot cz
  2010-10-20 10:07 ` [Bug lto/46083] " rguenth at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: zsojka at seznam dot cz @ 2010-10-19 16:55 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: gcc.dg/initpri1.c FAILs with -flto/-fwhopr (attribute
                    constructor/destructor doesn't work)
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: zsojka@seznam.cz


Output:
$ gcc gcc.dg/initpri1.c && ./a.out
$ gcc gcc.dg/initpri1.c -flto && ./a.out
Aborted
$ gcc gcc.dg/initpri1.c -fwhopr && ./a.out
Aborted

With another testcase, -flto worked fine, but -fwhopr failed.
Constructors and destructors are executed, but not in expected order.

Tested revisions:
r165699 - fail


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

end of thread, other threads:[~2024-06-05  7:03 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-19 16:55 [Bug lto/46083] New: gcc.dg/initpri1.c FAILs with -flto/-fwhopr (attribute constructor/destructor doesn't work) zsojka at seznam dot cz
2010-10-20 10:07 ` [Bug lto/46083] " rguenth at gcc dot gnu.org
2010-10-21  5:32 ` hubicka at ucw dot cz
2010-10-21  7:42 ` zsojka at seznam dot cz
2011-01-08 20:44 ` hubicka at gcc dot gnu.org
2011-01-10 22:07 ` hubicka at gcc dot gnu.org
2011-01-10 22:10 ` hubicka at gcc dot gnu.org
2024-06-05  7:03 ` cvs-commit at gcc dot gnu.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).