aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2002-04-10 03:50:39 +0000
committerAlan Modra <amodra@gcc.gnu.org>2002-04-10 13:20:39 +0930
commita6a063b81ce323e49eb23bd87d7147c5cb09814e (patch)
tree8f57737d03a2fc651bab26e059ff589511d75dfa /gcc/rtl.h
parent7b2e1077614049c9899772aa14edab91e80e7ec5 (diff)
downloadgcc-a6a063b81ce323e49eb23bd87d7147c5cb09814e.zip
gcc-a6a063b81ce323e49eb23bd87d7147c5cb09814e.tar.gz
gcc-a6a063b81ce323e49eb23bd87d7147c5cb09814e.tar.bz2
re PR rtl-optimization/6233 (simple loop miscompilation)
PR optimization/6233 * rtlanal.c (pure_call_p): New function. * rtl.h (pure_call_p): Declare. * loop.c (prescan_loop): Use it to set has_nonconst_call. * gcse.c (store_killed_in_insn): Use pure_call_p here too. From-SVN: r52110
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r--gcc/rtl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/rtl.h b/gcc/rtl.h
index d795a4a..7f62b91 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -1502,6 +1502,7 @@ extern rtx find_reg_equal_equiv_note PARAMS ((rtx));
extern int find_reg_fusage PARAMS ((rtx, enum rtx_code, rtx));
extern int find_regno_fusage PARAMS ((rtx, enum rtx_code,
unsigned int));
+extern int pure_call_p PARAMS ((rtx));
extern void remove_note PARAMS ((rtx, rtx));
extern int side_effects_p PARAMS ((rtx));
extern int volatile_refs_p PARAMS ((rtx));