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: Typo in ipa-inline-analysis.c?


> ipa-inline-analysis.c has
> 
> /* Return true if P is (false).  */
>                              ^^^^^^^^ Should it be (true)?

Yes, too much of cut&past.  Patch to fix it is preapproved of course.

Thanks!
Honza
> 
> static inline bool
> true_predicate_p (struct predicate *p)
> {
>   return !p->clause[0];
> }
> 
> 
> /* Return true if P is (false).  */
> 
> static inline bool
> false_predicate_p (struct predicate *p)
> 
> -- 
> H.J.


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