Re: [PATCH] reiserfs: fix code unwinding with clang

2019-07-18 Thread Arnd Bergmann
On Thu, Jul 18, 2019 at 5:20 PM Joe Perches wrote: > On Thu, 2019-07-18 at 15:49 +0200, Arnd Bergmann wrote: > > This will likely get fixed in a future clang release, but in the meantime > > the workaround helps us build cleanly with existing releases. > > The original code read better. > > This i

Re: [PATCH] reiserfs: fix code unwinding with clang

2019-07-18 Thread Joe Perches
On Thu, 2019-07-18 at 15:49 +0200, Arnd Bergmann wrote: > Building reiserfs with clang leads to objtool warnings about a part of the > unreachable code that may confuse the ORC unwinder: > > fs/reiserfs/ibalance.o: warning: objtool: balance_internal()+0xe8f: stack > state mismatch: cfa1=7+240 cfa

[PATCH] reiserfs: fix code unwinding with clang

2019-07-18 Thread Arnd Bergmann
Building reiserfs with clang leads to objtool warnings about a part of the unreachable code that may confuse the ORC unwinder: fs/reiserfs/ibalance.o: warning: objtool: balance_internal()+0xe8f: stack state mismatch: cfa1=7+240 cfa2=7+248 fs/reiserfs/ibalance.o: warning: objtool: internal_move_po