On Thu, Jul 14, 2016 at 9:43 PM, kugan <kugan.vivekanandara...@linaro.org> wrote: > > Hi, > > > > This patch adds check for POINTER_TYPE_P before accessing SSA_NAME_PTR_INFO > in remap_ssa_name in gcc/tree-inline.c. This is not related to IPA_VRP but > was exposed by that.
SSA_NAME_PTR_INFO should be NULL for non POINTER_TYPE ssa names? Why is it not null in your case? In both cases there is a check for SSA_NAME_PTR_INFO being NULL before using it. Thanks, Andrew > > > > Thanks, > > Kugan > > > > > > gcc/ChangeLog: > > > > 2016-07-14 Kugan Vivekanandarajah <kug...@linaro.org> > > > > * tree-inline.c (remap_ssa_name): Check for POINTER_TYPE_P before > > accessing SSA_NAME_PTR_INFO. > > > > >