http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45821

           Summary: no warning when returning a local variable address
                    within a statement expression
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: c
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: g...@gaul.org


Created attachment 21904
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=21904
example of bug

GCC warns when returning a local variable address within a function but not
within a statement expression.

Reply via email to