http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60102
Sebastian Huber <sebastian.hu...@embedded-brains.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hjl at gcc dot gnu.org --- Comment #5 from Sebastian Huber <sebastian.hu...@embedded-brains.de> --- With different starting points I found another commit that leads to a similar failure: 561af01c2c9ba4c5df95348d8252896088147e32 is the first bad commit commit 561af01c2c9ba4c5df95348d8252896088147e32 Author: hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Wed Nov 27 23:54:26 2013 +0000 Also handle REG_XXX notes in spill_pseudos PR rtl-optimization/59311 * dwarf2cfi.c (dwf_regno): Assert reg isn't pseudo register. * lra-spills.c (spill_pseudos): Handle REG_XXX notes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205468 138bc75d-0d04-0410-961f-82ee72b054a4 :040000 040000 518275c5696e814bd8f7970a5914e09f0fa7f5aa 16da683b4720ab0b343b910718ad7969b0713c2d M gcc This is the error message in this case: /home/sh/git-build/b-gcc-git-powerpc-eabispe/./gcc/xgcc -B/home/sh/git-build/b-gcc-git-powerpc-eabispe/./gcc/ -nostdinc -B/home/sh/git-build/b-gcc-git-powerpc-eabispe/powerpc-eabispe/newlib/ -isystem /home/sh/git-build/b-gcc-git-powerpc-eabispe/powerpc-eabispe/newlib/targ-include -isystem /home/sh/archive/gcc-git/newlib/libc/include -B/home/sh/install-gcc-git/powerpc-eabispe/bin/ -B/home/sh/install-gcc-git/powerpc-eabispe/lib/ -isystem /home/sh/install-gcc-git/powerpc-eabispe/include -isystem /home/sh/install-gcc-git/powerpc-eabispe/sys-include -g -O2 -msoft-float -O2 -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -Dinhibit_libc -I. -I. -I../../.././gcc -I/home/sh/archive/gcc-git/libgcc -I/home/sh/archive/gcc-git/libgcc/. -I/home/sh/archive/gcc-git/libgcc/../gcc -I/home/sh/archive/gcc-git/libgcc/../include -DHAVE_CC_TLS -o _divxc3.o -MT _divxc3.o -MD -MP -MF _divxc3.dep -DL_divxc3 -c /home/sh/archive/gcc-git/libgcc/libgcc2.c -fvisibility=hidden -DHIDE_EXPORTS 0x406285 dwf_regno /home/sh/archive/gcc-git/gcc/dwarf2cfi.c:909 0x534aa4 vec<queued_reg_save, va_heap, vl_embed>::truncate(unsigned int) /home/sh/archive/gcc-git/gcc/vec.h:892 0x534aa4 vec<queued_reg_save, va_heap, vl_ptr>::truncate(unsigned int) /home/sh/archive/gcc-git/gcc/vec.h:1559 0x534aa4 dwarf2out_flush_queued_reg_saves /home/sh/archive/gcc-git/gcc/dwarf2cfi.c:996 0x53616f scan_trace /home/sh/archive/gcc-git/gcc/dwarf2cfi.c:2522 0x536b1e create_cfi_notes /home/sh/archive/gcc-git/gcc/dwarf2cfi.c:2565 0x536b1e execute_dwarf2_frame /home/sh/archive/gcc-git/gcc/dwarf2cfi.c:2925 0x536b1e execute /home/sh/archive/gcc-git/gcc/dwarf2cfi.c:3421 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <http://gcc.gnu.org/bugs.html> for instructions In case I revert this patch on the current 4.9 branch (5935f964089edccd96efa7f0bda85800dc0ee31d) I am able to build the powerpc-eabispe target.