This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/11292] [3.4 Regression] -fnew-ra causes sibcalling to go wrong.
- From: "pinskia at physics dot uc dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Jun 2003 14:46:49 -0000
- Subject: [Bug target/11292] [3.4 Regression] -fnew-ra causes sibcalling to go wrong.
- References: <20030623144544.11292.pinskia@physics.uc.edu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11292
------- Additional Comments From pinskia at physics dot uc dot edu 2003-06-23 14:46 -------
I sent the wrong example (here is the right one where it does not sib call in main):
char * mystrcpy(char *dest, char *source)
{
int len = strlen(source);
return memmove(dest, source, len+1);
}
int main()
{
char temp[10];
char *t1="AA";
mystrcpy(temp, t1);
return 0;
}