This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug debug/51517] [4.5/4.6/4.7 Regression] Wrong debug information for pointers with negative strides.


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51517

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
         AssignedTo|unassigned at gcc dot       |jakub at gcc dot gnu.org
                   |gnu.org                     |

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-12-14 15:14:22 UTC ---
Created attachment 26081
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26081
gcc47-pr51517.patch

Untested fix.

OT, can anyone please explain the following in trans-decl.c
(gfc_trans_deferred_vars):

      else if ((!sym->attr.dummy || sym->ts.deferred)
                && (sym->ts.type == BT_CLASS
                && CLASS_DATA (sym)->attr.pointer))
        break;

?  The break there will IMHO just cause the rest of the *->tlink chain deferred
vars not to be processed at all, is that the right thing to do?  continue; or ;
would make much more sense to me...


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]