re PR lto/47924 (Missed optimization with LTO)
authorRichard Guenther <rguenther@suse.de>
Tue, 1 Mar 2011 09:46:19 +0000 (09:46 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 1 Mar 2011 09:46:19 +0000 (09:46 +0000)
commit7a00d9eaf66d34d3e26938e890a4fb880df531f4
tree4350359914b33a7170ae49a554770232e317a6c9
parent06c7edcc27e82d457693e971b2f7a7830b12a0a5
re PR lto/47924 (Missed optimization with LTO)

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.

From-SVN: r170589
gcc/ChangeLog
gcc/lto-streamer.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/lto/pr47924_0.c [new file with mode: 0644]