This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: ICE outputting unaligned fp constant on powerpc-apple-darwin5.1
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: Richard Henderson <rth at redhat dot com>, Stuart Hastings <stuart at apple dot com>, Stan Shebs <shebs at apple dot com>, gcc-patches at gcc dot gnu dot org
- Date: Sun, 09 Dec 2001 19:20:26 -0500
- Subject: Re: ICE outputting unaligned fp constant on powerpc-apple-darwin5.1
>>>>> Richard Henderson writes:
Richard> GCC is *not* designating what is allowed and what is not allowed;
Richard> GCC does not know what is actually *available* in the assembler.
Richard> You may not remove this check without providing unaligned fp
Richard> output macros. Otherwise you don't know that the assembler won't
Richard> auto-align the data for you.
Richard> Thus my suggestion to remove all of the fp output macros in favor
Richard> of using the unaligned integer output macros.
But the test is wrong. Why should GCC assume the minimum
alignment that the assembler will insert?
If the assembler will insert alignment, it is up to the person
developing the port to ensure that the output will be correct, not up to
GCC.
David