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]

Fix simple typos in doc/tree-ssa.texi


I believe I found a few typos in doc/tree-ssa.texi. I may be wrong 
but the version here is more understandable to the neophyte I am.
If I'm wrong, may be adding some more explanation would be nice.
There is still the possibility I have been totally dumb while reading 
this text...

	Theo.


2004-05-24 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
    * doc/tree-ssa.texi (Statement Operands): Fix typos.

Index: tree-ssa.texi
===================================================================
RCS file: /home/papadop/src/Cvs/Refs/gcc/gcc-cvs/gcc/gcc/doc/tree-ssa.texi,v
retrieving revision 1.2
diff -c -3 -p -r1.2 tree-ssa.texi
*** tree-ssa.texi	13 May 2004 06:40:27 -0000	1.2
--- tree-ssa.texi	23 May 2004 06:45:04 -0000
*************** full object that they represent.  For in
*** 693,701 ****
  
  Since @code{a} and @code{b} are non-aliased locals, the statement
  @code{a = b} will have one real definition and one real use because
! variable @code{b} is completely modified with the contents of
! variable @code{a}.  Real definition are also known as @dfn{killing
! definitions}.  Similarly, the use of @code{a} reads all its bits.
  
  In contrast, virtual operands represent partial or ambiguous
  references to a variable.  For instance, given
--- 693,701 ----
  
  Since @code{a} and @code{b} are non-aliased locals, the statement
  @code{a = b} will have one real definition and one real use because
! variable @code{a} is completely modified with the contents of
! variable @code{b}.  Real definition are also known as @dfn{killing
! definitions}.  Similarly, the use of @code{b} reads all its bits.
  
  In contrast, virtual operands represent partial or ambiguous
  references to a variable.  For instance, given
*************** For instance, consider the following fun
*** 1064,1078 ****
  @example
  foo (int i)
  @{
!   int *p, *q, a, b;
  
    if (i > 10)
      p = &a;
    else
!     q = &b;
  
    *p = 3;
-   *q = 5;
    a = b + 2;
    return *p;
  @}
--- 1064,1077 ----
  @example
  foo (int i)
  @{
!   int *p, a, b;
  
    if (i > 10)
      p = &a;
    else
!     p = &b;
  
    *p = 3;
    a = b + 2;
    return *p;
  @}

 --------------------------------------------------------------------
 Theodore Papadopoulo
 Email: Theodore.Papadopoulo@sophia.inria.fr Tel: (33) 04 92 38 76 01
 --------------------------------------------------------------------




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