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 PR26439


On Thu, Feb 23, 2006 at 10:40:41AM -0500, Daniel Berlin wrote:
> AGGREGATE_TYPE_P (type) || TREE_CODE (type) == COMPLEX_TYPE, which is,
> uh, dumb :(
> 
> I'd guess it's not in AGGREGATE_TYPE_P because they sometimes appear in
> SSA_NAME_VAR, and this will confuse is_gimple_reg or something.
> 
> (even though it should be checking DECL_COMPLEX_GIMPLE_REG_P or whatever
> the name is)
> 
> I agree it's a much better fix to put COMPLEX_TYPE in AGGREGATE_TYPE_P,
> i'm just not sure how much work it is.

Note e.g. that a big number of backends use AGGREGATE_TYPE_P when
determining calling conventions, so making COMPLEX_TYPE AGGREGATE_TYPE_P
would mean checking all those places and making sure it doesn't break the
ABI.

	Jakub


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