This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/81988] [7/8 Regression] sparc64: emits STD instruction with odd register


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81988

--- Comment #3 from John Paul Adrian Glaubitz <glaubitz at physik dot fu-berlin.de> ---
Reducing the optimization level from -O3 to -O2 also helps here:

(sid_sparc64-dchroot)root@deb4g:/build/ffmpeg-37GVTu/ffmpeg-3.3.3/debian/standard#
gcc -I. -Isrc/ -Wdate-time -D_FORTIFY_SOURCE=2 -U_FORTIFY_SOURCE
-D_FORTIFY_SOURCE=2 -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -DZLIB_CONST
-DHAVE_AV_CONFIG_H -g -O2
-fdebug-prefix-map=/build/ffmpeg-37GVTu/ffmpeg-3.3.3=. -fstack-protector-strong
-Wformat -Werror=format-security -fno-strict-overflow -fstack-protector-all
-fPIE   -std=c11 -fomit-frame-pointer -fPIC -pthread -I/usr/include/p11-kit-1
-I/usr/include/harfbuzz -I/usr/include/glib-2.0
-I/usr/lib/sparc64-linux-gnu/glib-2.0/include -I/usr/include/freetype2
-I/usr/include/fribidi -I/usr/include/freetype2  -I/usr/include/bs2b 
-I/usr/include/freetype2 -I/usr/include/freetype2 -I/usr/include/fribidi 
-I/usr/include/opus -D_REENTRANT              -D_REENTRANT -I/usr/include/SDL2 
-g -Wdeclaration-after-statement -Wall -Wdisabled-optimization -Wpointer-arith
-Wredundant-decls -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes
-Wno-pointer-to-int-cast -Wstrict-prototypes -Wempty-body -Wno-parentheses
-Wno-switch -Wno-format-zero-length -Wno-pointer-sign
-Wno-unused-const-variable -O3 -fno-math-errno -fno-signed-zeros
-fno-tree-vectorize -Werror=format-security
-Werror=implicit-function-declaration -Werror=missing-prototypes
-Werror=return-type -Werror=vla -Wformat -fdiagnostics-color=auto
-Wno-maybe-uninitialized  -MMD -MF libavcodec/vp9dsp_12bpp.d -MT
libavcodec/vp9dsp_12bpp.o -c -o libavcodec/vp9dsp_12bpp.o
src/libavcodec/vp9dsp_12bpp.c
/tmp/ccYZP5YF.s: Assembler messages:
/tmp/ccYZP5YF.s:38973: Error: Illegal operands
/tmp/ccYZP5YF.s:39002: Error: Illegal operands
/tmp/ccYZP5YF.s:39098: Error: Illegal operands
/tmp/ccYZP5YF.s:39120: Error: Illegal operands
(sid_sparc64-dchroot)root@deb4g:/build/ffmpeg-37GVTu/ffmpeg-3.3.3/debian/standard#
gcc -I. -Isrc/ -Wdate-time -D_FORTIFY_SOURCE=2 -U_FORTIFY_SOURCE
-D_FORTIFY_SOURCE=2 -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -DZLIB_CONST
-DHAVE_AV_CONFIG_H -g -O2
-fdebug-prefix-map=/build/ffmpeg-37GVTu/ffmpeg-3.3.3=. -fstack-protector-strong
-Wformat -Werror=format-security -fno-strict-overflow -fstack-protector-all
-fPIE   -std=c11 -fomit-frame-pointer -fPIC -pthread -I/usr/include/p11-kit-1
-I/usr/include/harfbuzz -I/usr/include/glib-2.0
-I/usr/lib/sparc64-linux-gnu/glib-2.0/include -I/usr/include/freetype2
-I/usr/include/fribidi -I/usr/include/freetype2  -I/usr/include/bs2b 
-I/usr/include/freetype2 -I/usr/include/freetype2 -I/usr/include/fribidi 
-I/usr/include/opus -D_REENTRANT              -D_REENTRANT -I/usr/include/SDL2 
-g -Wdeclaration-after-statement -Wall -Wdisabled-optimization -Wpointer-arith
-Wredundant-decls -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes
-Wno-pointer-to-int-cast -Wstrict-prototypes -Wempty-body -Wno-parentheses
-Wno-switch -Wno-format-zero-length -Wno-pointer-sign
-Wno-unused-const-variable -O2 -fno-math-errno -fno-signed-zeros
-fno-tree-vectorize -Werror=format-security
-Werror=implicit-function-declaration -Werror=missing-prototypes
-Werror=return-type -Werror=vla -Wformat -fdiagnostics-color=auto
-Wno-maybe-uninitialized  -MMD -MF libavcodec/vp9dsp_12bpp.d -MT
libavcodec/vp9dsp_12bpp.o -c -o libavcodec/vp9dsp_12bpp.o
src/libavcodec/vp9dsp_12bpp.c
(sid_sparc64-dchroot)root@deb4g:/build/ffmpeg-37GVTu/ffmpeg-3.3.3/debian/standard#

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]