This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Avoid the default max id check for a case jumptable
- To: gcc at gcc dot gnu dot org
- Subject: Avoid the default max id check for a case jumptable
- From: Ralph Schmidt <laire at basis dot owl dot de>
- Date: Fri, 24 Mar 2000 16:26:05 +0100
- Reply-To: laire at popmail dot owl dot de
Is there a method to avoid the time wasting index check for a
case jmptable when the switch contains all possible cases ?
Imho adding an attribute extension here to the switch ()
statement that the cases cover all possible ids would be a
worthy gcc C extension.
Regards
---
Ralph Schmidt,laire@popmail.owl.de(private),NextMail welcome