http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55045
Bug #: 55045 Summary: ira.c:879:32: error: array subscript is above array bounds (for vax) Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Keywords: build, diagnostic Severity: normal Priority: P3 Component: middle-end AssignedTo: unassig...@gcc.gnu.org ReportedBy: amyl...@gcc.gnu.org Blocks: 44756, 53198 Target: vax-linux-gnu, vax-netbsdelf g++ -c -g -O2 -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 ../../../gcc/gcc/ira.c -o ira.o ../../../gcc/gcc/ira.c: In function ‘void ira_init()’: ../../../gcc/gcc/ira.c:879:32: error: array subscript is above array bounds [-Werror=array-bounds] if ((int) pressure_classes[i] == cl) ^ cc1plus: all warnings being treated as errors make[2]: *** [ira.o] Error 1