From 2a59078d5140c24ab8d868626bef79738d145ac8 Mon Sep 17 00:00:00 2001 From: Rodney Brown Date: Wed, 12 Jul 2000 04:29:22 +0000 Subject: [PATCH] gcc.texi: Fix minor typos * gcc.texi: Fix minor typos * extend.texi: Fix minor typos From-SVN: r34980 --- gcc/ChangeLog | 5 +++++ gcc/extend.texi | 10 +++++----- gcc/gcc.texi | 4 ++-- 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7b3b1fa..b0d42ca 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2000-07-11 Rodney Brown + + * gcc.texi: Fix minor typos + * extend.texi: Fix minor typos + 2000-07-11 Marc Espie * collect2.c (main): Recognize .lo as object files. diff --git a/gcc/extend.texi b/gcc/extend.texi index f244f50..a34ba2b 100644 --- a/gcc/extend.texi +++ b/gcc/extend.texi @@ -813,7 +813,7 @@ them as a single variable with a complex type. @section Hex Floats @cindex hex floats -GNU CC recognizes floating-point numbers writen not only in the usual +GNU CC recognizes floating-point numbers written not only in the usual decimal notation, such as @code{1.55e1}, but also numbers such as @code{0x1.fp3} written in hexadecimal format. In that format the @code{0x} hex introducer and the @code{p} or @code{P} exponent field are @@ -1310,7 +1310,7 @@ hack ((union foo) x); @cindex functions that never return @cindex functions that have no side effects @cindex functions in arbitrary sections -@cindex functions that bahave like malloc +@cindex functions that behave like malloc @cindex @code{volatile} applied to function @cindex @code{const} applied to function @cindex functions with @code{printf}, @code{scanf} or @code{strftime} style arguments @@ -1399,7 +1399,7 @@ fewer times than the program says. Some of common examples of pure functions are @code{strlen} or @code{memcmp}. Interesting non-pure functions are functions with infinite loops or those depending on volatile memory or other system resource, that may change between -two consetuctive calls (such as @code{feof} in multithreding environment). +two consecutive calls (such as @code{feof} in a multithreading environment). The attribute @code{pure} is not implemented in GNU C versions earlier than 2.96. @@ -1408,7 +1408,7 @@ than 2.96. Many functions do not examine any values except their arguments, and have no effects except the return value. Basically this is just slightly more strict class than the "pure" attribute above, since function is not -alloved to read global memory. +allowed to read global memory. @cindex pointer arguments Note that a function that has pointer arguments and examines the data @@ -2073,7 +2073,7 @@ section, consider using the facilities of the linker instead. @item shared @cindex @code{shared} variable attribute -On Windows NT, in addition to nputting variable definitions in a named +On Windows NT, in addition to putting variable definitions in a named section, the section can also be shared among all running copies of an executable or DLL. For example, this small program defines shared data by putting it in a named section "shared" and marking the section diff --git a/gcc/gcc.texi b/gcc/gcc.texi index 483947e..9267ef1 100644 --- a/gcc/gcc.texi +++ b/gcc/gcc.texi @@ -1013,7 +1013,7 @@ PTF releases (3.2.2, 3.2.3, or 3.2.3e). Users of AIX 3.1 should request PTF U403044 from IBM and users of AIX 3.2 should request PTF U416277. See the file @file{README.RS6000} for more details on these updates. -You can test for the presense of a fixed assembler by using the +You can test for the presence of a fixed assembler by using the command @smallexample @@ -1861,7 +1861,7 @@ problem. @code{unprotoize} can become confused when trying to convert a function definition or declaration which contains a declaration for a pointer-to-function formal argument which has the same name as the -function being defined or declared. We recommand you avoid such choices +function being defined or declared. We recommend you avoid such choices of formal parameter names. @item -- 2.7.4