On 06/04/2015 05:34 PM, Jason Merrill wrote:
On 06/03/2015 10:42 AM, Aldy Hernandez wrote:
- if (decl && (DECL_ABSTRACT_P (decl) || declaration || old_die ==
NULL))
+ if (decl && (DECL_ABSTRACT_P (decl)
+ || !old_die || is_declaration_die (old_die)))
Do we still need DECL_ABSTRACT_P? I wouldn't expect to get here when
emitting the abstract function, as we should already have a die from
early dwarf.
Remember that LTO still behaves as mainline currently does, so there
will be no early dwarf. Once Richi's LTO streaming is in, all this
DECL_ABSTRACT stuff should go.
Aldy