2017-10-11 Martin Liska <mliska@suse.cz>
* c-c++-common/ubsan/ptr-overflow-sanitization-1.c: Scan
optimized dump rather than assembly.
From-SVN: r253636
+2017-10-11 Martin Liska <mliska@suse.cz>
+
+ * c-c++-common/ubsan/ptr-overflow-sanitization-1.c: Scan
+ optimized dump rather than assembly.
+
2017-10-11 Nathan Sidwell <nathan@acm.org>
* g++.dg/cpp/string-3.C: Fix dg-final.
-/* { dg-require-effective-target lp64 } */
-/* { dg-options "-O -fsanitize=pointer-overflow" } */
+/* { dg-options "-O -fsanitize=pointer-overflow -fdump-tree-optimized" } */
/* { dg-skip-if "" { *-*-* } "-flto" } */
#define SMAX __PTRDIFF_MAX__
p2 += 5;
}
-
-/* { dg-final { scan-assembler-times "call\\s+__ubsan_handle_pointer_overflow" 17 } } */
+/* { dg-final { scan-tree-dump-times "__ubsan_handle_pointer_overflow" 17 "optimized" } } */