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: Bug in tree-inline.c:estimate_num_insns_1?


On Thu, 24 Feb 2005 10:13:11 -0500, Andrew Pinski
<pinskia@physics.uc.edu> wrote:
> 
> On Feb 24, 2005, at 10:07 AM, Richard Guenther wrote:
> 
> > Hi!
> >
> > In estimate_num_insns_1 we currently have:
> >
> >     /* Recognize assignments of large structures and constructors of
> >        big arrays.  */
> >     case INIT_EXPR:
> >     case MODIFY_EXPR:
> >       x = TREE_OPERAND (x, 0);
> >       /* FALLTHRU */
> >     case TARGET_EXPR:
> >     case CONSTRUCTOR:
> >       {
> >         HOST_WIDE_INT size;
> >       ...
> >
> > shouldn't TARGET_EXPR being moved up before x = TREE_OPERAND (x, 0); ?
> 
> TARGET_EXPR is not in gimple at all so really does not matter.

Then how do I get bitten by this?  I guess cgraph gets feeded GENERIC.

Richard.


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