projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0705a2a
)
* cse.c (fold_rtx): Fix 03-30 change; do check insn non-null.
author
Richard Henderson
<rth@redhat.com>
Fri, 4 Apr 2003 21:49:42 +0000
(13:49 -0800)
committer
Richard Henderson
<rth@gcc.gnu.org>
Fri, 4 Apr 2003 21:49:42 +0000
(13:49 -0800)
From-SVN: r65249
gcc/ChangeLog
patch
|
blob
|
history
gcc/cse.c
patch
|
blob
|
history
diff --git
a/gcc/ChangeLog
b/gcc/ChangeLog
index c15b2c255e9a94b3c1f4576489a899b838c869a2..923d4370a95b158e0b27808e922487720d1c8ce7 100644
(file)
--- a/
gcc/ChangeLog
+++ b/
gcc/ChangeLog
@@
-1,3
+1,7
@@
+2003-04-04 Richard Henderson <rth@redhat.com>
+
+ * cse.c (fold_rtx): Fix 03-30 change; do check insn non-null.
+
2003-04-04 Loren James Rittle <ljrittle@acm.org>
* fixinc/inclhack.def (bsd_stdio_attrs_conflict): New.
diff --git
a/gcc/cse.c
b/gcc/cse.c
index 94eb8d0018806c9ca9a8e0b61344958d1a1606bd..4109b58a868653c7b4b7ed8ddefc77fc43cdda9c 100644
(file)
--- a/
gcc/cse.c
+++ b/
gcc/cse.c
@@
-3354,7
+3354,7
@@
fold_rtx (x, insn)
lets us fold switch statements on the VAX. */
{
rtx next;
- if (tablejump_p (insn, &next, NULL))
+ if (
insn &&
tablejump_p (insn, &next, NULL))
return gen_rtx_LABEL_REF (Pmode, next);
}
break;