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

Iyer, Balaji V balaji.v.iyer@intel.com
Fri Sep 9 05:21:00 GMT 2011


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: finish_function_patch
Type: application/octet-stream
Size: 5779 bytes
Desc: finish_function_patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20110909/d9a19c77/attachment.obj>


More information about the Gcc-patches mailing list