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

[Bug c++/13865] [tree-ssa] dtor runs prematurely for loop-scoped variable


------- Additional Comments From bangerth at dealii dot org  2004-01-27 15:41 -------
The example in comment #4 is not a very good one, since the variable 
"a" is only live in the first part of the for-statement. It could thus 
legitimitaly be destroyed even before the first iteration. That wasn't 
the case with the first example, though. 
 
W. 

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13865


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