aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJeffrey A Law <law@cygnus.com>1998-01-17 22:00:51 +0000
committerJeff Law <law@gcc.gnu.org>1998-01-17 15:00:51 -0700
commit4399e7a3244b22aeebef9ceb85d978769709ad47 (patch)
treeed9a0a5d3a557dd2a6f3e2408fe35544fa38499b /gcc
parent72ec635f5a09e342acee7752e305be4b49023fee (diff)
downloadgcc-4399e7a3244b22aeebef9ceb85d978769709ad47.zip
gcc-4399e7a3244b22aeebef9ceb85d978769709ad47.tar.gz
gcc-4399e7a3244b22aeebef9ceb85d978769709ad47.tar.bz2
* rtl.c (read_rtx): Initialize list_rtx to NULL, not NULL_RTX.
From-SVN: r17400
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog2
-rw-r--r--gcc/rtl.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 299297d..e856c7f 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -23,6 +23,8 @@ Sat Jan 17 21:24:16 1998 David T. McWherter <dtm@waterw.com>
Sat Jan 17 21:16:19 1998 Jeffrey A Law (law@cygnus.com)
+ * rtl.c (read_rtx): Initialize list_rtx to NULL, not NULL_RTX.
+
* loop.c (find_and_verify_loops): When attempting to move insns from
inside the loop outside the loop, create a BARRIER if no suitable
one was found.
diff --git a/gcc/rtl.c b/gcc/rtl.c
index 063ce79..c448677 100644
--- a/gcc/rtl.c
+++ b/gcc/rtl.c
@@ -665,7 +665,7 @@ read_rtx (infile)
case 'E':
{
register struct rtx_list *next_rtx, *rtx_list_link;
- struct rtx_list *list_rtx = NULL_RTX;
+ struct rtx_list *list_rtx = NULL;
c = read_skip_spaces (infile);
if (c != '[')