using gcc-4.7.0, I get the following error when compiling Mesalib-8.0.2 changing optimisation to -O2 works root@Gemini-64:/usr/src/Mesa-8.0.2/src/gallium/drivers/r600# make gcc -c -I. -I../../../../src/gallium/include -I../../../../src/gallium/auxiliary -I../../../../src/gallium/drivers -I../../../../include -march=native -mtune=native -m64 -pipe -O3 -Wall -Wmissing-prototypes -std=c99 -fno-strict-aliasing -fno-builtin-memcmp -march=native -mtune=native -m64 -pipe -O3 -fPIC -DUSE_X86_64_ASM -D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_XCB -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DHAVE_ALIAS -DHAVE_MINCORE -DHAVE_LIBUDEV -DHAVE_XCB_DRI2 -D__STDC_CONSTANT_MACROS -DHAVE_LLVM=0x0300 -fvisibility=hidden -I/usr/include -D_GNU_SOURCE -Wno-unused-parameter -Wwrite-strings -Wno-long-long -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS r600_asm.c -o r600_asm.o r600_asm.c: In function 'check_and_set_bank_swizzle': r600_asm.c:780:12: internal compiler error: in try_move_mult_to_index, at fold-const.c:6995 Please submit a full bug report, with preprocessed source if appropriate.
An internal compiler error is a compiler bug. Please report this to GCC.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.