This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
64-bit Sparc support and -fstack-check
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- To: gcc at gcc dot gnu dot org
- Date: Fri, 14 Feb 03 17:25:04 EST
- Subject: 64-bit Sparc support and -fstack-check
It appears this does not work at all. I suspect it has something to do with
the "stack bias", but I don't understand how the bias is implemented. It
would seem like it would have to be taken into account at register
elimination level (e.g,, for stack checking to work), but it's done at
virtual register instantiation level, so I'm confused.
To see the problem, compile
main()
{
char s[4096];
}
with -m64 -fstack-check and run.
Can somebody who understands this please explain how this is supposed to work?