]> git.ipfire.org Git - thirdparty/gcc.git/commit
combine.c (struct undo): Remove is_int.
authorIan Lance Taylor <ian@airs.com>
Wed, 11 Jan 2006 13:09:13 +0000 (13:09 +0000)
committerKenneth Zadeck <zadeck@gcc.gnu.org>
Wed, 11 Jan 2006 13:09:13 +0000 (13:09 +0000)
commitabcb0cdc2005f2cfb5ac9f1dedd5269b5f51c89f
treeb73c1561df90c815d1d60a4bb0387bf76970973d
parentbc23502b7f6590639be6473b4b8702187cac895d
combine.c (struct undo): Remove is_int.

2006-01-11  Ian Lance Taylor <ian@airs.com>

* combine.c (struct undo): Remove is_int.  Enumify types of undos.
Allow undoing set of machine mode.
(do_SUBST): Use enums instead of is_int.
(do_SUBST_MODE): New function.
(SUBST_MODE): New macro.
(try_combine): Use SUBST_MODE/PUT_MODE instead of generating a new
reg and trying to replace reg_regno_rtx with a new register.
(undo_all): Use new enums, handle undoing a PUT_MODE change.
(simplify_set): Use SUBST_MODE.
(distribute_notes): Remove code that tried to update reg notes
for regno_reg_rtx changes.

From-SVN: r109579
gcc/ChangeLog
gcc/combine.c
gcc/testsuite/gcc.c-torture/compile/20060109-1.c [new file with mode: 0644]