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: x86/MMX/SSE shift by immediate


Stuart Hastings <stuart@apple.com> writes:

> #define NOINLINE __attribute__ ((noinline))
> 
> void nowhere (const char *) NOINLINE;
> 
> void
> nowhere (const char *x)
> {
> }

You need NOINLINE below here, too, or the attribute will be trampled
over, and unit-at-a-time will inline "nowhere". (I think there's a PR
about this, but it is how things are currenly.)

-- 
	Falk


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