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/79061] [7 Regression][LTO][ASAN] LTO plus ASAN fails with "AddressSanitizer: initialization-order-fiasco"


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79061

--- Comment #19 from chefmax at gcc dot gnu.org ---
Author: chefmax
Date: Wed Jan 25 07:45:40 2017
New Revision: 244890

URL: https://gcc.gnu.org/viewcvs?rev=244890&root=gcc&view=rev
Log:
PR lto/79061

gcc/

        * asan.c (get_translation_unit_decl): New function.
        (asan_add_global): Extract modules file name from globals
        TRANSLATION_UNIT_DECL name.

gcc/fortran/

        * f95-lang.c (gfc_create_decls): Include stringpool.h.
        Pass main_input_filename to build_translation_unit_decl.

gcc/ada/

        * gcc-interface/utils.c (get_global_context): Pass main_input_filename
        to build_translation_unit_decl.

gcc/c/

        * c-decl.c (pop_scope): Pass main_input_filename to
        build_translation_unit_decl.

gcc/cp/

        * decl.c (cxx_init_decl_processing): Pass main_input_filename
        to build_translation_unit_decl.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/ada/ChangeLog
    trunk/gcc/ada/gcc-interface/utils.c
    trunk/gcc/asan.c
    trunk/gcc/c/ChangeLog
    trunk/gcc/c/c-decl.c
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl.c
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/f95-lang.c

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