https://bugs.kde.org/show_bug.cgi?id=430158

            Bug ID: 430158
           Summary: below main misses some "optimizations"
           Product: valgrind
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: massif
          Assignee: n...@valgrind.org
          Reporter: m...@klomp.org
  Target Milestone: ---

gcc can do a couple more optimizations for generic_start_main, like
generic_start_main.isra.0 or generic_start_main.constprop.0.isra.0.

For ppc we already recognize generic_start_main.isra.0, but nothing else.

It would probably be good to recognize any optimization in get_fnname_kind like
so:

#      if defined(VGO_linux)
        VG_STREQ("__libc_start_main",  name) ||  // glibc glibness              
        VG_STREQ("generic_start_main", name) ||  // Yellow Dog doggedness       
        VG_STREQN(19, "generic_start_main.", name) || // gcc optimization       
#      elif defined(VGO_darwin)

This fixes ./massif/tests/deep-D.vgtest on same setups, and we could then get
rid of ./massif/tests/deep-D.post.diff-ppc64

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to