* cppp.c (xrealloc): Fix typo last change.
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 22 Jan 1999 11:52:05 +0000 (11:52 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 22 Jan 1999 11:52:05 +0000 (11:52 +0000)
        * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24823 138bc75d-0d04-0410-961f-82ee72b054a4

15 files changed:
gcc/ChangeLog
gcc/cccp.c
gcc/cppalloc.c
gcc/gcc.c
gcc/genattr.c
gcc/genattrtab.c
gcc/gencodes.c
gcc/genconfig.c
gcc/genemit.c
gcc/genextract.c
gcc/genflags.c
gcc/genopinit.c
gcc/genoutput.c
gcc/genpeep.c
gcc/genrecog.c

index 4bced4a..a53af56 100644 (file)
@@ -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.
index 166c6ad..f1ca07b 100644 (file)
@@ -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);
index 07b6ce1..92fa2b9 100644 (file)
@@ -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);
index 673cc27..e895084 100644 (file)
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -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);
index b287a7a..1157389 100644 (file)
@@ -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);
index 87f5c7a..523d073 100644 (file)
@@ -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);
index 263a6ad..8c043d2 100644 (file)
@@ -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);
index bfd1ba0..9a191e8 100644 (file)
@@ -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);
index b758caa..5c4cf1e 100644 (file)
@@ -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);
index a6ae3df..67c779f 100644 (file)
@@ -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);
index e09a73d..a87b08d 100644 (file)
@@ -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);
index df7fd5f..37db6b9 100644 (file)
@@ -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);
index c76a451..4e7a333 100644 (file)
@@ -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);
index 550de07..dfba042 100644 (file)
@@ -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);
index 4eb159f..e66a839 100644 (file)
@@ -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);