Commit e5ce2618 authored by ygribov's avatar ygribov

2014-10-25 Yury Gribov <y.gribov@samsung.com>

	PR sanitizer/63638

	* asan.c (enum asan_check_flags): Fixed ASAN_CHECK_LAST.

    	* c-c++-common/asan/pr63638.c: New test.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@216677 138bc75d-0d04-0410-961f-82ee72b054a4
parent 5ddb7ec6
2014-10-25 Yury Gribov <y.gribov@samsung.com>
PR sanitizer/63638
* asan.c (enum asan_check_flags): Fixed ASAN_CHECK_LAST.
2014-10-24 Markus Trippelsdorf <markus@trippelsdorf.de>
PR bootstrap/63632
......
......@@ -250,7 +250,7 @@ enum asan_check_flags
ASAN_CHECK_NON_ZERO_LEN = 1 << 2,
ASAN_CHECK_START_INSTRUMENTED = 1 << 3,
ASAN_CHECK_END_INSTRUMENTED = 1 << 4,
ASAN_CHECK_LAST
ASAN_CHECK_LAST = 1 << 5
};
/* Hashtable support for memory references used by gimple
......
2014-10-25 Yury Gribov <y.gribov@samsung.com>
PR sanitizer/63638
* c-c++-common/asan/pr63638.c: New test.
2014-10-24 Markus Trippelsdorf <markus@trippelsdorf.de>
PR bootstrap/63632
......
/* { dg-do compile } */
extern
#ifdef __cplusplus
"C"
#endif
void *memcpy (void *, const void *, __SIZE_TYPE__);
struct S{
long d0, d1, d2, d3, d4, d5, d6;
};
struct S s[6];
int f(struct S *p)
{
memcpy(p, &s[2], sizeof(*p));
memcpy(p, &s[1], sizeof(*p));
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment