http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59327
Bug ID: 59327 Summary: warning in expand_used_vars Product: gcc Version: 4.9.0 Status: UNCONFIRMED Keywords: build Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: amylaar at gcc dot gnu.org CC: jakub at redhat dot com Code added this morning to cfgexpand.c:expand_used_vars causes a warning: g++ -c -g -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror -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 -I../../gcc/gcc/../libbacktrace -o cfgexpand.o -MT cfgexpand.o -MMD -MP -MF ./.deps/cfgexpand.TPo ../../gcc/gcc/cfgexpand.c ../../gcc/gcc/cfgexpand.c: In function ‘rtx_def* expand_used_vars()’: ../../gcc/gcc/cfgexpand.c:1836:35: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare] && sz + ASAN_RED_ZONE_SIZE >= data.asan_alignb) ^ cc1plus: all warnings being treated as errors make: *** [cfgexpand.o] Error 1 Seen for target arc-elf. [amylaar@rowan gcc]$ g++ --version g++ (GCC) 4.9.0 20131126 (experimental) Copyright (C) 2013 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. [amylaar@rowan gcc]$ uname -a Linux rowan 3.11.7-200.fc19.i686.PAE #1 SMP Mon Nov 4 14:22:33 UTC 2013 i686 i686 i386 GNU/Linux