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/60720] clisp fails to build with -flto: internal compiler error: tree check: expected array_type, have record_type in array_ref_low_bound, at expr.c:6941


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

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Mon Apr 14 08:35:22 2014
New Revision: 209359

URL: http://gcc.gnu.org/viewcvs?rev=209359&root=gcc&view=rev
Log:
2014-04-14  Richard Biener  <rguenther@suse.de>

    PR lto/60720
    * lto-streamer-out.c (wrap_refs): New function.
    (lto_output): Wrap symbol references in global initializes in
    type-preserving MEM_REFs.

    * gcc.dg/lto/pr60720_0.c: New testcase.
    * gcc.dg/lto/pr60720_1.c: Likewise.

Added:
    trunk/gcc/testsuite/gcc.dg/lto/pr60720_0.c
    trunk/gcc/testsuite/gcc.dg/lto/pr60720_1.c
Modified:
    trunk/gcc/ChangeLog
    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]