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: [PATCH] Make alias_sets_conflict_p less conservative


> Yes, I was asking if it was meaningful to do it for C too -- especially 
> for LTO it could make sense.

If you work globally, you can do far better and can do essentially the same
as we do for Ada.  What you do is to detect all cases of other pointers
(e.g., int *) that get assigned from char * and use a TYPE_CAN_ALIAS_ALL
variant of that pointer for those int * variables.


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