This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix gcc.dg/tree-ssa/loop-1.c on darwin
On Fri, 2004-10-22 at 13:01, Dale Johannesen wrote:
> On Oct 22, 2004, at 11:53 AM, Jeffrey A Law wrote:
>
> > On Thu, 2004-10-21 at 13:06, Andrew Pinski wrote:
> >> This patch fixes the testcase gcc.dg/tree-ssa/loop-1.c which fails
> >> on darwin because the stub is also named after the extern function.
> >> We add -static to remove the stub.
> >>
> >> OK?
> >>
> >> Thanks,
> >> Andrew Pinski
> >>
> >> ChangeLog:
> >> * gcc.dg/tree-ssa/loop-1.c: Add -static for *-*-darwin.
> > And how precisely does having the stub function with the same name
> > as the function name cause this to fail? I don't see where we scan
> > for the function's name in this particular test so I don't see
> > where having duplicate names in the dump files would have an effect.
>
> /* { dg-final { scan-assembler-times "foo" 5} } */
Stupidity leak on my part. Consider the patch OK.
jeff