gimple.c (gimple_register_type_1): Do not fiddle with main-variant or pointer-to...
authorRichard Guenther <rguenther@suse.de>
Fri, 20 May 2011 09:35:03 +0000 (09:35 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 20 May 2011 09:35:03 +0000 (09:35 +0000)
commitfb291a1ea7ed34478ee7a3c3ce7a0bd87915e79e
treef09684a1b04556f7ae7b1d021b47b245ae4e895b
parentb59eb51cac40f66eb7c02c175858a8498a815391
gimple.c (gimple_register_type_1): Do not fiddle with main-variant or pointer-to chains.

2011-05-20  Richard Guenther  <rguenther@suse.de>

* gimple.c (gimple_register_type_1): Do not fiddle with
main-variant or pointer-to chains.  Delay all fixup to
uniquify_nodes.

lto/
* lto.c (lto_ft_common): Remove pointer-to chain teardown.
(lto_ft_type): Move main-variant and pointer-to chain building ...
(uniquify_nodes): ... here.  Compute TYPE_CANONICAL also here,
in a separate final loop.

From-SVN: r173938
gcc/ChangeLog
gcc/gimple.c
gcc/lto/ChangeLog
gcc/lto/lto.c