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]
Other format: [Raw text]

Re: PATCH RFA: PR 29286: Handle placement new aliasing issues


> You seem to be saying a T_R_C_A_A variable can escape without it ever
> appearing that the variable escapes the function.

It's not T_R_C_A_A variables, it's regular variables whose address is 
(ultimately) assigned to a T_R_C_A_A pointer.  The assignment to the
pointer is deemed an escape site for the source variable.

We could instead try to generate a CHANGE_DYNAMIC_TYPE_EXPR for every 
assignment to a T_R_C_A_A pointer.

-- 
Eric Botcazou


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