This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Handle builtin functions with pointer args/returns in PTA and the alias oracle


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]