This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/41658] Execution testsuite fails with -O2 -fwhopr
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Dec 2009 18:00:45 -0000
- Subject: [Bug lto/41658] Execution testsuite fails with -O2 -fwhopr
- References: <bug-41658-276@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from rguenth at gcc dot gnu dot org 2009-12-11 18:00 -------
Subject: Bug 41658
Author: rguenth
Date: Fri Dec 11 18:00:24 2009
New Revision: 155174
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155174
Log:
2009-12-11 Richard Guenther <rguenther@suse.de>
PR lto/41658
PR lto/41657
* lto-streamer-out.c (write_global_stream): Do not make decls
weak but resort to TREE_ASM_WRITTEN to avoid multiple definitions.
Make sure to mark all decls that we have written.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/lto-streamer-out.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41658