------- Comment #4 from jakub at gcc dot gnu dot org 2009-03-23 13:52 ------- Created an attachment (id=17520) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17520&action=view) gcc44-pr39524.patch
Modified Dodji's patch I've actually bootstrapped/regtested (neither of the patches caused any regressions). I've moved the test after Fortran COMMON handling, there we update the DW_AT_location if it was missing before etc., and added a check if the preexisting old_die is in the right context just to be sure. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39524