public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c/3897: memcpy not expanded to builtin function
@ 2001-07-31  8:56 thomas.hiller
  0 siblings, 0 replies; 3+ messages in thread
From: thomas.hiller @ 2001-07-31  8:56 UTC (permalink / raw)
  To: gcc-gnats

>Number:         3897
>Category:       c
>Synopsis:       memcpy not expanded to builtin function
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jul 31 08:56:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     thomas.hiller@sap.com
>Release:        gcc-3.0
>Organization:
>Environment:
Linux/IA64 and Linux/IA32
>Description:
The memcpy function will not get replaced by the builtin function when optimizing.

When the third parameter is a constant, it works.
>How-To-Repeat:
#include <string.h>

int main()
{
        char a[11] = "0123456789";
        char b[11];
        long unsigned int t=10;

        memcpy(a,b,t);
}
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: c/3897: memcpy not expanded to builtin function
@ 2001-12-26 20:17 aj
  0 siblings, 0 replies; 3+ messages in thread
From: aj @ 2001-12-26 20:17 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, nobody, thomas.hiller

Synopsis: memcpy not expanded to builtin function

State-Changed-From-To: analyzed->closed
State-Changed-By: aj
State-Changed-When: Wed Dec 26 20:17:38 2001
State-Changed-Why:
    This has been fixed for GCC 3.1.  Roger Sayle just tested
    it.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=3897


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: c/3897: memcpy not expanded to builtin function
@ 2001-08-09  0:28 mmitchel
  0 siblings, 0 replies; 3+ messages in thread
From: mmitchel @ 2001-08-09  0:28 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, nobody, thomas.hiller

Synopsis: memcpy not expanded to builtin function

State-Changed-From-To: open->analyzed
State-Changed-By: mmitchel
State-Changed-When: Thu Aug  9 00:28:32 2001
State-Changed-Why:
    Confirmed.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3897&database=gcc


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-12-27  4:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-31  8:56 c/3897: memcpy not expanded to builtin function thomas.hiller
2001-08-09  0:28 mmitchel
2001-12-26 20:17 aj

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).