]> Git Repo - linux.git/commit
objtool: Skip unreachable warnings for GCC 4.4 and older
authorJosh Poimboeuf <[email protected]>
Wed, 27 Sep 2017 22:34:23 +0000 (17:34 -0500)
committerIngo Molnar <[email protected]>
Thu, 28 Sep 2017 05:23:02 +0000 (07:23 +0200)
commitda541b20021c781f8b65492eeaee824e729599eb
tree43aa23c21680f1f08a07edfa647521de408e811b
parent9cd6681cb1169e815c41af0265165dd1b872f228
objtool: Skip unreachable warnings for GCC 4.4 and older

The kbuild bot occasionally reports warnings like:

  drivers/scsi/pcmcia/aha152x_core.o: warning: objtool: seldo_run()+0x130: unreachable instruction

These warnings are always with GCC 4.4.  That version of GCC sometimes
places unreachable instructions after calls to noreturn functions.

The unreachable warnings aren't very important anyway.  Just ignore them
for old versions of GCC.

Reported-by: kbuild test robot <[email protected]>
Signed-off-by: Josh Poimboeuf <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/bc89b807d965b98ec18a0bb94f96a594bd58f2f2.1506551639.git.jpoimboe@redhat.com
Signed-off-by: Ingo Molnar <[email protected]>
scripts/Makefile.build
This page took 0.043406 seconds and 4 git commands to generate.