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, PR tree-optimization/65002] Disable SRA for functions wrongly marked as read-only


On Fri, Feb 13, 2015 at 10:21:42AM +0100, Richard Biener wrote:
> > I wonder if this won't pessimize const functions that just get called with
> > aggregate arguments passed by value, do those count as memory read or
> > just as parameters?
> 
> They count as memory reads and thus cause a VUSE (similar to aggregate
> returns causing a VDEF).

Ok.

	Jakub


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