This is the mail archive of the gcc-patches@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]

Re: PATCH: RTL_EXPR vs. inlining-on-trees


    Hmm?  Can you elaborate?  With the flag set, all temporaries in the
    RTL_EXPR get a strictly longer lifetime than they would have
    otherwise, modulo any possible coding bug on my part.  I don't see how
    that can be dangerous.

Their lifetime is only up to the end of the current scope, which is
not necessarily until the place where the RTL_EXPR has been put.  Now,
you may be saying that any front end that sets the flag doesn't put it
that far away, in which case it's OK.

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