This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Avoid the default max id check for a case jumptable


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]