diff mbox

IPA ICF fallout: disable IPA ICF for a test

Message ID 546098B6.1080801@suse.cz
State New
Headers show

Commit Message

Martin Liška Nov. 10, 2014, 10:51 a.m. UTC
Hello.

In gcc.dg/tree-ssa/ldist-19.c, there's a pair of functions (one with 'char' and second with 'unsigned char'). These two functions are merged by IPA ICF on targets that where 'char' == 'unsigned char'. So that it would be easier to disable the optimization.

Ready for trunk?

Thanks,
Martin
gcc/testsuite/ChangeLog:

2014-11-10  Martin Liska  <mliska@suse.cz>

	* gcc.dg/tree-ssa/ldist-19.c: ICF is disabled
	for the test because of default char signedness
	on powerpc64 target.

Comments

Richard Biener Nov. 10, 2014, 12:14 p.m. UTC | #1
On Mon, Nov 10, 2014 at 11:51 AM, Martin Liška <mliska@suse.cz> wrote:
> Hello.
>
> In gcc.dg/tree-ssa/ldist-19.c, there's a pair of functions (one with 'char'
> and second with 'unsigned char'). These two functions are merged by IPA ICF
> on targets that where 'char' == 'unsigned char'. So that it would be easier
> to disable the optimization.
>
> Ready for trunk?

Ok.

Thanks,
Richard.

> Thanks,
> Martin
diff mbox

Patch

diff --git a/gcc/testsuite/gcc.dg/tree-ssa/ldist-19.c b/gcc/testsuite/gcc.dg/tree-ssa/ldist-19.c
index 8ea9cea..9ab681f 100644
--- a/gcc/testsuite/gcc.dg/tree-ssa/ldist-19.c
+++ b/gcc/testsuite/gcc.dg/tree-ssa/ldist-19.c
@@ -1,5 +1,5 @@ 
 /* { dg-do compile } */
-/* { dg-options "-O3 -fdump-tree-ldist-details" } */
+/* { dg-options "-O3 -fno-ipa-icf -fdump-tree-ldist-details" } */
 
 struct Foo
 {