------- Additional Comments From drew dot johnson at andrew dot com 2005-05-06 18:53 ------- (In reply to comment #0) > When -O3 or higher is used, the optimizer utilizes the lddf sparc instruction > to load doubles into registers. This can generate a bus-error/seg-fault at > runtime if the source address of the load is not mod8. The optimizer does not > check this, even with -munaligned-doubles set.
This actually fails when -O1 or higher is used. For some reason, I thought that -O2 was the default. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21389