This is the mail archive of the gcc-bugs@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]

[Bug middle-end/36201] NVR in the front-end causes missed optimization later on (<retval> thought to alias arguments)



------- Comment #3 from rguenth at gcc dot gnu dot org  2008-05-13 11:41 -------
The patch isn't really correct, but the problem is that the fact that <result>
is marked addressable is causing flow-insensitive analysis to say that the
incoming pointers can alias it.

Also incoming pointers don't get useful constraints for PTA - they should get
&NONLOCAL (err, ok - we had that once ;)).  Or we can simply prune the
points-to set after the fact.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36201


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