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]

Re: TREE_ADDRESSABLE and trivial dead stores before inlining


Jan Hubicka wrote on 02/04/07 07:02:

This patch implements two very simple passes - one to recompute address taken and
other to remove stores into write only variables.

Hmm, I don't think I like this approach too much. Having passes that workaround problems will create maintenance problems down the road.

How about this? We create a partitioning heuristic that puts *every* symbol inside the same partition. This way we can run all the usual clean up passes without having to worry about butchering them to compensate for the lack of aliasing information.

I would rather deal with any bugs uncovered by this. Partitioning everything so that they all belong to the same partition should guarantee the creation of just 1 VOP per statement, and any bugs uncovered by this are only going to help us during stage2/stage3.


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