This is the mail archive of the gcc-bugs@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]

[Bug target/16379] New: [m32r] can't output large model function call of memcpy


command line:
m32r-linux-gnu-gcc -S -O -mmodel=large memcpy.c

memcpy.c:
#include <string.h>

void func (void *s1, const void *s2, size_t n)
{
  memcpy(s1,s2,n);
}

I expect the following output. (model large function call)

   seth r14,shigh(memcpy)
   add3 r14,r14,low(memcpy)
   jl r14

But it was. (model small or medium function call)

  bl memcpy

-- 
           Summary: [m32r] can't output large model function call of memcpy
           Product: gcc
           Version: 3.4.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: inaoka dot kazuhiro at renesas dot com
                CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: m32r


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16379


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