On Tue, May 22, 2012 at 8:25 PM, Paolo Carlini <paolo.carl...@oracle.com> wrote: > Hi, > > some years ago Martin lamented that we weren't consistently warning about > deleting member arrays vs arrays. A fix seems simple and passes bootstrap > and testing on x86_64-linux. Note I have to change D to E because dump_decl > cannot cope with COMPONENT_REFs.
dump_decl can't handle COMPONENT_REF because it is an expression. I suspect you want to look at the operand 1 instead of changing D to E.