This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/54746] config/s390/s390.c:1583: possible missing break in switch ?


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!


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]