This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Remove set only bitmap in static_execute in ipa-reference.c


Hi,
  While looking into PR 35403, I Noticed that the module_statics_const
bitmap was only being set and never actually being looked into.  This
patch removes this bitmap and the code which would dump the extra
information to the dump file.

I also added a testcase for PR 35403 since it was already fixed by my
patch to fix PR 35402.  I had originally thought this bitmap
controlled some extra stuff but it turned out it does not.

OK?  Bootstrapped and tested on i386-apple-darwin with no regressions.

Thanks,
Andrew Pinski

ChangeLog:

* ipa-reference.c (static_execute): Remove module_statics_const and
associated setting code.

* gcc.dg/tree-ssa/ipa-reference-1.c: New testcase.

Attachment: remove.diff.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]