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: [tree-ssa] Fix variables getting out of their scope


On Mon, 11 Aug 2003 16:09:04 -0600, law@redhat.com wrote:

> Note that blindly moving variables to an outer scope may have impacts on
> languages were variables are constructed/destructed -- suddenly the
> destructors don't run when you expect them.

In GIMPLE, constructors and destructors are explicit function calls.
Moving the variable wouldn't affect them.

Jason


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