------- Comment #8 from joel at gcc dot gnu dot org 2010-04-07 21:55 ------- /users/joel/test-gcc/b-gcc2-arm/./gcc/xgcc -B/users/joel/test-gcc/b-gcc2-arm/./gcc/ -nostdinc -B/users/joel/test-gcc/b-gcc2-arm/arm-rtems4.10/newlib/ -isystem /users/joel/test-gcc/b-gcc2-arm/arm-rtems4.10/newlib/targ-include -isystem /users/joel/test-gcc/gcc-svn/newlib/libc/include -B/users/joel/test-gcc/install-svn/arm-rtems4.10/bin/ -B/users/joel/test-gcc/install-svn/arm-rtems4.10/lib/ -isystem /users/joel/test-gcc/install-svn/arm-rtems4.10/include -isystem /users/joel/test-gcc/install-svn/arm-rtems4.10/sys-include -c -g -O0 -W -Wall -gnatpg -mthumb a-nlcefu.ads -o a-nlcefu.o
This gives an ICE at -O2, -O1 and -O0 as shown above. +===========================GNAT BUG DETECTED==============================+ | 4.6.0 20100407 (experimental) [trunk revision 158082] (arm-unknown-rtems4.10) GCC error:| | in find_valid_class, at reload.c:704 | | Error detected around a-ngcefu.adb:115:8 | | Please submit a bug report; see http://gcc.gnu.org/bugs.html. | | Use a subject line meaningful to you and us to track the bug. | | Include the entire contents of this bug box in the report. | | Include the exact gcc or gnatmake command that you entered. | | Also include sources listed below in gnatchop format | | (concatenated together with no headers between files). | +==========================================================================+ If there is anything I can do to help narrow this down, let me know. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37440