Overview
Comment: | Work around an ICE in Clang 3.7.0 on Windows/x86
The previous fix was incomplete. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
4102ee0c5e912c357f2e43c9c1970c09 |
User & Date: | js on 2022-12-17 23:46:56 |
Other Links: | manifest | tags |
Context
2022-12-18
| ||
09:45 | Make GCC 5.3.0 on MinGW happy again check-in: 4e7252f5cd user: js tags: trunk | |
2022-12-17
| ||
23:46 | Work around an ICE in Clang 3.7.0 on Windows/x86 check-in: 4102ee0c5e user: js tags: trunk | |
2022-12-10
| ||
16:03 | OFSystemInfo: Report DOS flavor and version check-in: 7c3ccb6b50 user: js tags: trunk | |
Changes
Modified src/OFMethodSignature.m from [90c71645ee] to [85710dfb37].
︙ | ︙ | |||
436 437 438 439 440 441 442 443 444 445 446 447 448 449 | (*type)++; (*length)--; return size; } static size_t sizeOfEncoding(const char **type, size_t *length) { size_t size; if (*length == 0) @throw [OFInvalidFormatException exception]; | > > > > | 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 | (*type)++; (*length)--; return size; } static size_t #if defined(__clang__) && __clang_major__ == 3 && __clang_minor__ <= 7 /* Work around an ICE in Clang 3.7.0 on Windows/x86 */ __attribute__((__optnone__)) #endif sizeOfEncoding(const char **type, size_t *length) { size_t size; if (*length == 0) @throw [OFInvalidFormatException exception]; |
︙ | ︙ |