[Bug middle-end/45484] Invalid memory access in gcc.c-torture/execute/builtins/sprintf-chk.c
hjl dot tools at gmail dot com
gcc-bugzilla@gcc.gnu.org
Thu Sep 2 14:22:00 GMT 2010
------- Comment #15 from hjl dot tools at gmail dot com 2010-09-02 14:22 -------
A smaller testcase:
---
extern void abort (void);
extern void *chk_fail_buf[];
extern volatile int chk_fail_allowed;
void
test3 (void)
{
chk_fail_allowed = 1;
if (__builtin_setjmp (chk_fail_buf) == 0)
abort ();
chk_fail_allowed = 0;
}
---
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45484
More information about the Gcc-bugs
mailing list