On Tue, Jan 08, 2019 at 09:39:21PM +0100, Jakub Jelinek wrote: > Hi! > > I've noticed this testcase FAILs, there are many reasons for that: > 1) hardcoded use of -m32, which isn't really available on powerpc64le > 2) -c in dg-options > 3) use of target_clones attribute without ppc_cpu_supports_hw effective > target > Also, there is no need to use both -mcpu=power7 -mcpu=e300c3, either of > those is enough to get the ICE if the ira-colors.c change is reverted. > For 1), while the testcase doesn't ICE unless ilp32 with the fix reverted, > it compiles just fine with current trunk, so I see no reason to limit it to > ilp32 only. > > Regtested on powerpc64le-linux, ok for trunk?
Yes please. Thanks! Segher > 2019-01-08 Jakub Jelinek <ja...@redhat.com> > > PR target/88457 > * gcc.target/powerpc/pr88457.c: Remove -m32, -c and -mcpu=e300c3 from > dg-options. Require ppc_cpu_supports_hw effective target instead of > powerpc64*-*-*.