<< Back to previous view

[PCC-395] missing break statements in switch-case Created: 19/Jul/12  Updated: 19/Jul/12

Status: Closed
Project: pcc
Component/s: sparc64 target
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Martin Ettl Assignee: Unassigned
Resolution: Fixed Votes: 0


if found missing break statements in file spark64/code.c ( line 39):

switch (DEUNSIGN(sp->stype)) {
case CHAR: s = 1;
case SHORT: s = 2;
case INT:
case UNSIGNED: s = 4;
default: s = 8;

Is this on purpose?

Best regards

Ettl Martin

Comment by Iain Hibbert [ 19/Jul/12 07:07 PM ]
This was fixed some time ago with the following commit


this is not yet in a release version, but the -current CVS sources contain it
Generated at Sat Oct 10 03:28:40 CEST 2015 using JIRA Enterprise Edition, Version: 3.13.1-#333.