[Bug c/88051] New: internal compiler error: in add_clobbers, at config/i386/sync.md:1762

jan at jki dot io gcc-bugzilla@gcc.gnu.org
Thu Nov 15 20:17:00 GMT 2018


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

            Bug ID: 88051
           Summary: internal compiler error: in add_clobbers, at
                    config/i386/sync.md:1762
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jan at jki dot io
  Target Milestone: ---

Created attachment 45015
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45015&action=edit
preprocessed source

happens with ffmpeg 4.1

ICE seems to be related to -m32 with -march=skylake-avx512

x86_64-pc-linux-gnu-gcc -m32 -I. -Isrc/ -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 -DBUILDING_avcodec -march=skylake-avx512
-std=c11 -fPIC  -pthread   -I/usr/include/bs2b -I/usr/include/uuid
-I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0
-I/usr/lib32/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/harfbuzz
-I/usr/include/glib-2.0 -I/usr/lib32/glib-2.0/include  -I/usr/include/opus
-I/usr/include/opus -D_REENTRANT -pthread -I/usr/include/librsvg-2.0
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/pixman-1
-I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/harfbuzz
-I/usr/include/glib-2.0 -I/usr/lib32/glib-2.0/include -I/usr/include/libdrm
-I/usr/include/libpng16          -I/usr/include/alsa       
-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 -Wno-bool-operation -pipe -g -fuse-linker-plugin -O2
-Werror=format-security -Werror=implicit-function-declaration
-Werror=missing-prototypes -Werror=return-type -Werror=vla -Wformat
-fdiagnostics-color=auto -Wno-maybe-uninitialized -D_REENTRANT
-I/usr/include/SDL2 -mfpmath=both  -MMD -MF libavcodec/ffv1enc.d -MT
libavcodec/ffv1enc.o -save-temps -c -o libavcodec/ffv1enc.o 
src/libavcodec/ffv1enc.c                                                        
during RTL pass: combine
src/libavcodec/ffv1enc.c: In function ‘encode_init’:
src/libavcodec/ffv1enc.c:919:1: internal compiler error: in add_clobbers, at
config/i386/sync.md:1762                                                        
  919 | }
      | ^
0x12616da add_clobbers(rtx_def*, int)
       
/var/tmp/portage/sys-devel/gcc-9.0.0_pre9999/work/gcc-9.0.0-9999/gcc/config/i386/sync.md:1762 
0x1057fe0 recog_for_combine_1
       
/var/tmp/portage/sys-devel/gcc-9.0.0_pre9999/work/gcc-9.0.0-9999/gcc/combine.c:11451 
0x1057fe0 recog_for_combine
       
/var/tmp/portage/sys-devel/gcc-9.0.0_pre9999/work/gcc-9.0.0-9999/gcc/combine.c:11651 
0x104f29d try_combine
       
/var/tmp/portage/sys-devel/gcc-9.0.0_pre9999/work/gcc-9.0.0-9999/gcc/combine.c:4132 
0x128d1e9 combine_instructions
       
/var/tmp/portage/sys-devel/gcc-9.0.0_pre9999/work/gcc-9.0.0-9999/gcc/combine.c:1301 
0x128d1e9 rest_of_handle_combine
       
/var/tmp/portage/sys-devel/gcc-9.0.0_pre9999/work/gcc-9.0.0-9999/gcc/combine.c:14993 
0x128d1e9 execute
       
/var/tmp/portage/sys-devel/gcc-9.0.0_pre9999/work/gcc-9.0.0-9999/gcc/combine.c:15038 
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.


More information about the Gcc-bugs mailing list