public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* Typo in i386.c classify_argument
@ 2008-09-10  8:22 Ye, Joey
  2008-09-10  8:32 ` Jakub Jelinek
  0 siblings, 1 reply; 3+ messages in thread
From: Ye, Joey @ 2008-09-10  8:22 UTC (permalink / raw)
  To: GCC Patches

Index: gcc/config/i386/i386.c
===================================================================
--- gcc/config/i386/i386.c      (revision 140137)
+++ gcc/config/i386/i386.c      (working copy)
@@ -5107,7 +5107,7 @@ classify_argument (enum machine_mode mod
 }

 /* Examine the argument and return set number of register required in
each
-   class.  Return 0 iff parameter should be passed in memory.  */
+   class.  Return 0 if parameter should be passed in memory.  */
 static int
 examine_argument (enum machine_mode mode, const_tree type, int
in_return,
                  int *int_nregs, int *sse_nregs)

  

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Typo in i386.c classify_argument
  2008-09-10  8:22 Typo in i386.c classify_argument Ye, Joey
@ 2008-09-10  8:32 ` Jakub Jelinek
  2008-09-10 12:02   ` Ye, Joey
  0 siblings, 1 reply; 3+ messages in thread
From: Jakub Jelinek @ 2008-09-10  8:32 UTC (permalink / raw)
  To: Ye, Joey; +Cc: GCC Patches

On Wed, Sep 10, 2008 at 04:15:16PM +0800, Ye, Joey wrote:
> --- gcc/config/i386/i386.c      (revision 140137)
> +++ gcc/config/i386/i386.c      (working copy)
> @@ -5107,7 +5107,7 @@ classify_argument (enum machine_mode mod
>  }
> 
>  /* Examine the argument and return set number of register required in
> each
> -   class.  Return 0 iff parameter should be passed in memory.  */
> +   class.  Return 0 if parameter should be passed in memory.  */

That's not a typo, iff == if and only if.

	Jakub

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: Typo in i386.c classify_argument
  2008-09-10  8:32 ` Jakub Jelinek
@ 2008-09-10 12:02   ` Ye, Joey
  0 siblings, 0 replies; 3+ messages in thread
From: Ye, Joey @ 2008-09-10 12:02 UTC (permalink / raw)
  To: Jakub Jelinek; +Cc: GCC Patches

I see. Thanks for explanation.

- Joey 

-----Original Message-----
From: Jakub Jelinek [mailto:jakub@redhat.com] 
Sent: 2008年9月10日 16:22
To: Ye, Joey
Cc: GCC Patches
Subject: Re: Typo in i386.c classify_argument

On Wed, Sep 10, 2008 at 04:15:16PM +0800, Ye, Joey wrote:
> --- gcc/config/i386/i386.c      (revision 140137)
> +++ gcc/config/i386/i386.c      (working copy)
> @@ -5107,7 +5107,7 @@ classify_argument (enum machine_mode mod
>  }
> 
>  /* Examine the argument and return set number of register required in
> each
> -   class.  Return 0 iff parameter should be passed in memory.  */
> +   class.  Return 0 if parameter should be passed in memory.  */

That's not a typo, iff == if and only if.

	Jakub

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-09-10  9:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-10  8:22 Typo in i386.c classify_argument Ye, Joey
2008-09-10  8:32 ` Jakub Jelinek
2008-09-10 12:02   ` Ye, Joey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).