This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Patch][Master] Finish function using absolute value not #define value


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]