c++.beta - DMC 8.39.1 bug: Internal error: go 237
- Markus F.X.J. Oberhumer (11/11) Dec 11 2003 Two different test files follow, though they probably trigger the
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
Dec 11 2003