Is the test case attached in comment #8 insufficient?
According to the gcc documentation ( in particular, http://gcc.gnu.org/onlinedocs/gcc/Nested-Functions.html ), the code should be valid as long as the call to the nested function is executed before the outer function exits. I take it this functionality isn't actually used much, but to me anyway it seems like a bug..
(I should also confirm that mountall 0.1.7 fixes the issue for me, thanks.)
Is the test case attached in comment #8 insufficient?
According to the gcc documentation ( in particular, http:// gcc.gnu. org/onlinedocs/ gcc/Nested- Functions. html ), the code should be valid as long as the call to the nested function is executed before the outer function exits. I take it this functionality isn't actually used much, but to me anyway it seems like a bug..
(I should also confirm that mountall 0.1.7 fixes the issue for me, thanks.)