http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54874
--- Comment #8 from Salvatore Filippone <sfilippone at uniroma2 dot it> 2012-10-09 16:02:35 UTC --- (In reply to comment #6) > (In reply to comment #5) > > (In reply to comment #0) > > > I am getting the following output from the test case. It seems wrong, I > > > do not > > > see why allocating the polymorphic component in p%vect(4) should change > > > the > > > entries p%vect(1:3) > > > This may or may not be a duplicate of 54784. > > > > Yes, this is surely a duplicate of PR54784, which is confirmed by the fact > > that > > the patch given there also fixes the behavior here. > > Great news! > Thanks > Salvatore I can confirm that patching my 4.7.2 source tree fixes not just the test case but also the code it was derived from, on x86_64-linux.