diff mbox

Improve pure/const propagation across interposable function with non-interposable aliases

Message ID yddmvo4li20.fsf@CeBiTec.Uni-Bielefeld.DE
State New
Headers show

Commit Message

Rainer Orth May 5, 2016, 2:01 p.m. UTC
Hi Jan,

> 	* gcc.dg/ipa/pure-const-3.c: New testcase.

the testcase FAILs:

UNRESOLVED: gcc.dg/ipa/pure-const-3.c scan-ipa-dump pure-const "found to be const"

The log shows

gcc.dg/ipa/pure-const-3.c: dump file does not exist

The following patch fixes this.  Tested with the appropriate runtest
invocation on i386-pc-solaris2.12.  I guess this is obvious?

	Rainer


2016-05-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* gcc.dg/ipa/pure-const-3.c: Scan local-pure-const1 dump.
diff mbox

Patch

# HG changeset patch
# Parent  d39b4a1eb735ab8dd6f6029ab882650de945f341
Fix gcc.dg/ipa/pure-const-3.c scan

diff --git a/gcc/testsuite/gcc.dg/ipa/pure-const-3.c b/gcc/testsuite/gcc.dg/ipa/pure-const-3.c
--- a/gcc/testsuite/gcc.dg/ipa/pure-const-3.c
+++ b/gcc/testsuite/gcc.dg/ipa/pure-const-3.c
@@ -21,4 +21,4 @@  main()
     __builtin_abort ();
   return 0;
 }
-/* { dg-final { scan-ipa-dump "found to be const" "pure-const"} } */
+/* { dg-final { scan-tree-dump "found to be const" "local-pure-const1"} } */