This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Typo in ipa-inline-analysis.c?
- From: Jan Hubicka <hubicka at ucw dot cz>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: Jan Hubicka <hubicka at ucw dot cz>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Sun, 2 Feb 2014 05:26:17 +0100
- Subject: Re: Typo in ipa-inline-analysis.c?
- Authentication-results: sourceware.org; auth=none
- References: <CAMe9rOrvDhUK4HBiaGBjKumMMq1m+T=GF-us-5KGJVvn7M4XYA at mail dot gmail dot com>
> 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.