http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54879
Bug #: 54879 Summary: gcc/combine.c:12018: warning: comparison always false due to limited range of data type Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end AssignedTo: unassig...@gcc.gnu.org ReportedBy: h...@gcc.gnu.org CC: ja...@gcc.gnu.org While looking at results for the patch for PR54860, I accidentally switched build machines, which exposed a few additional warnings for r192199 apparently due to the change in host gcc version (from Fedora "gcc version 4.4.3 20100127 (Red Hat 4.4.3-4) (GCC)" to Debian "gcc version 4.4.5 (Debian 4.4.5-8)"): /tmp/build20121008/gcc/gcc/combine.c: In function 'int count_rtxs(rtx_def*)': /tmp/build20121008/gcc/gcc/combine.c:12018: warning: comparison always false due to limited range of data type /tmp/build20121008/gcc/gcc/combine.c:12027: warning: comparison always false due to limited range of data type /tmp/build20121008/gcc/gcc/combine.c:12034: warning: comparison always false due to limited range of data type Apparently, the value of GET_RTX_CLASS() changed type, with combine.c:count_rtxs left wrongly using with the old type. The enum type doesn't include '2' and 'c'... Committer last touching those lines according to "svn ann" CC:ed.