other/6737: feature request: stack realignment attribute
wesslen@users.sourceforge.net
wesslen@users.sourceforge.net
Mon May 20 06:26:00 GMT 2002
>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:
More information about the Gcc-bugs
mailing list