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] Move Asan instrumentation to sanopt pass


On Sat, Jul 19, 2014 at 1:31 PM, Jakub Jelinek <jakub@redhat.com> wrote:
> On Fri, Jul 18, 2014 at 10:21:16PM +0400, Yuri Gribov wrote:
> Sounds like a bug, most likely in the lim pass.  If it for some reason
> decides to load from possibly uninitialized memory before the loop, it
> better should make sure TREE_NO_WARNING is set.  Can you please
> file a PR for this, with preprocessed asan.c and minimal gcc options to
> reproduce it?

Sure, I'll also check if I can submit a patch for this.

> As for the workaround, my strong preference would be to do something like
> following incrmeental patch instead, just use different gsi in the two
> loops.

Yeah, I also used this as a WAR originally.

-Y


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