]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* 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 4bced4aca13e8c5a7d3b377866daa540a1dbb262..a53af56b572bde28801845d9197edd4e1eec36d4 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 166c6ad1fc74159090ba92e57f2b8def8c7839ca..f1ca07bf9f58f1cb736f1030683536682167402f 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 07b6ce18a2fd20cecf83fa71ddd73eee69801290..92fa2b9ac20e0f7d183ee7072c5f73a02622cafb 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 673cc275460d2edbb937eaa9d27535c381eaa149..e895084185e46fd8e22fafd33bd43550bd61f4ed 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 b287a7a50c133ce1da6a1607f99070284a0ed9f1..1157389fdf09a2765c48753f4e809892fffc5fc0 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 87f5c7ab13198291891e89e2d9fb2434bb27a6bc..523d073397a38019678fdb01a6bccb893702e935 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 263a6adb30faf6f4e4fe2d6b9dcfabd39d93ba59..8c043d2848ab9b2b9d7aa6fd18e972fd6ee83173 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 bfd1ba04110c39fc5423c6c34b6fe05581f99f5b..9a191e8fd59352779437dbc2104bf4c235564e4b 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 b758caa4512badedb0c05a62a570480c63e1fd5f..5c4cf1ea67ce4fcd8d18d36a5d4b7c349144f23d 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 a6ae3dfdbae618888e5687aa5677d636943ca76a..67c779ffa5a18cccff4c362513e4e4a37b468908 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 e09a73d26ea73ad5b2f5e73c8a8178d57c5a7b8d..a87b08de2878aeadcacf354910367399cfe6ff25 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 df7fd5f098ddc64960987f4bc541a984a698e788..37db6b964e30e6afe4e4a5f1b35abc8115e0b643 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 c76a45181e8f01bcf06564bd020a691da2d210a5..4e7a3339441d99401423ac68f2d812b4c0d86642 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 550de07ffe3d63a7e2c85eab5be48549edf47680..dfba042e9b5179ac0fc88b8241e2cc03511141d2 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 4eb159fe799586fd6ecafbff83a0c142c7c0330a..e66a83947fdc780f5cf1dad8a22f002e395ff7db 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);