integrate.h (struct inline_remap): Add compare_src, compare_mode.
authorJakub Jelinek <jakub@redhat.com>
Tue, 23 Jan 2001 18:36:06 +0000 (19:36 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 23 Jan 2001 18:36:06 +0000 (19:36 +0100)
commit96e60f0c1a31d4a76905e01d583f4c62b19fd6d1
treef1ed9d3a3aa4c282e6afcb7e636e652eec822c8f
parent909b968ecb78bdc07303dffc5fcd26d9c7a8f722
integrate.h (struct inline_remap): Add compare_src, compare_mode.

* integrate.h (struct inline_remap): Add compare_src, compare_mode.
* integrate.c (expand_inline_function): Initialize them.
(subst_constants): If changing COMPARE so that both its arguments
will be VOIDmode and the comparison mode will be lost, note
compare_mode.  Use the recorded compare_mode to optimize
IF_THEN_ELSE.

From-SVN: r39203
gcc/ChangeLog
gcc/integrate.c
gcc/integrate.h