diff options
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/cccp.c | 2 | ||||
-rw-r--r-- | gcc/cppalloc.c | 2 | ||||
-rw-r--r-- | gcc/gcc.c | 2 | ||||
-rw-r--r-- | gcc/genattr.c | 2 | ||||
-rw-r--r-- | gcc/genattrtab.c | 2 | ||||
-rw-r--r-- | gcc/gencodes.c | 2 | ||||
-rw-r--r-- | gcc/genconfig.c | 2 | ||||
-rw-r--r-- | gcc/genemit.c | 2 | ||||
-rw-r--r-- | gcc/genextract.c | 2 | ||||
-rw-r--r-- | gcc/genflags.c | 2 | ||||
-rw-r--r-- | gcc/genopinit.c | 2 | ||||
-rw-r--r-- | gcc/genoutput.c | 2 | ||||
-rw-r--r-- | gcc/genpeep.c | 2 | ||||
-rw-r--r-- | gcc/genrecog.c | 2 |
15 files changed, 21 insertions, 14 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4bced4a..a53af56 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +Fri Jan 22 11:48:56 1999 Richard Henderson <rth@cygnus.com> + + * cppp.c (xrealloc): Fix typo last change. + * cppalloc.c, gcc.c, genattr.c, genattrtab.c, gencodes.c: Likewise. + * genconfig.c, genemit.c, genextract.c, genflags.c: Likewise. + * genopinit.c, genoutput.c, genpeep.c, genrecog.c: Likewise. + 1999-01-22 Michael Meissner <meissner@cygnus.com> * rs6000.h (CR0_REGNO_P): New macro to test if cr0. @@ -10744,7 +10744,7 @@ xrealloc (old, size) size_t size; { register PTR ptr; - if (ptr) + if (old) ptr = (PTR) realloc (old, size); else ptr = (PTR) malloc (size); diff --git a/gcc/cppalloc.c b/gcc/cppalloc.c index 07b6ce1..92fa2b9 100644 --- a/gcc/cppalloc.c +++ b/gcc/cppalloc.c @@ -61,7 +61,7 @@ xrealloc (old, size) size_t size; { register PTR ptr; - if (ptr) + if (old) ptr = (PTR) realloc (old, size); else ptr = (PTR) malloc (size); @@ -5224,7 +5224,7 @@ xrealloc (old, size) size_t size; { register PTR ptr; - if (ptr) + if (old) ptr = (PTR) realloc (old, size); else ptr = (PTR) malloc (size); diff --git a/gcc/genattr.c b/gcc/genattr.c index b287a7a..1157389 100644 --- a/gcc/genattr.c +++ b/gcc/genattr.c @@ -215,7 +215,7 @@ xrealloc (old, size) size_t size; { register PTR ptr; - if (ptr) + if (old) ptr = (PTR) realloc (old, size); else ptr = (PTR) malloc (size); diff --git a/gcc/genattrtab.c b/gcc/genattrtab.c index 87f5c7a..523d073 100644 --- a/gcc/genattrtab.c +++ b/gcc/genattrtab.c @@ -5758,7 +5758,7 @@ xrealloc (old, size) size_t size; { register PTR ptr; - if (ptr) + if (old) ptr = (PTR) realloc (old, size); else ptr = (PTR) malloc (size); diff --git a/gcc/gencodes.c b/gcc/gencodes.c index 263a6ad..8c043d2 100644 --- a/gcc/gencodes.c +++ b/gcc/gencodes.c @@ -73,7 +73,7 @@ xrealloc (old, size) size_t size; { register PTR ptr; - if (ptr) + if (old) ptr = (PTR) realloc (old, size); else ptr = (PTR) malloc (size); diff --git a/gcc/genconfig.c b/gcc/genconfig.c index bfd1ba0..9a191e8 100644 --- a/gcc/genconfig.c +++ b/gcc/genconfig.c @@ -262,7 +262,7 @@ xrealloc (old, size) size_t size; { register PTR ptr; - if (ptr) + if (old) ptr = (PTR) realloc (old, size); else ptr = (PTR) malloc (size); diff --git a/gcc/genemit.c b/gcc/genemit.c index b758caa..5c4cf1e 100644 --- a/gcc/genemit.c +++ b/gcc/genemit.c @@ -696,7 +696,7 @@ xrealloc (old, size) size_t size; { register PTR ptr; - if (ptr) + if (old) ptr = (PTR) realloc (old, size); else ptr = (PTR) malloc (size); diff --git a/gcc/genextract.c b/gcc/genextract.c index a6ae3df..67c779f 100644 --- a/gcc/genextract.c +++ b/gcc/genextract.c @@ -361,7 +361,7 @@ xrealloc (old, size) size_t size; { register PTR ptr; - if (ptr) + if (old) ptr = (PTR) realloc (old, size); else ptr = (PTR) malloc (size); diff --git a/gcc/genflags.c b/gcc/genflags.c index e09a73d..a87b08d 100644 --- a/gcc/genflags.c +++ b/gcc/genflags.c @@ -193,7 +193,7 @@ xrealloc (old, size) size_t size; { register PTR ptr; - if (ptr) + if (old) ptr = (PTR) realloc (old, size); else ptr = (PTR) malloc (size); diff --git a/gcc/genopinit.c b/gcc/genopinit.c index df7fd5f..37db6b9 100644 --- a/gcc/genopinit.c +++ b/gcc/genopinit.c @@ -298,7 +298,7 @@ xrealloc (old, size) size_t size; { register PTR ptr; - if (ptr) + if (old) ptr = (PTR) realloc (old, size); else ptr = (PTR) malloc (size); diff --git a/gcc/genoutput.c b/gcc/genoutput.c index c76a451..4e7a333 100644 --- a/gcc/genoutput.c +++ b/gcc/genoutput.c @@ -919,7 +919,7 @@ xrealloc (old, size) size_t size; { register PTR ptr; - if (ptr) + if (old) ptr = (PTR) realloc (old, size); else ptr = (PTR) malloc (size); diff --git a/gcc/genpeep.c b/gcc/genpeep.c index 550de07..dfba042 100644 --- a/gcc/genpeep.c +++ b/gcc/genpeep.c @@ -401,7 +401,7 @@ xrealloc (old, size) size_t size; { register PTR ptr; - if (ptr) + if (old) ptr = (PTR) realloc (old, size); else ptr = (PTR) malloc (size); diff --git a/gcc/genrecog.c b/gcc/genrecog.c index 4eb159f..e66a839 100644 --- a/gcc/genrecog.c +++ b/gcc/genrecog.c @@ -1676,7 +1676,7 @@ xrealloc (old, size) size_t size; { register PTR ptr; - if (ptr) + if (old) ptr = (PTR) realloc (old, size); else ptr = (PTR) malloc (size); |