aboutsummaryrefslogtreecommitdiff
path: root/gcc/sched.c
diff options
context:
space:
mode:
authorJim Wilson <wilson@gcc.gnu.org>1993-03-15 11:33:21 -0800
committerJim Wilson <wilson@gcc.gnu.org>1993-03-15 11:33:21 -0800
commit8b69d15430803939880737da8e6762d554b5fd01 (patch)
treed56b7f5449b9b059e349788a46821b663becf524 /gcc/sched.c
parent45c45e79fc5661a448f0ff3d40ab1c2a6ca44563 (diff)
downloadgcc-8b69d15430803939880737da8e6762d554b5fd01.zip
gcc-8b69d15430803939880737da8e6762d554b5fd01.tar.gz
gcc-8b69d15430803939880737da8e6762d554b5fd01.tar.bz2
(adjust_priority): Comment unreachable code.
(memrefs_conflict_p): Add comment about Fortran aliasing. From-SVN: r3740
Diffstat (limited to 'gcc/sched.c')
-rw-r--r--gcc/sched.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/sched.c b/gcc/sched.c
index 386d66e..cd844cb 100644
--- a/gcc/sched.c
+++ b/gcc/sched.c
@@ -514,6 +514,9 @@ find_symbolic_term (x)
Nice to notice that varying addresses cannot conflict with fp if no
local variables had their addresses taken, but that's too hard now. */
+/* ??? In Fortran, references to a array parameter can never conflict with
+ another array parameter. */
+
static int
memrefs_conflict_p (xsize, x, ysize, y, c)
rtx x, y;
@@ -2306,6 +2309,8 @@ adjust_priority (prev)
rtx note;
int n_deaths = 0;
+ /* ??? This code has no effect, because REG_DEAD notes are removed
+ before we ever get here. */
for (note = REG_NOTES (prev); note; note = XEXP (note, 1))
if (REG_NOTE_KIND (note) == REG_DEAD)
n_deaths += 1;