aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Henderson <rth@cygnus.com>1999-01-22 03:52:05 -0800
committerRichard Henderson <rth@gcc.gnu.org>1999-01-22 03:52:05 -0800
commit09d83d2522985920496e2965d613fee818c34120 (patch)
treeb60ad00ba29af3795f484be69dc78a2f26eb70d7
parent2747111309f15faea860f79897ba70bc5c1bef81 (diff)
downloadgcc-09d83d2522985920496e2965d613fee818c34120.zip
gcc-09d83d2522985920496e2965d613fee818c34120.tar.gz
gcc-09d83d2522985920496e2965d613fee818c34120.tar.bz2
cppp.c (xrealloc): Fix typo last change.
* 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. From-SVN: r24823
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/cccp.c2
-rw-r--r--gcc/cppalloc.c2
-rw-r--r--gcc/gcc.c2
-rw-r--r--gcc/genattr.c2
-rw-r--r--gcc/genattrtab.c2
-rw-r--r--gcc/gencodes.c2
-rw-r--r--gcc/genconfig.c2
-rw-r--r--gcc/genemit.c2
-rw-r--r--gcc/genextract.c2
-rw-r--r--gcc/genflags.c2
-rw-r--r--gcc/genopinit.c2
-rw-r--r--gcc/genoutput.c2
-rw-r--r--gcc/genpeep.c2
-rw-r--r--gcc/genrecog.c2
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.
diff --git a/gcc/cccp.c b/gcc/cccp.c
index 166c6ad..f1ca07b 100644
--- a/gcc/cccp.c
+++ b/gcc/cccp.c
@@ -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);
diff --git a/gcc/gcc.c b/gcc/gcc.c
index 673cc27..e895084 100644
--- 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);
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);