http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52334
--- Comment #2 from haichang417 <cslhc at qq dot com> 2012-02-22 06:52:12 UTC --- (In reply to comment #1) > First can you provide the preprocessed source? Second can you try with a > newer > version of GCC like maybe 4.4.6? Third can you describe why you think the > assembly that GCC produces is wrong. Thank you for your reply. I'm sorry I can't provide the preprocessed code.Because I used 3.2.1 version of cross-compiler(MIPS target),and it is very difficult to create a new version of the cross-compiler. In test_function(), I declared a structure(_Struct_PST_ID *pstid = NULL),and point to NULL. In _find_port( g_pstv->member.pstid, index, (void*)&pstid) function , the empty structure point to a new address of structure.But I found the address of pointer is still 0. When I view the Assembly code, found that the above error. The above error will not appear when I use 3.2.1 version,So I think the assembly that GCC 4.3.2 produces is wrong.