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 middle-end/20548] [4.3/4.4/4.5 regression] ACATS c52103x c52104x c52104y segfault



------- Comment #42 from ebotcazou at gcc dot gnu dot org  2009-11-07 10:05 -------
> As I understand it, there is still a patch pending for i386?

Yes, the current stack checking method is not bullet-proof and can fail to
detect stack overflows; a warning should be issued in that case though.  The
enhanced method indeed requires another patch for the x86 back-end, that I plan
to resubmit for 4.5 once I've fixed the optimization bug exhibited by a few
ACATS tests.

> Does anyone plan to backport this patch into gcc-4_4-branch?

No, no plan to backport this as far as I'm concerned.  Note that some support
code is needed in the Ada runtime (init.c, see the comments).

> I am considering applying this patch (up to r153918) in Debian's
> gnat-4.4.  Before I do that, I'd like to know whether this would break
> ABI compatibility. Consider the following scenario:

-fstack-check is broken with GCC 4.4 on x86/x86-64 Linux, it generates code
that will easily segfault so I doubt compatibility really matters.  In any
case, -fstack-check doesn't change the ABI.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20548


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