public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] IPA ICF fallout: disable IPA ICF for a test
@ 2014-11-10 11:43 Martin Liška
  2014-11-10 12:23 ` Richard Biener
  0 siblings, 1 reply; 2+ messages in thread
From: Martin Liška @ 2014-11-10 11:43 UTC (permalink / raw)
  To: GCC Patches

[-- Attachment #1: Type: text/plain, Size: 299 bytes --]

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

[-- Attachment #2: ipa-icf-signedness.changelog --]
[-- Type: text/plain, Size: 188 bytes --]

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.

[-- Attachment #3: ipa-icf-signedness.patch --]
[-- Type: text/x-patch, Size: 400 bytes --]

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
 {

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] IPA ICF fallout: disable IPA ICF for a test
  2014-11-10 11:43 [PATCH] IPA ICF fallout: disable IPA ICF for a test Martin Liška
@ 2014-11-10 12:23 ` Richard Biener
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Biener @ 2014-11-10 12:23 UTC (permalink / raw)
  To: Martin Liška; +Cc: GCC Patches

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-11-10 12:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-10 11:43 [PATCH] IPA ICF fallout: disable IPA ICF for a test Martin Liška
2014-11-10 12:23 ` Richard Biener

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).