http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51676
--- Comment #3 from Ben Longbons <b.r.longbons at gmail dot com> 2012-01-02 20:27:41 UTC --- I'm not familiar with GCC internals, but would it be as easy as adding and using a second field for "first declaration"? If the first (possibly only) declaration is the definition, then just remember it. If there are one or more declarations before the definition, then just remember the first one.