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

            Bug ID: 107606
           Summary: rs6000: Option not to use parameter save area in
                    variadic function implementations
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: fw at gcc dot gnu.org
                CC: bergner at gcc dot gnu.org
  Target Milestone: ---
            Target: powerpc64le-*-linux-gnu

Programmers tend to call functions like open, openat and prctl through
non-variadic prototypes. As a result, the caller does not set up the parameter
save area. Use of the parameter save area in the glibc implementation then
leads to difficult-to-diagnose (non-localized) memory corruption.

For glibc, we could use either a command-line option or a function attribute.

Reply via email to