Unified · Split
| @@ -77,6 +77,8 @@ static void parse_operand(TCCState *s1, Operand *op) · 76 unmodified lines | ||
| 77 | 77 | } else |
| 78 | 78 | next(); // skip register name |
| 79 | 79 | |
| 80 | + if ((1 << reg) < regset) | |
| 81 | + tcc_warning("registers will be processed in ascending order by hardware--but are not specified in ascending order here"); | |
| 80 | 82 | regset |= 1 << reg; |
| 81 | 83 | if (tok != ',') |
| 82 | 84 | break; |