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

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Wed Apr 23 08:31:48 2014
New Revision: 209677

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

    Backport from mainline
    2014-04-14  Richard Biener  <rguent...@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:
    branches/gcc-4_9-branch/gcc/testsuite/gcc.dg/lto/pr60720_0.c
    branches/gcc-4_9-branch/gcc/testsuite/gcc.dg/lto/pr60720_1.c
Modified:
    branches/gcc-4_9-branch/gcc/ChangeLog
    branches/gcc-4_9-branch/gcc/lto-streamer-out.c
    branches/gcc-4_9-branch/gcc/testsuite/ChangeLog

Reply via email to