This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/16379] New: [m32r] can't output large model function call of memcpy
- From: "inaoka dot kazuhiro at renesas dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Jul 2004 07:49:59 -0000
- Subject: [Bug target/16379] New: [m32r] can't output large model function call of memcpy
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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