------- Comment #28 from enrico dot scholz at informatik dot tu-chemnitz dot de 2009-11-28 23:08 ------- Created an attachment (id=19173) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19173&action=view) arm-linux-gnueabi-gcc -march=iwmmxt -mcpu=iwmmxt -mtune=iwmmxt -std=gnu99 -c -O2 libc_fatal.i
Patch generates inefficient code; e.g. it emits now 568: ee183110 tmrc r3, wcgr0 56c: e1a0d003 mov sp, r3 which could be written directly as tmrc sp, wcgr0 when allowing a ['rk','z'] constraint. The new ICE mentioned in comment #20 still happens with this patch. But this seems to be a dup of bug #37987 which exists for earlier gcc versions too. I attached a testcase for completeness. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40836