This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

other/6737: feature request: stack realignment attribute



>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:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]