summaryrefslogtreecommitdiffstats
path: root/gcc
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>1999-01-22 11:52:05 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>1999-01-22 11:52:05 +0000
commit6ddc722331790cc947592eba5cfdd99a9c3dac28 (patch)
treeb60ad00ba29af3795f484be69dc78a2f26eb70d7 /gcc
parent28e438735bd9c0d404a6ddeeebc3ad0e1a3fe88d (diff)
downloadppe42-gcc-6ddc722331790cc947592eba5cfdd99a9c3dac28.tar.gz
ppe42-gcc-6ddc722331790cc947592eba5cfdd99a9c3dac28.zip
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24823 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-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 4bced4aca13..a53af56b572 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 166c6ad1fc7..f1ca07bf9f5 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 07b6ce18a2f..92fa2b9ac20 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 673cc275460..e895084185e 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 b287a7a50c1..1157389fdf0 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 87f5c7ab131..523d073397a 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 263a6adb30f..8c043d2848a 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 bfd1ba04110..9a191e8fd59 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 b758caa4512..5c4cf1ea67c 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 a6ae3dfdbae..67c779ffa5a 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 e09a73d26ea..a87b08de287 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 df7fd5f098d..37db6b964e3 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 c76a45181e8..4e7a3339441 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 550de07ffe3..dfba042e9b5 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 4eb159fe799..e66a83947fd 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);
OpenPOWER on IntegriCloud