dolphin-emu/dolphin — pull request #883 by nerzhul (2014-08-26 15:04:12+00:00)
Title: Fix a gcc compiler error on Archlinux 64bits (GCC 4.9.1)

When i was compiling dolphin on Archlinux/testing i have an issue where the offset 1 into m_CachedFRegs[i][1] was unable to compile.
Exactly:
m_CachedFRegHasChanged[i][1] = (m_CachedFRegs[i][1] != riPS1(i));

When i use a loop the compiler hasn't any problem.

Here is the technical problem:

Scanning dependencies of target dolphin-emu
[ 84%] Building CXX object Source/Core/DolphinWX/CMakeFiles/dolphin-emu.dir/Debugger/RegisterView.cpp.o
/home/nerzhul/Devel/dolphin/Source/Core/DolphinWX/Debugger/RegisterView.cpp: In member function ‘virtual void CRegisterView::Update()’:
/home/nerzhul/Devel/dolphin/Source/Core/DolphinWX/Debugger/RegisterView.cpp:186:6: erreur interne du compilateur: dans vect_get_vec_def_for_operand, à tree-vect-stmts.c:1449
void CRegisterView::Update()
^
Please submit a full bug report,
with preprocessed source if appropriate.
See for instructions.
Source/Core/DolphinWX/CMakeFiles/dolphin-emu.dir/build.make:560: recipe for target 'Source/Core/DolphinWX/CMakeFiles/dolphin-emu.dir/Debugger/RegisterView.cpp.o' failed
make[2]: *** [Source/Core/DolphinWX/CMakeFiles/dolphin-emu.dir/Debugger/RegisterView.cpp.o] Error 1
CMakeFiles/Makefile2:679: recipe for target 'Source/Core/DolphinWX/CMakeFiles/dolphin-emu.dir/all' failed
make[1]: *** [Source/Core/DolphinWX/CMakeFiles/dolphin-emu.dir/all] Error 2
Makefile:147: recipe for target 'all' failed
make: *** [all] Error 2

# pacman -Q|grep gcc
40:avr-gcc 4.9.1-1
193:gcc-ada 4.9.1-1
194:gcc-libs-multilib 4.9.1-1
195:gcc-multilib 4.9.1-1
428:lib32-gcc-libs 4.9.1-1