On Tue, Jan 12, 2016 at 7:53 PM, Jesper Broge Jørgensen <jesperbr...@gmail.com> wrote: > Hello > > genattrab.c can generate if statements that have very deep bracket nesting > causing clang to produce errors (when target=arm-none-eabi) as explained at > https://gcc.gnu.org/ml/gcc/2014-05/msg00032.html > At the above link it was suggested that genattrab.c generated a switch > statement instead. I have made a patch that does just that.=
Have you considered first implementing the other suggestion in that thread -- to avoid emitting the redundant parentheses in a consecutive chain ||s and &&s? That kind of fix would be simpler and would fix the compilation issue all the same, right?