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]

[Bug target/59674] On m68k and vax variables stack variables with > MAX_STACK_ALIGNMENT make ssp fail


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59674

Jeffrey A. Law <law at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P5
                 CC|                            |law at redhat dot com

--- Comment #10 from Jeffrey A. Law <law at redhat dot com> ---
As Andreas stated, having an ABI where the alignment of fundamental data types
is larger than the alignment of the stack will not work without significant
development.

Basically nothing guarantees that you stack is aligned enough to allow you to
then align those fundamental types on the stack.

To get the stack aligned properly you have to dynamically realigned the stack
at function entry, much like what's done for x86.

Without the dynamic stack alignment support, I would call the ABI used by
m68k-netbsd fundamentally broken.  Sigh.

Downgrading to P5.   m68k dynamic stack realignment isn't going to be a
priority.


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