[Bug target/26721] [4.2 Regression]: Gcc generates unaligned access

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Mar 16 23:13:00 GMT 2006



------- Comment #10 from pinskia at gcc dot gnu dot org  2006-03-16 23:13 -------
(In reply to comment #6)
> Here is a cut down test case, I guess GCC is trying to map the strncpy into an
> integer move without taking alignment into account.
This is all dead code, this testcase does nothing for me on PPC-darwin, it just
returns 0.
_main:
        li r3,0
        blr


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26721



More information about the Gcc-bugs mailing list