This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/54879] gcc/combine.c:12018: warning: comparison always false due to limited range of data type
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 10 Oct 2012 10:41:44 +0000
- Subject: [Bug middle-end/54879] gcc/combine.c:12018: warning: comparison always false due to limited range of data type
- Auto-submitted: auto-generated
- References: <bug-54879-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54879
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-10-10 10:41:44 UTC ---
Author: jakub
Date: Wed Oct 10 10:41:39 2012
New Revision: 192303
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=192303
Log:
PR middle-end/54879
* combine.c (count_rtxs): Use RTX_BIN_ARITH resp. RTX_COMM_ARITH
instead of '2' resp. 'c' for GET_RTX_CLASS comparisons.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/combine.c