This is the mail archive of the gcc-patches@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] |
#include <stdlib.h> #include <string.h> void doTest1(void) { volatile char foo[10]; memset((void *)foo, 1, 100); } void doTest2(void) { volatile char foo[10]; memset((void *)foo, 1, 100); }
doTest1: link.w %fp,#-16 lea __stack_chk_guard,%a0 move.l (%a0),-4(%fp) pea 100.w ...
doTest2: link.w %fp,#-16 move.l (%a0),-4(%fp) // %a0 is not initialized pea 100.w ...
-- Maxim Kuvyrkov CodeSourcery maxim@codesourcery.com (650) 331-3385 x724
Attachment:
gcc-stack-guard-fix.ChangeLog
Description: Text document
Attachment:
gcc-stack-guard-fix.patch
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |