This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: -munaligned-doubles and -mno-faster-structs do not work onSparc with -O2
- From: "David S. Miller" <davem at redhat dot com>
- To: bzhang at convergentnet dot com
- Cc: gcc-help at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org
- Date: Tue, 04 Jun 2002 07:51:03 -0700 (PDT)
- Subject: Re: -munaligned-doubles and -mno-faster-structs do not work onSparc with -O2
- References: <FAA32151E42AD4118D0500D0B74D5C5D016CFA6F@RONDA>
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?