This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
other/6737: feature request: stack realignment attribute
- From: wesslen at users dot sourceforge dot net
- To: gcc-gnats at gcc dot gnu dot org
- Date: 20 May 2002 13:15:59 -0000
- Subject: other/6737: feature request: stack realignment attribute
- Reply-to: wesslen at users dot sourceforge dot net
>Number: 6737
>Category: other
>Synopsis: feature request: stack realignment attribute
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Mon May 20 06:26:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Daniel Wesslén
>Release: 3.1
>Organization:
>Environment:
>Description:
Since the stack may become unaligned by externally compiled code, I request a function attribute that emits code to realign the stack (same as for main()).
This is becoming increasingly important now, when simd support has been added to gcc.
Since main() already does this it shouldn't be a big issue (I may be wrong of cource).
Example:
void foo() __attribute__(realign)
{
// ...
}
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: