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]

Re: [mainline,obvious] Use symbolic constants in cgraph.c


> Hello,
> 
> this patch uses symbolic constants NO_INSERT/INSERT instead of 0/1.
> It also fixes thinko in cgraph_remove_node where INSERT was used but
> NO_INSERT should be used.
> 
> Bootstrapped/regtested x86-64.
> I'm commiting it as obvious.

Testcase:

char flags;
int bug12292(int t)
{
	flags &= ~(1 << (t + 4));
}


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