https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77822
Bug ID: 77822 Summary: [6 REGRESSION] arm64 Error: immediate value out of range 0 to 63 at operand 3 Product: gcc Version: 6.2.0 Status: UNCONFIRMED Severity: major Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: costamagnagianfranco at yahoo dot it Target Milestone: --- As said, mame on arm64 is not building anymore in Debian unstable, since the gcc-6 switch. According to Matthias Klose this seems to be a gcc-6 regression, so I'm opening this bug Debing bug here https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=839249 and attached the preprocessed sources Compiling src/emu/emumem.cpp... g++ -g -O2 -fdebug-prefix-map=/«PKGBUILDDIR»=. -fPIE -fstack-protector-strong -Wformat -Werror=format-security -g0 -O2 -fdebug-prefix-map=/«PKGBUILDDIR»=. -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -MMD -MP -MP -DNDEBUG -DCRLF=2 -DLSB_FIRST -DXMD_H -DFLAC__NO_DLL -DMAME_NOASM -DLUA_COMPAT_ALL -DLUA_COMPAT_5_1 -DLUA_COMPAT_5_2 -DPTR64=1 -DNO_AFFINITY_NP -I../../../../../src/osd -I../../../../../src/emu -I../../../../../src/lib -I../../../../../src/lib/util -I../../../../../3rdparty -I../../../../generated/emu -I../../../../generated/emu/layout -I../../../../../scripts/src -pipe -Wno-deprecated-declarations -O3 -fno-strict-aliasing -mabi=lp64 -Wno-unknown-pragmas -Wall -Wcast-align -Wundef -Wformat-security -Wwrite-strings -Wno-sign-compare -Wno-conversion -Wno-unused-result -Wno-array-bounds -Wno-cast-align -x c++ -std=c++14 -Woverloaded-virtual -Wsuggest-override -flifetime-dse=1 -include obj/R elease/emu.h -o "obj/Release/src/emu/emumem.o" -c "../../../../../src/emu/emumem.cpp" {standard input}: Assembler messages: {standard input}:27954: Error: immediate value out of range 0 to 63 at operand 3 -- `ubfx x0,x2,64,32' {standard input}:27959: Error: immediate value out of range 0 to 63 at operand 3 -- `ubfx x0,x2,96,32' {standard input}:27964: Error: immediate value out of range 0 to 63 at operand 3 -- `ubfx x0,x2,128,32' {standard input}:27969: Error: immediate value out of range 0 to 63 at operand 3 -- `ubfx x0,x2,160,32' {standard input}:27974: Error: immediate value out of range 0 to 63 at operand 3 -- `ubfx x0,x2,192,32' {standard input}:28638: Error: immediate value out of range 0 to 63 at operand 3 -- `ubfx x0,x2,64,16' {standard input}:28643: Error: immediate value out of range 0 to 63 at operand 3 -- `ubfx x0,x2,80,16' {standard input}:28648: Error: immediate value out of range 0 to 63 at operand 3 -- `ubfx x0,x2,96,16' {standard input}:28653: Error: immediate value out of range 0 to 63 at operand 3 -- `ubfx x0,x2,112,16' {standard input}:28658: Error: immediate value out of range 0 to 63 at operand 3 -- `ubfx x0,x2,128,16' {standard input}:28663: Error: immediate value out of range 0 to 63 at operand 3 -- `ubfx x0,x2,144,16' {standard input}:28668: Error: immediate value out of range 0 to 63 at operand 3 -- `ubfx x0,x2,160,16' {standard input}:28673: Error: immediate value out of range 0 to 63 at operand 3 -- `ubfx x0,x2,176,16' {standard input}:28678: Error: immediate value out of range 0 to 63 at operand 3 -- `ubfx x0,x2,192,16' {standard input}:28683: Error: immediate value out of range 0 to 63 at operand 3 -- `ubfx x0,x2,208,16' {standard input}:28688: Error: immediate value out of range 0 to 63 at operand 3 -- `ubfx x0,x2,224,16' {standard input}:31708: Error: immediate value out of range 0 to 63 at operand 3 -- `ubfx x0,x2,64,32' {standard input}:31713: Error: immediate value out of range 0 to 63 at operand 3 -- `ubfx x0,x2,96,32' {standard input}:31718: Error: immediate value out of range 0 to 63 at operand 3 -- `ubfx x0,x2,128,32' {standard input}:31723: Error: immediate value out of range 0 to 63 at operand 3 -- `ubfx x0,x2,160,32' {standard input}:31728: Error: immediate value out of range 0 to 63 at operand 3 -- `ubfx x0,x2,192,32' {standard input}:32454: Error: immediate value out of range 0 to 63 at operand 3 -- `ubfx x0,x2,64,16' {standard input}:32459: Error: immediate value out of range 0 to 63 at operand 3 -- `ubfx x0,x2,80,16' {standard input}:32464: Error: immediate value out of range 0 to 63 at operand 3 -- `ubfx x0,x2,96,16' {standard input}:32469: Error: immediate value out of range 0 to 63 at operand 3 -- `ubfx x0,x2,112,16' {standard input}:32474: Error: immediate value out of range 0 to 63 at operand 3 -- `ubfx x0,x2,128,16' {standard input}:32479: Error: immediate value out of range 0 to 63 at operand 3 -- `ubfx x0,x2,144,16' {standard input}:32484: Error: immediate value out of range 0 to 63 at operand 3 -- `ubfx x0,x2,160,16' {standard input}:32489: Error: immediate value out of range 0 to 63 at operand 3 -- `ubfx x0,x2,176,16' {standard input}:32494: Error: immediate value out of range 0 to 63 at operand 3 -- `ubfx x0,x2,192,16' {standard input}:32499: Error: immediate value out of range 0 to 63 at operand 3 -- `ubfx x0,x2,208,16' {standard input}:32504: Error: immediate value out of range 0 to 63 at operand 3 -- `ubfx x0,x2,224,16'