Commit 89b1fbef by Joern Rennecke Committed by Joern Rennecke

vrp55.c: Use keeps_null_pointer_checks to determine correct test response.

        * gcc.dg/tree-ssa/vrp55.c: Use keeps_null_pointer_checks to determine
        correct test response.

From-SVN: r201843
parent dced9cd7
...@@ -5,6 +5,9 @@ ...@@ -5,6 +5,9 @@
* gcc.dg/tree-ssa/ssa-dom-thread-4.c [avr-*-*]: Expect 6 times * gcc.dg/tree-ssa/ssa-dom-thread-4.c [avr-*-*]: Expect 6 times
"Threaded". "Threaded".
* gcc.dg/tree-ssa/vrp55.c: Use keeps_null_pointer_checks to determine
correct test response.
2013-08-18 Jan Hubicka <jh@suse.cz> 2013-08-18 Jan Hubicka <jh@suse.cz>
* g++.dg/ipa/type-inheritance-1.C: New testcase. * g++.dg/ipa/type-inheritance-1.C: New testcase.
......
...@@ -9,6 +9,7 @@ fu (char *p, int x) ...@@ -9,6 +9,7 @@ fu (char *p, int x)
arf (); arf ();
} }
/* { dg-final { scan-tree-dump-times "Threaded jump" 1 "vrp1" } } */ /* { dg-final { scan-tree-dump-times "Threaded jump" 1 "vrp1" { target { ! keeps_null_pointer_checks } } } } */
/* { dg-final { scan-tree-dump-times "Threaded jump" 0 "vrp1" { target { keeps_null_pointer_checks } } } } */
/* { dg-final { cleanup-tree-dump "vrp1" } } */ /* { dg-final { cleanup-tree-dump "vrp1" } } */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment