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: [PR libmudflap/53952] don't check access to non-mem decls


On Thu, Dec 6, 2012 at 4:59 AM, Alexandre Oliva <aoliva@redhat.com> wrote:
> SRA (and perhaps other passes?) introduce “addressable” MEM_REFs to
> variables that were not addressable at the time mudflap1 ran registering
> valid memory ranges; when mudflap2 ran to emit the checks, it found such
> MEM_REFs, marking the variables as addressable and emitting checks that
> will fail at run time.
>
> This patch refactors mem_ref_refers_to_non_mem_p so that it retains its
> behavior, while introducing a variant for use by tree-mudflap.c that
> assumes a variable that doesn't have its RTL set may end up in a
> register.
>
> Regstrapped on x86_64-linux-gnu.  Ok to install?

Ok.

Thanks,
Richard.

>
>
> --
> Alexandre Oliva, freedom fighter    http://FSFLA.org/~lxoliva/
> You must be the change you wish to see in the world. -- Gandhi
> Be Free! -- http://FSFLA.org/   FSF Latin America board member
> Free Software Evangelist      Red Hat Brazil Compiler Engineer
>


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