------- Comment #11 from bonzini at gnu dot org 2006-04-18 15:20 ------- ... but then anyway the bug pops up in reload. So it is definitely the same bug as PR24230, and here is a modified version of the PR24230 testcase:
/* Compile with -O2 -maltivec */ #define REGLIST \ "77", "78", "79", "80", "81", "82", "83", "84", "85", "86",\ "87", "88", "89", "90", "91", "92", "93", "94", "95", "96",\ "97", "98", "99", "100", "101", "102", "103", "104", "105", "106",\ "107", "108" typedef __attribute__ ((vector_size (16))) float v4sf; void foo (int H) { volatile v4sf tmp; while (H-- > 0) { asm ("" : : : REGLIST); tmp = (v4sf) __builtin_altivec_vspltisw (1); } } fails on 4.1, didn't test on 4.2. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27158