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 ada/77968] [7 Regression] ICEs with -flto on gnat.dg


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

--- Comment #2 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Author: ebotcazou
Date: Fri Oct 14 10:28:27 2016
New Revision: 241154

URL: https://gcc.gnu.org/viewcvs?rev=241154&root=gcc&view=rev
Log:
        PR ada/77968
        * gcc-interface/utils.c (create_var_decl): Do not clear TREE_READONLY
        in LTO mode for an external variable.
        (can_materialize_object_renaming_p): Move up.

Added:
    trunk/gcc/testsuite/gnat.dg/lto18.adb
    trunk/gcc/testsuite/gnat.dg/lto18.ads
    trunk/gcc/testsuite/gnat.dg/lto18_pkg.ads
    trunk/gcc/testsuite/gnat.dg/lto19.adb
    trunk/gcc/testsuite/gnat.dg/lto19_pkg1.adb
    trunk/gcc/testsuite/gnat.dg/lto19_pkg1.ads
    trunk/gcc/testsuite/gnat.dg/lto19_pkg2.adb
    trunk/gcc/testsuite/gnat.dg/lto19_pkg2.ads
    trunk/gcc/testsuite/gnat.dg/lto20.adb
    trunk/gcc/testsuite/gnat.dg/lto20_pkg.adb
    trunk/gcc/testsuite/gnat.dg/lto20_pkg.ads
Modified:
    trunk/gcc/ada/ChangeLog
    trunk/gcc/ada/gcc-interface/utils.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gnat.dg/lto15.adb
    trunk/gcc/testsuite/gnat.dg/lto16.adb
    trunk/gcc/testsuite/gnat.dg/lto17.adb

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