This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r135670 - in /branches/gcc-4_2-branch/gcc: Chan...
- From: nemet at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 20 May 2008 18:42:10 -0000
- Subject: r135670 - in /branches/gcc-4_2-branch/gcc: Chan...
Author: nemet
Date: Tue May 20 18:42:09 2008
New Revision: 135670
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=135670
Log:
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.
Added:
branches/gcc-4_2-branch/gcc/testsuite/gcc.dg/pr36194.c
Modified:
branches/gcc-4_2-branch/gcc/ChangeLog
branches/gcc-4_2-branch/gcc/combine.c
branches/gcc-4_2-branch/gcc/testsuite/ChangeLog