[Bug c++/13865] [tree-ssa] dtor runs prematurely for loop-scoped variable
bangerth at dealii dot org
gcc-bugzilla@gcc.gnu.org
Tue Jan 27 15:41:00 GMT 2004
------- 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
More information about the Gcc-bugs
mailing list