Hello Everyone,
        In several places, I found that finish_function was using an absolute 
integer as input parameter instead of these #defines

#define SF_DEFAULT           0  /* No flags.  */
#define SF_PRE_PARSED        1  /* The function declaration has
                                   already been parsed.  */
#define SF_INCLASS_INLINE    2  /* The function is an inline, defined
                                   in the class body.  */

I have attached a patch that should fix this (for example, use SF_DEFAULT 
instead of '0'). It should fix the bug #47791 
(http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47791)

Thanks,

Balaji V. Iyer.

Attachment: finish_function_patch
Description: finish_function_patch

Reply via email to