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.
-Sandra