http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51021
Bug #: 51021 Summary: mips optab.c compilation error Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap AssignedTo: unassig...@gcc.gnu.org ReportedBy: j...@gcc.gnu.org Mon Nov 7 15:16:57 UTC 2011 (revision 181085) Regression since mips-rtems4.11-gcc (GCC) 4.7.0 20111104 (experimental) [trunk revision 180959] gcc -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wc++-compat -fno-common -DHAVE_CONFIG_H -I. -I. -I/users/joel/test-gcc/gcc-svn/gcc -I/users/joel/test-gcc/gcc-svn/gcc/. -I/users/joel/test-gcc/gcc-svn/gcc/../include -I/users/joel/test-gcc/gcc-svn/gcc/../libcpp/include -I/users/joel/test-gcc/gcc-svn/gcc/../libdecnumber -I/users/joel/test-gcc/gcc-svn/gcc/../libdecnumber/dpd -I../libdecnumber -I/users/joel/test-gcc/install-svn/include /users/joel/test-gcc/gcc-svn/gcc/optabs.c -o optabs.o /users/joel/test-gcc/gcc-svn/gcc/optabs.c: In function ‘get_atomic_op_for_code’: /users/joel/test-gcc/gcc-svn/gcc/optabs.c:7556:5: error: initializer element is not constant /users/joel/test-gcc/gcc-svn/gcc/optabs.c:7556:5: error: (near initialization for ‘add_op.mem_fetch_before’) /users/joel/test-gcc/gcc-svn/gcc/optabs.c:7556:5: error: initializer element is not constant /users/joel/test-gcc/gcc-svn/gcc/optabs.c:7556:5: error: (near initialization for ‘add_op.mem_fetch_after’) /users/joel/test-gcc/gcc-svn/gcc/optabs.c:7556:5: error: initializer element is not constant