https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78603
Bug ID: 78603 Summary: internal compiler error: in dwarf2out_var_location, at dwarf2out.c:21846 Product: gcc Version: 5.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: jcmvbkbc at gcc dot gnu.org Target Milestone: --- Created attachment 40192 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40192&action=edit preprocessed source that triggers ICE gcc-5.4.0 with the attached patch (backport from r226828): xtensa-buildroot-linux-uclibc-gcc -c -Wall -DPJ_AUTOCONF=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -Os -g2 -DPJ_HAS_IPV6=1 -DPJ_IS_BIG_ENDIAN=1 -DPJ_IS_LITTLE_ENDIAN=0 -fPIC -I/home/jcmvbkbc/ws/tensilica/buildroot/build-20161129-reproduce-libpjsip/host/usr/xtensa-buildroot-linux-uclibc/sysroot/usr/include -I../include -o output/pjlib-test-xtensa-buildroot-linux-uclibc/thread.o ../src/pjlib-test/thread.c ../src/pjlib-test/thread.c: In function 'thread_test': ../src/pjlib-test/thread.c:328:1: internal compiler error: in dwarf2out_var_location, at dwarf2out.c:21846 } ^