diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index fb2a21a5f06484e8e2af995b17a8ae89e2d0990d..09bb009c51ff759ca95bbdd9eed02a19088bc12a 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,15 @@ +2008-08-27 Jan Hubicka <jh@suse.cz> + + * gcc.dg/ipa/ipacost-1.c: Remove template matching only x86-64 + * gcc.dg/ipa/ipacost-2.c: Add -fipa-cp-clone; remove template matching + only x86-64 + * gcc.dg/ipa/ipa-1.c: Add -fipa-cp-clone + * gcc.dg/ipa/ipa-2.c: Add -fipa-cp-clone + * gcc.dg/ipa/ipa-3.c: Add -fipa-cp-clone + * gcc.dg/ipa/ipa-4.c: Add -fipa-cp-clone + * gcc.dg/ipa/ipa-5.c: Add -fipa-cp-clone + * gcc.dg/ipa/ipa-7.c: Add -fipa-cp-clone + 2008-08-27 Paolo Carlini <paolo.carlini@oracle.com> PR c++/35321 diff --git a/gcc/testsuite/gcc.dg/ipa/ipa-1.c b/gcc/testsuite/gcc.dg/ipa/ipa-1.c index 65fd7b8ba7185273abddc8cdb09fcba24eac1bad..46e9af19209af90579ea7ce8607b8d14a698b04c 100644 --- a/gcc/testsuite/gcc.dg/ipa/ipa-1.c +++ b/gcc/testsuite/gcc.dg/ipa/ipa-1.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O3 -fipa-cp -fdump-ipa-cp -fno-early-inlining" } */ +/* { dg-options "-O3 -fipa-cp -fipa-cp-clone -fdump-ipa-cp -fno-early-inlining" } */ /* { dg-skip-if "PR 25442" { "*-*-*" } { "-fpic" "-fPIC" } { "" } } */ #include <stdio.h> diff --git a/gcc/testsuite/gcc.dg/ipa/ipa-2.c b/gcc/testsuite/gcc.dg/ipa/ipa-2.c index 281c457eb362b79f5a316af766ab88fcada7df6b..3cebd9d3c653ffab2ca8ca8860124b74d0523dff 100644 --- a/gcc/testsuite/gcc.dg/ipa/ipa-2.c +++ b/gcc/testsuite/gcc.dg/ipa/ipa-2.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O3 -fipa-cp -fdump-ipa-cp -fno-early-inlining" } */ +/* { dg-options "-O3 -fipa-cp -fipa-cp-clone -fdump-ipa-cp -fno-early-inlining" } */ /* { dg-skip-if "PR 25442" { "*-*-*" } { "-fpic" "-fPIC" } { "" } } */ #include <stdio.h> diff --git a/gcc/testsuite/gcc.dg/ipa/ipa-3.c b/gcc/testsuite/gcc.dg/ipa/ipa-3.c index 9487aae7f3b9df74ef2fb9599e7447cd4e5dc4ba..f43c3c31eec46a7336a3a8b3e8a6b400e9fb14f5 100644 --- a/gcc/testsuite/gcc.dg/ipa/ipa-3.c +++ b/gcc/testsuite/gcc.dg/ipa/ipa-3.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O3 -fipa-cp -fdump-ipa-cp -fno-early-inlining" } */ +/* { dg-options "-O3 -fipa-cp -fipa-cp-clone -fdump-ipa-cp -fno-early-inlining" } */ /* { dg-skip-if "PR 25442" { "*-*-*" } { "-fpic" "-fPIC" } { "" } } */ diff --git a/gcc/testsuite/gcc.dg/ipa/ipa-4.c b/gcc/testsuite/gcc.dg/ipa/ipa-4.c index 55599a240489945b2e08867c5cfed6d2f63cc222..2ce1b0e31a8f1298fca8687ce9396dd3fafe69e8 100644 --- a/gcc/testsuite/gcc.dg/ipa/ipa-4.c +++ b/gcc/testsuite/gcc.dg/ipa/ipa-4.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O3 -fipa-cp -fdump-ipa-cp" } */ +/* { dg-options "-O3 -fipa-cp -fipa-cp-clone -fdump-ipa-cp" } */ /* { dg-skip-if "PR 25442" { "*-*-*" } { "-fpic" "-fPIC" } { "" } } */ #include <stdio.h> diff --git a/gcc/testsuite/gcc.dg/ipa/ipa-5.c b/gcc/testsuite/gcc.dg/ipa/ipa-5.c index b5106d9534343d6a8b1ced561540950665f32dc4..07ecf2c95a40ff0c6ad91643efadc0c41e599a1f 100644 --- a/gcc/testsuite/gcc.dg/ipa/ipa-5.c +++ b/gcc/testsuite/gcc.dg/ipa/ipa-5.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O3 -fipa-cp -fdump-ipa-cp -fno-early-inlining" } */ +/* { dg-options "-O3 -fipa-cp -fipa-cp-clone -fdump-ipa-cp -fno-early-inlining" } */ /* { dg-skip-if "PR 25442" { "*-*-*" } { "-fpic" "-fPIC" } { "" } } */ /* Float & short constants. */ diff --git a/gcc/testsuite/gcc.dg/ipa/ipa-7.c b/gcc/testsuite/gcc.dg/ipa/ipa-7.c index 0005057047db154087de8e4ae968228913b39fb4..81a96fe0eaf95f5621e27415fbde33a22201abe3 100644 --- a/gcc/testsuite/gcc.dg/ipa/ipa-7.c +++ b/gcc/testsuite/gcc.dg/ipa/ipa-7.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O3 -fipa-cp -fdump-ipa-cp -fno-early-inlining" } */ +/* { dg-options "-O3 -fipa-cp -fipa-cp-clone -fdump-ipa-cp -fno-early-inlining" } */ /* { dg-skip-if "PR 25442" { "*-*-*" } { "-fpic" "-fPIC" } { "" } } */ #include <stdio.h> diff --git a/gcc/testsuite/gcc.dg/ipa/ipacost-1.c b/gcc/testsuite/gcc.dg/ipa/ipacost-1.c index d8a157df3bc191712f1c72b640af1d7f5e7870e7..ac013a723505fc974727f166f18bb941ad3e3982 100644 --- a/gcc/testsuite/gcc.dg/ipa/ipacost-1.c +++ b/gcc/testsuite/gcc.dg/ipa/ipacost-1.c @@ -54,6 +54,5 @@ main() /* { dg-final { scan-ipa-dump-not "versioned function i_can_not_be_propagated_fully2" "cp" } } */ /* { dg-final { scan-ipa-dump-not "versioned function i_can_not_be_propagated_fully " "cp" } } */ /* { dg-final { scan-tree-dump-not "i_can_be_propagated" "optimized" } } */ -/* { dg-final { scan-tree-dump "symbol: array" "optimized" } } */ /* { dg-final { cleanup-ipa-dump "cp" } } */ /* { dg-final { cleanup-tree-dump "optimized" } } */ diff --git a/gcc/testsuite/gcc.dg/ipa/ipacost-2.c b/gcc/testsuite/gcc.dg/ipa/ipacost-2.c index e0caf5dcc4bdfbcda8353b486c74dc5e6ecca97d..c2861baa369e03b82491f693558366f33d19c7dc 100644 --- a/gcc/testsuite/gcc.dg/ipa/ipacost-2.c +++ b/gcc/testsuite/gcc.dg/ipa/ipacost-2.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O3 -fipa-cp -fdump-ipa-cp -fno-early-inlining -fdump-tree-optimized" } */ +/* { dg-options "-O3 -fipa-cp -fipa-cp-clone -fdump-ipa-cp -fno-early-inlining -fdump-tree-optimized" } */ int array[100]; @@ -55,6 +55,5 @@ main() /* { dg-final { scan-ipa-dump-times "versioned function i_can_not_be_propagated_fully " 1 "cp" } } */ /* { dg-final { scan-tree-dump-not "i_can_be_propagated" "optimized" } } */ /* { dg-final { scan-tree-dump-not "i_can_be_propagated" "optimized" } } */ -/* { dg-final { scan-tree-dump "symbol: array" "optimized" } } */ /* { dg-final { cleanup-ipa-dump "cp" } } */ /* { dg-final { cleanup-tree-dump "optimized" } } */