[Bug sanitizer/61422] False Asan positive in libopus

2014-08-28 Thread m.zakirov at samsung dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61422 Marat Zakirov changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug sanitizer/61422] False Asan positive in libopus

2014-06-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61422 --- Comment #7 from Jakub Jelinek --- You still have: tree shadow_ptr_type = shadow_ptr_types[ real_size_in_bytes == 16 ? 1 : 0]; instead of: tree shadow_ptr_type = shadow_ptr_types[real_size_in_bytes == 16 ? 1 : 0]; And, I can't really repro

[Bug sanitizer/61422] False Asan positive in libopus

2014-06-05 Thread m.zakirov at samsung dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61422 --- Comment #6 from Marat Zakirov --- Created attachment 32898 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=32898&action=edit Proposed patch Try this. It is mostly the same. No additional patches is needed. I hope it's reproducible.

[Bug sanitizer/61422] False Asan positive in libopus

2014-06-05 Thread m.zakirov at samsung dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61422 --- Comment #5 from Marat Zakirov --- Thank you for your quick response Jacub. Actually I take this issue from existing ffmpeg source so the test is just a truncated version. Following fail in my 4.10 without discovered fix: cat test.c #defin

[Bug sanitizer/61422] False Asan positive in libopus

2014-06-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61422 --- Comment #4 from Jakub Jelinek --- If you want a testcase that crashes even for me with current trunk, then e.g.: struct S { char c[16]; } __attribute__((packed)); __attribute__((noinline, noclone)) struct S foo (struct S *p) { asm volatile

[Bug sanitizer/61422] False Asan positive in libopus

2014-06-05 Thread m.zakirov at samsung dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61422 --- Comment #3 from Marat Zakirov --- I fix it.

[Bug sanitizer/61422] False Asan positive in libopus

2014-06-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61422 --- Comment #2 from Jakub Jelinek --- Comment on attachment 32896 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=32896 Proposed patch Can't reproduce it, are you sure you don't have extra patches in the tree (stringops currently don't use

[Bug sanitizer/61422] False Asan positive in libopus

2014-06-05 Thread m.zakirov at samsung dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61422 --- Comment #1 from Marat Zakirov --- Created attachment 32896 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=32896&action=edit Proposed patch Only tested with asan testsuite on x64.