This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/41633] New: -Wframe-larger-than should warn about outgoing function calls, specifically varargs
- From: "fche at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Oct 2009 18:57:52 -0000
- Subject: [Bug c/41633] New: -Wframe-larger-than should warn about outgoing function calls, specifically varargs
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
gcc should warn when the stack frame for a called varargs function
is in excess of a -Wframe-larger-than=NNN bytes. Such a check could
be done at each call site, to see whether the outgoing arguments
alone already exhaust NNN.
--
Summary: -Wframe-larger-than should warn about outgoing function
calls, specifically varargs
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: fche at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41633