if (a || b) { a->foo; should print an error. Also better --debug output.