http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46326
Summary: [4.6 Regression] Revision 166382 failed to bootstrap
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Revision 166382:
http://gcc.gnu.org/ml/gcc-cvs/2010-11/msg00269.html
failed to bootstrap on x86. I got
../../src-trunk/gcc/config/i386/i386.c: In function
'ix86_delegitimize_address':
../../src-trunk/gcc/config/i386/i386.c:13017:8: error: 'or' of unmatched
not-equal tests is always 1 [-Werror]
cc1: all warnings being treated as errors
make[6]: *** [i386.o] Error 1
make[6]: *** Waiting for unfinished jobs....
Code in question is
if (GET_CODE (x) != CONST
|| GET_CODE (XEXP (x, 0)) != UNSPEC
|| XINT (XEXP (x, 0), 1) != UNSPEC_GOTPCREL
|| XINT (XEXP (x, 0), 1) != UNSPEC_PCREL
|| !MEM_P (orig_x))
return ix86_delegitimize_tls_address (orig_x);
It doesn't make any senses to me.