This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Handle builtin functions with pointer args/returns in PTA and the alias oracle
- From: Richard Guenther <rguenther at suse dot de>
- To: Steve Ellcey <sje at cup dot hp dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 24 Jun 2009 11:05:15 +0200 (CEST)
- Subject: Re: [PATCH] Handle builtin functions with pointer args/returns in PTA and the alias oracle
- References: <200906232136.n5NLank23609@lucas.cup.hp.com>
On Tue, 23 Jun 2009, Steve Ellcey wrote:
> > 2009-06-19 Richard Guenther <rguenther@suse.de>
> > * gcc.c-torture/execute/20090618-1.c: New testcase.
>
> Richard,
>
> This new test case is failing for me at -O0 on HP-UX because HP-UX does
> not have the mempcpy routine. At -O1 and higher optimizations the
> __builtin_mempcpy generates inline code but at -O0 it generates a call
> to mempcpy with then becomes an unresolved external call. Looking at
> the gcc-testresults email list, it looks like it fails on other machines
> too. How should we handle this on on machines that don't have mempcpy?
>
> Should the test go into gcc.dg instead of c-torture so we can force
> the optimization level?
I'd like it to be in the torture, but gcc.dg torture with
skipping -O0 works for me.
Richard.