http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49775
Summary: [4.6.1 Regression on AVR] ICE in based_loc_descr Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: other AssignedTo: unassig...@gcc.gnu.org ReportedBy: anitha.boyap...@atmel.com AVR target built with specs: Using built-in specs. COLLECT_GCC=avr-gcc COLLECT_LTO_WRAPPER=/home/anitha/install/libexec/gcc/avr/4.6.1/lto-wrapper Target: avr Configured with: ../configure --prefix=/home/anitha/install --target=avr --with-gmp=/proj/install/gmp-4.3.2/ --with-mpfr=/proj/install/mpfr-2.4.2/ --with-mpc=/proj/install/mpc-0.8.2/ --enable-languages=c,c++ --disable-libssp --disable-nls --with-dwarf2 Thread model: single gcc version 4.6.1 (GCC) The above compiler gives an ICE in based_loc_descr() of dwarf2out.c for 2 testcases present in gcc/testsuite/gcc.c-torture/compile/pr17906.c and gcc/testsuite/gcc.c-torture/compile/pr35432.c. Output for pr17906.c -------------------- /home/anitha/patch-upgrade/gcc-4.6.1/gcc/testsuite/gcc.c-torture/compile/pr17906.c: In function 'usc_recressive_func': /home/anitha/patch-upgrade/gcc-4.6.1/gcc/testsuite/gcc.c-torture/compile/pr17906.c:7:1: internal compiler error: in based_loc_descr, at dwarf2out.c:13563 Output for pr35432.c -------------------- /gcc-4.6.1/gcc/testsuite/gcc.c-torture/compile/pr35432.c (timeout = 300) /home/anitha/patch-upgrade/gcc-4.6.1/gcc/testsuite/gcc.c-torture/compile/pr35432.c: In function 'foo': /home/anitha/patch-upgrade/gcc-4.6.1/gcc/testsuite/gcc.c-torture/compile/pr35432.c:11:1: internal compiler error: in based_loc_descr, at dwarf2out.c:13563