OSDN Git Service

* gcc.dg/lto/ipareference2_0.c: New file.
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 19 May 2010 23:55:38 +0000 (23:55 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 19 May 2010 23:55:38 +0000 (23:55 +0000)
commite5507c8556da0a91485b192cec99ac3d92c85415
tree6693d9b62dde78d7a6046c55afba52bd7195c4e6
parent0eaaa1b0662a57628209e48b0cc49da3baa2908b
* gcc.dg/lto/ipareference2_0.c: New file.
* gcc.dg/lto/ipareference2_1.c: New file.
* lto.c (promote_var, promote_fn): New functions.
(lto_promote_cross_file_statics): Compute correctly boundary including
static initializers of readonly vars.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159604 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/lto/ChangeLog
gcc/lto/lto.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/lto/ipareference2_0.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/lto/ipareference2_1.c [new file with mode: 0644]