Re: [PATCH] Fix varpool handling of register variables (PR47259)

2011-12-02 Thread Jan Hubicka
Am Fri 02 Dec 2011 01:38:46 PM CET schrieb Richard Guenther : This fixes a recent regression on the testcase of PR47259 where we bring local a global register variable during WPA time and then mangle its register name spec during ltrans. Oops. indeed... (I am not in general sure how LTO sh

[PATCH] Fix varpool handling of register variables (PR47259)

2011-12-02 Thread Richard Guenther
This fixes a recent regression on the testcase of PR47259 where we bring local a global register variable during WPA time and then mangle its register name spec during ltrans. Oops. It doesn't make sense to bring "local" global register variables. Fixed by making varpool_externally_visible_p ret