https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80308
--- Comment #9 from Jakub Jelinek ---
Short testcase (meant for c-c++-common/asan/pr80308.c (or
gcc.dg/asan/pr80308.c):
/* PR sanitizer/80308 */
/* { dg-do run } */
__attribute__((noinline, noclone)) int
foo (char *a)
{
int i, j = 0;
asm vol
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80308
--- Comment #8 from Bernd Edlinger ---
Yeah, the patched asan.c works!
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80308
Jakub Jelinek changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80308
--- Comment #6 from Bernd Edlinger ---
this looks suspicious:
--- asan.c.jj 2017-03-27 10:25:01.0 +0200
+++ asan.c 2017-04-04 21:15:31.444941816 +0200
@@ -2762,7 +2762,8 @@ asan_store_shadow_bytes (gimple_stmt_ite
unsigned
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80308
--- Comment #5 from Jakub Jelinek ---
(In reply to Bernd Edlinger from comment #4)
> weird, in function OTServerBaseNode::addReference
> the shadow ram is initialize correctly, and it
> is overwritten in line 671 immediately before the crash:
>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80308
--- Comment #4 from Bernd Edlinger ---
weird, in function OTServerBaseNode::addReference
the shadow ram is initialize correctly, and it
is overwritten in line 671 immediately before the crash:
=> 0x129fc870 rlwinm r9,r29,29,3,31
2: x/i 0x3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80308
--- Comment #3 from Martin Liška ---
Ok, looks there's just ppc64 in the compile farm. Running on gcc110, asan.exp
works all fine except c-c++-common/asan/swapcontext-test-1.c.
I also verified that w/ -m32, shadow memory in properly prepared:
=
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80308
--- Comment #2 from Bernd Edlinger ---
(In reply to Martin Liška from comment #1)
> I'll take a look. Can I reproduce it on a machine we have in compile farm?
No, idea, if I find time, I will try to get a smaller test case.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80308
Martin Liška changed:
What|Removed |Added
CC||marxin at gcc dot gnu.org
Assig