From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30082 invoked by alias); 1 Jul 2010 18:09:00 -0000 Received: (qmail 30027 invoked by uid 48); 1 Jul 2010 18:08:47 -0000 Date: Thu, 01 Jul 2010 18:09:00 -0000 Subject: [Bug other/44767] New: LOCAL_ALIGNMENT used as unsigned value X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "amylaar at gcc dot gnu dot org" 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: 2010-07/txt/msg00112.txt.bz2 LOCAL_ALIGNMENT has no documented required signed / unsignedness, yet it is used in a conditional expression together with an unsigned value. gcc -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror -Wold-style-definition -Wc++-compat -fno-common -DHAVE_CONFIG_H -I. -I. -I../../../gcc/gcc -I../../../gcc/gcc/. -I../../../gcc/gcc/../include -I../../../gcc/gcc/../libcpp/include -I../../../gcc/gcc/../libdecnumber -I../../../gcc/gcc/../libdecnumber/dpd -I../libdecnumber -DCLOOG_PPL_BACKEND -I/usr/include/libelf ../../../gcc/gcc/except.c -o except.o ../../../gcc/gcc/except.c: In function ‘sjlj_build_landing_pads’: ../../../gcc/gcc/except.c:1352:19: error: signed and unsigned type in conditional expression [-Werror=sign-compare] cc1: all warnings being treated as errors -- Summary: LOCAL_ALIGNMENT used as unsigned value Product: gcc Version: 4.6.0 Status: UNCONFIRMED Keywords: build Severity: normal Priority: P3 Component: other AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: amylaar at gcc dot gnu dot org GCC target triplet: bfin-elf OtherBugsDependingO 44756 nThis: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44767