This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix unaligned load on the IA-64
> I wonder if after the args[i].mode == BLKmode check we always have a MEM_P?
> Or, if not, if we only ever need the unaligned handling for MEM_Ps?
Yes, I pondered that a little too, but the parameter passing code is very
intricate so I think we should err on the side of caution. I think testing
MEM_P before accessing MEM_ALIGN must be kept in any cases, but we could try
to rely exclusively on MEM_ALIGN and not test TYPE_ALIGN at all.
--
Eric Botcazou