Simplify test-case options.
authorMartin Liska <mliska@suse.cz>
Wed, 13 May 2020 07:52:21 +0000 (09:52 +0200)
committerMartin Liska <mliska@suse.cz>
Wed, 13 May 2020 07:52:21 +0000 (09:52 +0200)
PR sanitizer/95051
* gcc.dg/asan/pr95051.c: Simplify options as -fsanitize=address
and -O2 were enough to trigger the original ICE.

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/asan/pr95051.c

index 03b61dd1658f6f20c652479590f1c9b3b84c03c5..3e5fe75b60b2c5339304b33dff9ea9de3ec4847b 100644 (file)
@@ -1,3 +1,9 @@
+2020-05-13  Martin Liska  <mliska@suse.cz>
+
+       PR sanitizer/95051
+       * gcc.dg/asan/pr95051.c: Simplify options as -fsanitize=address
+       and -O2 were enough to trigger the original ICE.
+
 2020-05-13  Christophe Lyon  <christophe.lyon@linaro.org>
 
        PR preprocessor/95013
index caa5e667209f0a8eb6cdb38cb6105c5e30bf0307..e32c04599a8343bd47da1aa340109aeca469bca9 100644 (file)
@@ -1,6 +1,6 @@
 /* PR sanitizer/95051 */
 /* { dg-do compile } */
-/* { dg-options "-fno-sanitize=all -fsanitize=kernel-address --param=asan-stack=1 -O2" } */
+/* { dg-options "-O2" } */
 
 struct a {
   struct {