On 10/02/2014 11:53 AM, Jason Merrill wrote:
On 09/30/2014 02:43 PM, Aldy Hernandez wrote:
+ if (parm_die
+ /* Make sure the function to which this parameter belongs to is
+ not an abstract instance. If it is, we can't reuse anything.
+ We must create a new DW_TAG_formal_parameter with a
+ corresponding DW_AT_abstract_origin. */
+ && !get_AT (context_die, DW_AT_abstract_origin))
Can we use the same test here that we do later in this function, namely
origin && origin != node?
Or, rather, just "if (origin)".
Jason