AI struggles with macros involving side effects like `SQUARE(i++)` that increment `i` twice, multi-statement macros without `do-while(0)` causing unexpected conditional execution, and complex conditional compilation (`#ifdef`) that radically alters code paths, all due to textual substitution before semantic analysis.