This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Fix wrong type merging in LTO compiler


> Hmm, we already test alignment for scalars at the start of the
> function.  So can you instead try to move the alignment check
> from the INTEGRAL_TYPE_P () ... case to a check right
> before that covering all types?

Not sure if TYPE_ALIGN really applies to all types (METHOD_TYPE, OFFSET_TYPE).
At least we're sure it does to RECORD_OR_UNION_TYPE_P as per stor-layout.c.

-- 
Eric Botcazou


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]