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: Minor back end speedup


> 
> On Tue, 23 Nov 2004, Matt Austern wrote:
> > --- gcc/recog.h	24 Nov 2004 00:01:23 -0000
> 
> > + static inline int recog_memoized (rtx insn);
> 
> Isn't static inline a GCC extension?
> I get a syntax error with -std=c89 for similar code.

It is for C89 but we also define inline to be nothing if 
a compiler does not support it so it does not matter.

-- Pinski

> 
> brgds, H-P
> 


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