This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: fold_convert question
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- Cc: gcc at gcc dot gnu dot org, roger at eyesopen dot com
- Date: Fri, 15 Oct 2004 23:16:19 -0400
- Subject: Re: fold_convert question
- References: <10410160314.AA24908@vlsi1.ultra.nyu.edu>
On Oct 15, 2004, at 11:14 PM, Richard Kenner wrote:
But "fold" itself calls "fold_convert" to ensure/force a tree to a
specified type. i.e. fold_convert is called for both generic,
gimple
and potentially even by front-ends that don't use tree-ssa.
Hmm ...
What I don't understand is why have two different ARRAY types in the
first place?
This seems very inefficient. As a new GCC developer I would like to
see that types be correctly done in the front-end and middle-end.
Saying two types are compatible but having a VIEW_CONVERT is just
wrong.
Thanks,
Andrew Pinski