https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80359
Bug ID: 80359 Summary: -O3 causes error: invalid reference prefix Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- Created attachment 41153 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41153&action=edit C source code common-filters.c: In function ‘rtf_create_bandpass_analytic’: common-filters.c:643:9: error: invalid reference prefix MEM[base: _429, offset: 0B] common-filters.c:95:7: note: in statement # .MEM_261 = VDEF <.MEM_324> IMAGPART_EXPR <MEM[base: _429, offset: 0B]> = 0.0; common-filters.c:643:9: error: invalid reference prefix MEM[base: _438, offset: 0B] common-filters.c:95:7: note: in statement # .MEM_259 = VDEF <.MEM_281> IMAGPART_EXPR <MEM[base: _438, offset: 0B]> = 0.0; common-filters.c:643:9: internal compiler error: verify_gimple failed 0xc737e2 verify_gimple_in_cfg(function*, bool) ../../trunk/gcc/tree-cfg.c:5266 0xb00366 execute_function_todo ../../trunk/gcc/passes.c:1966 0xb02aa4 do_per_function ../../trunk/gcc/passes.c:1650 0xb02aa4 execute_todo ../../trunk/gcc/passes.c:2016 gcc is recent trunk $ ../results/bin/gcc -v Using built-in specs. COLLECT_GCC=../results/bin/gcc COLLECT_LTO_WRAPPER=/home/dcb/gcc/results.246752/libexec/gcc/x86_64-pc-linux-gnu/7.0.1/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../trunk/configure --prefix=/home/dcb/gcc/results.246752 --disable-bootstrap --disable-multilib --disable-werror --enable-checking=df,extra,fold,rtl,yes --enable-languages=c,c++,fortran Thread model: posix gcc version 7.0.1 20170407 (experimental) (GCC) I'll have a go at reducing the file.