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: aggregate_value_p in the gimplifier


Eric Botcazou wrote:
What has changed is that the gimplifier (namely gimplify_modify_expr) invokes aggregate_value_p on types that the back-end didn't use to see for the C language.

This looks a bit questionable to me. If the gimplifier just wants to know if we have an aggregate type, then it should use AGGREGATE_TYPE_P. The use of aggregate_value_p here is doing a lot of work for no apparent reason, as it throws away the aggregate_value_p result.
--
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com



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