This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/20548] [4.3/4.4/4.5 regression] ACATS c52103x c52104x c52104y segfault
- From: "ebotcazou at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Nov 2009 10:05:11 -0000
- Subject: [Bug middle-end/20548] [4.3/4.4/4.5 regression] ACATS c52103x c52104x c52104y segfault
- References: <bug-20548-7210@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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