On Sun, Mar 1, 2015 at 11:53 PM, Jan Hubicka <hubi...@ucw.cz> wrote: > Hi, > this is a variant of patch I commited. > It takes care to load the constructor to memory in sem_variable::equals > and donot touch it earlier. I also made sem_variable::parse to skip volatile > and reigster variables. > > Bootstrapped/regtested x86_64-linux, lto-bootstrapped with > -fmerge-all-constants > comitted. > > Honza > > 2015-02-28 Martin Liska <mli...@suse.cz> > Jan Hubicka <hubi...@ucw.cz> > > * ipa-icf.c (sem_variable::equals): Improve debug output; > get variable constructor. > (sem_variable::parse): Do not filter out too early; give up on > volatile and register vars. > (sem_item_optimizer::filter_removed_items): Filter out nonreadonly > variables. > * ipa-icf.h (sem_variable::init): Do not set ctor. > (sem_variable::ctor): Remove. >
This caused: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65334 -- H.J.