This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/47924] [4.6 Regression] Missed optimization with LTO
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 1 Mar 2011 09:46:23 +0000
- Subject: [Bug lto/47924] [4.6 Regression] Missed optimization with LTO
- Auto-submitted: auto-generated
- References: <bug-47924-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47924
--- Comment #5 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-03-01 09:46:22 UTC ---
Author: rguenth
Date: Tue Mar 1 09:46:19 2011
New Revision: 170589
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170589
Log:
2011-03-01 Richard Guenther <rguenther@suse.de>
PR lto/47924
* lto-streamer.c (lto_record_common_node): Also register
the canonical type.
* gcc.dg/lto/pr47924_0.c: New testcase.
Added:
trunk/gcc/testsuite/gcc.dg/lto/pr47924_0.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/lto-streamer.c
trunk/gcc/testsuite/ChangeLog