1 /* { dg-do compile } */
2 /* { dg-options "-O3 -ftree-pre" } */
9 static int pendingCommand
;
10 static int currentModifiers
;
13 int (*updateKeys
) (BrailleDisplay
* brl
, int *keyPressed
);
16 static const ProtocolOperations
*protocol
;
17 brl_readCommand (BrailleDisplay
* brl
)
19 unsigned long int keys
;
22 unsigned char routingKeys
[200];
24 signed char rightVerticalSensor
;
25 if (pendingCommand
!= (-1))
29 if (!protocol
->updateKeys (brl
, &keyPressed
))
31 if (rightVerticalSensor
>= 0)
33 if ((routingKeyCount
== 0) && keys
)
37 doChord
:switch (keys
);
55 if (currentModifiers
& (0X0010 | 0X0200))
57 if (currentModifiers
& 0X0040)
59 if (currentModifiers
& 0X0100)
61 if (currentModifiers
& 0X0400)
63 if (currentModifiers
& 0X0800)
66 unsigned char key1
= routingKeys
[0];
73 currentModifiers
|= 0X0010;