On Wed, 8 Apr 2015, Segher Boessenkool wrote: > 2015-04-08 Segher Boessenkool <seg...@kernel.crashing.org> > > * combine.c (is_parallel_of_n_reg_sets): Change first argument > from an rtx_insn * to an rtx. > (try_combine): Adjust both callers. Use it once more.
That "once more" is outside of #ifndef HAVE_cc0 and is_parallel_of_n_reg_sets is only defined inside of one. Boom. Full test on a cc0 target (such as cris-elf) is advised, and at least "make all-gcc" would be a minimum after fixing. cutnpaste: g++ -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall \ -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macr\ os -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I/tmp/hpautotest-gcc1/gcc/gcc -I/tmp/hpautotest-gcc1/g\ cc/gcc/. -I/tmp/hpautotest-gcc1/gcc/gcc/../include -I/tmp/hpautotest-gcc1/gcc/gcc/../libcpp/include -I/tmp/hpautotest-g\ cc1/cris-elf/gccobj/./gmp -I/tmp/hpautotest-gcc1/gcc/gmp -I/tmp/hpautotest-gcc1/cris-elf/gccobj/./mpfr -I/tmp/hpautotes\ t-gcc1/gcc/mpfr -I/tmp/hpautotest-gcc1/gcc/mpc/src -I/tmp/hpautotest-gcc1/gcc/gcc/../libdecnumber -I/tmp/hpautotest-gc\ c1/gcc/gcc/../libdecnumber/dpd -I../libdecnumber -I/tmp/hpautotest-gcc1/gcc/gcc/../libbacktrace -o combine.o -MT comb\ ine.o -MMD -MP -MF ./.deps/combine.TPo /tmp/hpautotest-gcc1/gcc/gcc/combine.c /tmp/hpautotest-gcc1/gcc/gcc/combine.c: In function 'rtx_insn* try_combine(rtx_insn*, rtx_insn*, rtx_insn*, rtx_insn*, \ int*, rtx_insn*)': /tmp/hpautotest-gcc1/gcc/gcc/combine.c:3461: error: 'is_parallel_of_n_reg_sets' was not declared in this scope make[2]: *** [combine.o] Error 1 brgds, H-P