December 11, 2003 DMC 8.39.1 bug: Internal error: go 237 | ||||
---|---|---|---|---|
| ||||
Two different test files follow, though they probably trigger the same bug. Unrelated, when compiling without optimization it seems that DMC can optimize bug03a.c while it cannot optimize bug03b.c, i.e. only the first version of these two semantically identical macros can get optimized away if `expr' is constant at compile time. #define ACCCHK_ASSERT(expr) \ r &= ((expr) ? 1 : ((printf("ERROR: %s\n", #expr)), 0)); #define ACCCHK_ASSERT(expr) \ r &= ((expr) || (printf("ERROR: %s\n", #expr), 0)); Markus |
Copyright © 1999-2021 by the D Language Foundation