This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug lto/46083] gcc.dg/initpri1.c FAILs with -flto/-fwhopr (attribute constructor/destructor doesn't work)


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

--- Comment #5 from Jan Hubicka <hubicka at gcc dot gnu.org> 2011-01-10 21:54:37 UTC ---
Author: hubicka
Date: Mon Jan 10 21:54:33 2011
New Revision: 168642

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=168642
Log:

    PR lto/46083
    * lto-streamer-out.c (pack_ts_function_decl_value_fields): Store
    DECL_FINI_PRIORITY.
    * lto-streamer-in.c (unpack_ts_function_decl_value_fields):
    Restore DECL_FINI_PRIORITY.
    * gcc.dg/initpri3.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.dg/initpri3.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/lto-streamer-in.c
    trunk/gcc/lto-streamer-out.c
    trunk/gcc/testsuite/ChangeLog


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]