[PATCH] Implement switch statements with bit tests

Roger Sayle roger@www.eyesopen.com
Fri Jan 24 14:29:00 GMT 2003


Hi Kaveh,
> Testsuite entry?  Just write an "execute" test with some hairy switch
> statements that exercise your code, verify the results with aborts and
> make sure to catch all the corner cases.  I think that'll allay some
> of the confusion and concerns that have been raised.

I believe that we already have testsuite entries containg suitable
switch statements that would have failed if I'd screwed things up.

This is in addition to the 230+ switch statements that have to be
implement correctly to complete a GCC bootstrap, and the 5100+
corner cases that we need to determine must be implemented using
another method, and ignore. :>

Roger
--



More information about the Gcc-patches mailing list