This is the mail archive of the gcc@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: Question on aggregates and GIMPLE


>     What the hell does a comparison of an aggregate mean?
>
> What it always has!  do_jump has supported it for over a decade!
>
>     I suppose we could gimplify it to memcmp, but since I suspect no one
>     else thinks such things are possible, this could as well be a
>     front-end issue.
>
> But it's valid in the GCC tree and always has been!

FWIW The fortran definition of comparison of aggregates is not the same as 
memcmp. It defines aggregates as equal if all the members compare as equal. 
This can be different from binary comparison eg, for floating point values.

Paul


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