This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/10719] invalid code generated (x86, "int $5") with __builtin_va_arg(va, char);
- From: "appfault at hotmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Sep 2005 16:09:59 -0000
- Subject: [Bug c/10719] invalid code generated (x86, "int $5") with __builtin_va_arg(va, char);
- References: <20030509203601.10719.sb@biallas.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From appfault at hotmail dot com 2005-09-14 16:09 -------
Ok, so that's the best code it can generate, fine. So if instant segfault is
the best possible generated code, I think NOT generating any code is far more
helpful to the user. If not generating any code doesn't conform to the
standard, then it seems like it should be at least optional. Who knows how
many of these "int $5" ticking timebombs are lurking out there in mission
critical software.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10719