-munaligned-doubles and -mno-faster-structs do not work on Sparc with -O2

David S. Miller davem@redhat.com
Tue Jun 4 07:54:00 GMT 2002


   From: "Zhang, Bo" <bzhang@convergentnet.com>
   Date: Tue, 4 Jun 2002 10:40:31 -0400 
   
   I tried a few Sparc specific GCC options, such as
   
       -munaligned-doubles
       -mno-faster-structs
   
   >From the manual, these two options seem the exact choices for GCC
   NOT to assume alignment and NOT to use ldd/std, but they didn't work
   at all.
   
If the compiler has other reasons to believe that the structures or
doubles are aligned sufficiently, it is still allowed to use ldd/std.

Why don't you post some example code instead of referring to what your
code does using vague descriptions?



More information about the Gcc-bugs mailing list