OSDN Git Service

PR middle-end/36194
authornemet <nemet@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 15 May 2008 19:25:53 +0000 (19:25 +0000)
committernemet <nemet@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 15 May 2008 19:25:53 +0000 (19:25 +0000)
commitd9a71d72f0b26b98704b85fc255775b78204aacd
tree079188d9b1647cab153882c44eb6a6dd756a3fff
parent62663cf9327c4ea7456bb8e5fec1837c32ebef02
PR middle-end/36194
        * combine.c (check_conversion): Rename to check_promoted_subreg.
        Don't call record_truncated_value from here.
        (record_truncated_value): Turn it into a for_each_rtx callback.
        (record_truncated_values): New function.
        (combine_instructions): Call note_uses with
        record_truncated_values.  Change name of check_conversion to
        check_promoted_subreg.

testsuite/

* gcc.dg/pr36194.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@135392 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/combine.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr36194.c [new file with mode: 0644]