http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54862
Bug #: 54862 Summary: [4.8 Regression] error: comparison between signed and unsigned integer expressions in simplify-rtx.c Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end AssignedTo: unassig...@gcc.gnu.org ReportedBy: dang...@gcc.gnu.org CC: rsand...@gcc.gnu.org /xxx/gnu/gcc/objdir/./prev-gcc/g++ -B/xxx/gnu/gcc/objdir/./prev-gcc/ -B/opt/gnu/ gcc/gcc-4.8/hppa2.0w-hp-hpux11.00/bin/ -nostdinc++ -B/xxx/gnu/gcc/objdir/prev-hp pa2.0w-hp-hpux11.00/libstdc++-v3/src/.libs -B/xxx/gnu/gcc/objdir/prev-hppa2.0w-h p-hpux11.00/libstdc++-v3/libsupc++/.libs -I/xxx/gnu/gcc/objdir/prev-hppa2.0w-hp- hpux11.00/libstdc++-v3/include/hppa2.0w-hp-hpux11.00 -I/xxx/gnu/gcc/objdir/prev- hppa2.0w-hp-hpux11.00/libstdc++-v3/include -I/xxx/gnu/gcc/gcc/libstdc++-v3/libsu pc++ -L/xxx/gnu/gcc/objdir/prev-hppa2.0w-hp-hpux11.00/libstdc++-v3/src/.libs -L/ xxx/gnu/gcc/objdir/prev-hppa2.0w-hp-hpux11.00/libstdc++-v3/libsupc++/.libs -c -g -O2 -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wal l -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedanti c -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror -DHAVE_C ONFIG_H -I. -I. -I../../gcc/gcc -I../../gcc/gcc/. -I../../gcc/gcc/../include -I. ./../gcc/gcc/../libcpp/include -I/opt/gnu/gcc/gmp/include -I../../gcc/gcc/../li bdecnumber -I../../gcc/gcc/../libdecnumber/dpd -I../libdecnumber -I../../gcc/gcc /../libbacktrace ../../gcc/gcc/simplify-rtx.c -o simplify-rtx.o ../../gcc/gcc/simplify-rtx.c: In function 'rtx_def* simplify_truncation(machine_ mode, rtx, machine_mode)': ../../gcc/gcc/simplify-rtx.c:671:34: error: comparison between signed and unsign ed integer expressions [-Werror=sign-compare] && INTVAL (XEXP (op, 1)) < precision) ^ ../../gcc/gcc/simplify-rtx.c:683:34: error: comparison between signed and unsign ed integer expressions [-Werror=sign-compare] && INTVAL (XEXP (op, 1)) < precision) ^ ../../gcc/gcc/simplify-rtx.c:695:34: error: comparison between signed and unsign ed integer expressions [-Werror=sign-compare] && INTVAL (XEXP (op, 1)) < precision) ^ ../../gcc/gcc/simplify-rtx.c:709:34: error: comparison between signed and unsign ed integer expressions [-Werror=sign-compare] && INTVAL (XEXP (op, 1)) < op_precision) ^ cc1plus: all warnings being treated as errors make[3]: *** [simplify-rtx.o] Error 1