This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Fwd: [Bug bootstrap/27644] [4.1 regression] Bootstrap failure on native ARM targets]
On Wed, May 17, 2006 at 07:59:21PM -0700, Andrew Pinski wrote:
>
> On May 17, 2006, at 7:57 PM, H. J. Lu wrote:
>
> >
> >"gcc -m64 -m32" should pass "-64 -32" or "-32" to as. "-m64 -m32" in
> >gcc 4.1 will pass "-32 -64" to as, which tells as to generate 64bit
> >object, not 32bit object.
>
>
> How is this different than say powerpc64?
>
> I still don't understand why x86_64 is so special compared to the
> other targets.
x86-64 has
#define ASM_SPEC "%{v:-V} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Yd,*} \
%{Wa,*:%*} %{m32:--32} %{m64:--64}"
That means -m64 always overrides -m32 even if it comes before -m32.
H.J.