First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 4417
Product:  
Component:  
Status: RESOLVED
Resolution: FIXED
Assigned To: Not yet assigned to anyone <unassigned@gcc.gnu.org>
Host:
Reported against  
Priority:  
Severity:  
Target Milestone:  
 
 
Target:
Reporter: robertlipe@usa.net
Add CC:
CC:
Remove selected CCs
Build:
URL:
Summary:
Keywords:
Known to work:
Known to fail:

Attachment Description Type Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 4417 depends on: Show dependency tree
Show dependency graph
Bug 4417 blocks:

Additional Comments:






View Bug Activity   |   Format For Printing   |   Clone This Bug


Description:   Last confirmed: Opened: 2001-09-28 07:06
-freestanding will, under some conditions, generate a call to 
memcpy behind the back of the user.  This defeats the point of 
that flag

Release:
3.0.1

Environment:
Any IA32 target, from what I can tell.

How-To-Repeat:
typedef struct foo{
        char blah[1024];
} foo_t;
 
extern foo_t one, two;
 
void
foo(void)
{
        one = two;
}


$ cc -ffreestanding -O3 -S -o - a.c | grep memcpy
        call    memcpy

------- Comment #1 From Richard Henderson 2002-04-23 01:03 -------
State-Changed-From-To: open->closed
State-Changed-Why: We've documented which functions libc must provide, and 
    memcpy is among them.

First Last Prev Next    No search results available      Search page      Enter new bug