PERFORCE change 166722 for review

Sylvestre Gallon ccna.syl at gmail.com
Wed Jul 29 09:16:04 UTC 2009


On Wed, Jul 29, 2009 at 10:49 AM, Hans Petter Selasky<hselasky at c2i.net> wrote:
> 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
>

I will update the report following you advices.

Cheers,

-- 
Sylvestre Gallon (http://devsyl.blogspot.com)
Fifth Grade Student @ Epitech & Researcher @ LSE
R&D @ Rathaxes (http://www.rathaxes.org)


More information about the p4-projects mailing list