https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106072

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c++                         |ipa
                 CC|                            |marxin at gcc dot gnu.org

--- Comment #9 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
#1  0x0000000001cb4b1c in (anonymous namespace)::pass_post_ipa_warn::execute
(this=0x40ec8a0, fun=0xffffcd8ed910) at
/home/ubuntu/src/upstream-gcc-aarch64/gcc/gcc/tree-ssa-ccp.cc:4683
4683                      if (warning_at (loc, OPT_Wnonnull,
(gdb) l
4678                                    ? EXPR_LOCATION (arg)
4679                                    : gimple_location (stmt));
4680                  auto_diagnostic_group d;
4681                  if (argno == 0)
4682                    {
4683                      if (warning_at (loc, OPT_Wnonnull,
4684                                      "%qs pointer is null", "this")
4685                          && fndecl)
4686                        inform (DECL_SOURCE_LOCATION (fndecl),
4687                                "in a call to non-static member function
%qD",

(gdb) p debug_gimple_stmt(stmt)
# .MEM_32 = VDEF <.MEM_75>
D.1130746 = OBJ_TYPE_REF(_6;(const struct Pattern)0B->6B) (0B);
$6 = void

Reply via email to