This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] Handle builtin functions with pointer args/returns in PTA and the alias oracle
- From: Steve Ellcey <sje at cup dot hp dot com>
- To: Richard Guenther <rguenther at suse dot de>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 23 Jun 2009 14:36:49 -0700 (PDT)
- Subject: Re: [PATCH] Handle builtin functions with pointer args/returns in PTA and the alias oracle
> 2009-06-19 Richard Guenther <firstname.lastname@example.org>
> * gcc.c-torture/execute/20090618-1.c: New testcase.
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?