http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54746
--- Comment #3 from Andreas Krebbel <krebbel at gcc dot gnu.org> 2012-10-01 07:33:17 UTC --- (In reply to comment #0) > break; > case PROCESSOR_2097_Z10: > s390_cost = &z10_cost; > case PROCESSOR_2817_Z196: > s390_cost = &z196_cost; > > Looks like a missing break to me. The wrong cost gets picked up. You are right. I'll commit a patch to mainline and 4.7 branch. Thanks!