[Bug sanitizer/70474] [4.9 Regression] Several hundred asan failures with 4.9.4 on x86_64-apple-darwin15
dominiq at lps dot ens.fr
gcc-bugzilla@gcc.gnu.org
Fri Apr 1 17:04:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70474
--- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> > Does this patch fix the problem?
>
> From preliminary tests, yes. Thanks for the prompt answer.
Confirmed after a clean bootstrap, results with the patch posted at
https://gcc.gnu.org/ml/gcc-testresults/2016-04/msg00055.html
Note that the patch
--- /opt/gcc/4.9_clean/gcc/testsuite/c-c++-common/asan/sanity-check-pure-c-1.c
2014-04-21 11:20:11.000000000 +0200
+++ /opt/gcc/4.9_work/gcc/testsuite/c-c++-common/asan/sanity-check-pure-c-1.c
2015-10-22 17:01:49.000000000 +0200
@@ -10,7 +10,7 @@ int main() {
}
/* { dg-output "heap-use-after-free.*(\n|\r\n|\r)" } */
-/* { dg-output " #0 \[^\n\r]*(in
_*(interceptor_|)free|\[(\])\[^\n\r]*(\n|\r\n|\r)" } */
+/* { dg-output " #0 \[^\n\r]*(in
_*(interceptor_|wrap_)free|\[(\])\[^\n\r]*(\n|\r\n|\r)" } */
/* { dg-output " #1 \[^\n\r]*(in _*main
(\[^\n\r]*sanity-check-pure-c-1.c:8|\[^\n\r]*:0)|\[(\]).*(\n|\r\n|\r)" } */
-/* { dg-output " #0 \[^\n\r]*(in
_*(interceptor_|)malloc|\[(\])\[^\n\r]*(\n|\r\n|\r)" } */
+/* { dg-output " #0 \[^\n\r]*(in
_*(interceptor_|wrap_)malloc|\[(\])\[^\n\r]*(\n|\r\n|\r)" } */
/* { dg-output " #1 \[^\n\r]*(in _*main
(\[^\n\r]*sanity-check-pure-c-1.c:7|\[^\n\r]*:0)|\[(\])\[^\n\r]*(\n|\r\n|\r)" }
*/
should be applied to the gcc-4.9 and gcc-5 branches (it has already been
applied to trunk).
More information about the Gcc-bugs
mailing list