Comment 20 for bug 432222

Revision history for this message
Benjamin Herrenschmidt (benh-kernel) wrote : Re: [Bug 432222] Re: mountall fails, broken (powerpc?) gcc?

On Thu, 2009-09-24 at 00:13 +0000, davidh wrote:
> 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.)

Well, it did look like a gcc bug to me indeed.

However, the test case here doesn't seem to break on fedora gcc 4.4.0 or
jaunty 4.3.3

I'm still putting back that karmic machine into shape and will then be
able to check what's up with the karmic gcc version.

Cheers,
Ben.