It's a "feature" to implement DW_TAG_GNU_call_site / DW_TAG_GNU_call_site_parameter support. You get this non-prototyped decl also with -O0 if you enable -fvar-tracking. The non-prototyped form is the minimal info that is needed it seems.