[Bug other/44767] New: LOCAL_ALIGNMENT used as unsigned value

amylaar at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Jul 1 18:09:00 GMT 2010


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



More information about the Gcc-bugs mailing list