This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: HP-UX PA long double alignment change
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: rth at redhat dot com (Richard Henderson)
- Cc: law at redhat dot com, sje at cup dot hp dot com, gcc-patches at gcc dot gnu dot org
- Date: Fri, 6 Dec 2002 12:10:42 -0500 (EST)
- Subject: Re: HP-UX PA long double alignment change
> On Thu, Dec 05, 2002 at 11:00:59AM -0700, Jeff Law wrote:
> > Under what circumstances are ldcw/ldcd interesting on stack addresses?
>
> When you allocate memory on the stack and link it into global data structues.
I am testing a patch along the lines that you suggested. TYPE_USER_ALIGN
is not set for non BLKmode modes when assign_stack_temp_for_type
is called. It is when MODE is BLKmode. It would seem that we should be
able to use the aligned attribute for other modes when the temp is
addressable.
The attribute data for the type is either not being set or it is being
cleared. Where is this done? I haven't been able to find where the
type is set up and why the attribute data is not set.
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)