aboutsummaryrefslogtreecommitdiff
path: root/gcc/cselib.h
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2003-01-07 23:14:43 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2003-01-07 22:14:43 +0000
commit9635cfadeef9c6a1556a1675094a1f5af9e4fe8b (patch)
treeb69303dec14643feb1ed9f6714049e127cdb3831 /gcc/cselib.h
parentb5038cfb822f8f3881fab43d0149dd205d4ca001 (diff)
downloadgcc-9635cfadeef9c6a1556a1675094a1f5af9e4fe8b.zip
gcc-9635cfadeef9c6a1556a1675094a1f5af9e4fe8b.tar.gz
gcc-9635cfadeef9c6a1556a1675094a1f5af9e4fe8b.tar.bz2
cselib.c (cselib_current_insn_in_libcall): New static variable.
* cselib.c (cselib_current_insn_in_libcall): New static variable. (new_elt_loc_list, cselib_process_insn, cselib_init): Keep track on whether we are inside libcall. * cselib.h (elt_loc_list): Add in_libcall. * gcse.c (do_local_cprop): Do not copy propagate using insns in libcalls. From-SVN: r61023
Diffstat (limited to 'gcc/cselib.h')
-rw-r--r--gcc/cselib.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/cselib.h b/gcc/cselib.h
index 8cb2e6b..f29ee8d 100644
--- a/gcc/cselib.h
+++ b/gcc/cselib.h
@@ -49,6 +49,8 @@ struct elt_loc_list GTY(())
rtx loc;
/* The insn that made the equivalence. */
rtx setting_insn;
+ /* True when setting insn is inside libcall. */
+ bool in_libcall;
};
/* A list of cselib_val structures. */