On Fri, 13 Jul 2018, Sandra Loosemore wrote:

> On 07/03/2018 07:55 AM, Richard Biener wrote:
> > 
> > Bootstrapped and tested on x86_64-unknown-linux-gnu, applied.
> > 
> > Richard.
> > 
> >  From 52aad98947e5cfcb5624ff24f0c557d0029c34fe Mon Sep 17 00:00:00 2001
> > From: Richard Guenther <rguent...@suse.de>
> > Date: Tue, 3 Jul 2018 14:04:01 +0200
> > Subject: [PATCH] fix-pr86389
> > 
> > 2018-07-03  Richard Biener  <rguent...@suse.de>
> > 
> >     PR ipa/86389
> >     * tree-ssa-structalias.c (find_func_clobbers): Properly
> >     handle indirect calls.
> > 
> >     * gcc.dg/torture/pr86389.c: New testcase.
> 
> FYI, it looks like this new testcase requires
> 
> /* { dg-require-effective-target trampolines } */
> 
> as it is failing on a target without nested function support. Alternatively,
> maybe the testcase could be rewritten not to use a nested function?  I'm not
> sure if nested-ness is required to test the bug this issue was for.

Fixed.

Richard.

2018-07-16  Richard Biener  <rguent...@suse.de>

        PR ipa/86389
        * gcc.dg/torture/pr86389.c: Require trampolines.

Index: gcc/testsuite/gcc.dg/torture/pr86389.c
===================================================================
--- gcc/testsuite/gcc.dg/torture/pr86389.c      (revision 262676)
+++ gcc/testsuite/gcc.dg/torture/pr86389.c      (working copy)
@@ -1,4 +1,5 @@
 /* { dg-do run } */
+/* { dg-require-effective-target trampolines } */
 /* { dg-additional-options "-fipa-pta" } */
 
 void callme (void (*callback) (void));

Reply via email to