OSDN Git Service

* lto.c (node_cmp, varpool_node_cmp): New functions.
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 20 Oct 2011 11:49:31 +0000 (11:49 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 20 Oct 2011 11:49:31 +0000 (11:49 +0000)
commitbc2cc717009ffd73f2249d96378847b7c86bd064
tree644d8527947266a707ace73a535961b21cadea3f
parent60ac8a3c08cc653bc92507cb1be08ca2ebe6774a
* lto.c (node_cmp, varpool_node_cmp): New functions.
(lto_balanced_map): Honnor -fno-toplevel-reorder of vars&functions.
(cmp_partitions): Rename to ...
(cmp_partitions_size): ... this one.
(cmp_partitions_order): New function.
(lto_wpa_write_files): Sort partitions by order when
-fno-toplevel-reorder is used.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180248 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/lto/ChangeLog
gcc/lto/lto.c