From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7510 invoked by alias); 9 Oct 2012 00:18:37 -0000 Received: (qmail 7307 invoked by uid 48); 9 Oct 2012 00:18:12 -0000 From: "danglin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/54862] New: [4.8 Regression] error: comparison between signed and unsigned integer expressions in simplify-rtx.c Date: Tue, 09 Oct 2012 00:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: danglin at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2012-10/txt/msg00746.txt.bz2 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: unassigned@gcc.gnu.org ReportedBy: danglin@gcc.gnu.org CC: rsandifo@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