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

            Bug ID: 122706
           Summary: pass_waccess::gimple_call_return_arg should handle
                    more builtins
           Product: gcc
           Version: 16.0
            Status: UNCONFIRMED
          Keywords: diagnostic
          Severity: enhancement
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: pinskia at gcc dot gnu.org
  Target Milestone: ---

>From https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104715#c4 :
```
Note, I think pass_waccess::gimple_call_return_arg should also handle
BUILT_IN_STRPBRK, but that is probably GCC 13 material.
```

Here is a list of ones which I think are still missing:
BUILT_IN_STRPBRK
BUILT_IN_STRCSPN
BUILT_IN_RINDEX
BUILT_IN_INDEX

BUILT_IN_ASSUME_ALIGNED ? this one is questionable but I think is correct in
this case because the offset can be 0 (we don't want to see through the builtin
otherwise)

BUILT_IN_EXTEND_POINTER ? Maybe but not used that often so it does not matter
(only used in libgcc and only in hpux-ia64 [maybe x32 too?] code)
BUILT_IN_EXTRACT_RETURN_ADDR ? Likewise

Reply via email to