This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/44767] New: LOCAL_ALIGNMENT used as unsigned value
- From: "amylaar at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Jul 2010 18:08:47 -0000
- Subject: [Bug other/44767] New: LOCAL_ALIGNMENT used as unsigned value
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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