http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50269
--- Comment #8 from Tobias Burnus <burnus at gcc dot gnu.org> 2013-04-02 13:28:00 UTC --- (In reply to comment #7) > (In reply to comment #6) > > Are we sure? When running the code example given in comment #1, I get a > > segfault. > Yes, something seems to be still broken. Actually, the compiler generates the correct code. The problem with the test case of comment 0 and comment 1 is that "b" is a pointer but never allocated. It works if one either removes "pointer" from the declaration of "b" or adds an "allocate(b)".