This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: aggregate_value_p in the gimplifier
- From: Jim Wilson <wilson at specifixinc dot com>
- To: Eric Botcazou <ebotcazou at libertysurf dot fr>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 06 Jul 2004 19:24:20 -0700
- Subject: Re: aggregate_value_p in the gimplifier
- References: <200407051645.23200.ebotcazou@libertysurf.fr>
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