PERFORCE change 166722 for review

Hans Petter Selasky hselasky at c2i.net
Wed Jul 29 08:49:16 UTC 2009


On Wednesday 29 July 2009 10:41:45 Sylvestre Gallon wrote:
> +               With this code gcc dump exactly the same switch function
> that do nothing. +               But for the multipleswitch the functionn
> switcha and switchb are also generated.

If you put a "static" into the function declaration, will gcc remove those 
functions?

Also, what happens when switch statements have more spread values than 1,2,3,4 
?

E.g. 1,2,3,100,101,102,500,501,502 ...

--HPS


More information about the p4-projects mailing list