Unified · Split
| @@ -4890,6 +4890,9 @@ ST_FUNC void unary(void) · 4889 unmodified lines | |||
| 4890 | case TOK_ALIGNOF1: | 4890 | case TOK_ALIGNOF1: |
| 4891 | case TOK_ALIGNOF2: | 4891 | case TOK_ALIGNOF2: |
| 4892 | case TOK_ALIGNOF3: | 4892 | case TOK_ALIGNOF3: |
| 4893 | if (tcc_state->cversion != 201112 && | ||
| 4894 | tok == TOK_ALIGNOF3) | ||
| 4895 | goto tok_identifier; | ||
| 4893 | t = tok; | 4896 | t = tok; |
| 4894 | next(); | 4897 | next(); |
| 4895 | in_sizeof++; | 4898 | in_sizeof++; |
| @@ -5099,6 +5102,8 @@ ST_FUNC void unary(void) · 203 unmodified lines | |||
| 5099 | TokenString *str = NULL; | 5102 | TokenString *str = NULL; |
| 5100 | int saved_const_wanted = const_wanted; | 5103 | int saved_const_wanted = const_wanted; |
| 5101 | 5104 | ||
| 5105 | if (tcc_state->cversion != 201112) | ||
| 5106 | goto tok_identifier; | ||
| 5102 | next(); | 5107 | next(); |
| 5103 | skip('('); | 5108 | skip('('); |
| 5104 | const_wanted = 0; | 5109 | const_wanted = 0; |
| @@ -42,11 +42,16 @@ NORUN = · 41 unmodified lines | |||
| 42 | 42_function_pointer.test : NORUN = true | 42 | 42_function_pointer.test : NORUN = true |
| 43 | 43 | ||
| 44 | # Some tests might need different flags | 44 | # Some tests might need different flags |
| 45 | 33_ternary_op.test : FLAGS += -std=c11 | ||
| 46 | |||
| 45 | FLAGS = | 47 | FLAGS = |
| 46 | 76_dollars_in_identifiers.test : FLAGS += -fdollars-in-identifiers | 48 | 76_dollars_in_identifiers.test : FLAGS += -fdollars-in-identifiers |
| 47 | 49 | ||
| 48 | # These tests run several snippets from the same file one by one | 50 | # These tests run several snippets from the same file one by one |
| 49 | 60_errors_and_warnings.test : FLAGS += -dt | 51 | 60_errors_and_warnings.test : FLAGS += -dt -std=c11 |
| 52 | |||
| 53 | 94_generic.test : FLAGS += -std=c11 | ||
| 54 | |||
| 50 | 96_nodata_wanted.test : FLAGS += -dt | 55 | 96_nodata_wanted.test : FLAGS += -dt |
| 51 | 56 | ||
| 52 | # Always generate certain .expects (don't put these in the GIT), | 57 | # Always generate certain .expects (don't put these in the GIT), |