the bitrig pedro_unreachable_code branch has been created by pedro.

it is 0 commits behind master, and 12 commits ahead.

commit 5d82f2d8fe62a8c1d741e5a5837ca00b9f5308e0
diff: https://github.com/bitrig/bitrig/commit/5d82f2d
author: Pedro Martelletto <[email protected]>
date: Tue Mar 24 20:52:11 2015 +0100

Enable -Wunreachable-code on amd64.

M       sys/arch/amd64/conf/Makefile.amd64

commit a0b1242261c3c307070a95008ebb0f680002bf7e
diff: https://github.com/bitrig/bitrig/commit/a0b1242
author: Pedro Martelletto <[email protected]>
date: Tue Mar 24 20:51:11 2015 +0100

Disable -Wunreachable-code for sys/dev/pci/drm.

This code needs to be kept in sync with Linux. Let it be.

M       sys/dev/pci/drm/drmP.h

commit 26a98aead2a810512e794b7c6ace80fa007eddd0
diff: https://github.com/bitrig/bitrig/commit/26a98ae
author: Pedro Martelletto <[email protected]>
date: Tue Mar 24 20:50:43 2015 +0100

Trim unreachable code.

M       sys/dev/ic/bwi.c

commit c432610385fff7b35dfaa73c0e6155a8b11e539e
diff: https://github.com/bitrig/bitrig/commit/c432610
author: Pedro Martelletto <[email protected]>
date: Tue Mar 24 20:45:12 2015 +0100

Replace dead code with a preprocessor '#if' construction.

M       sys/dev/ata/wd.c
M       sys/dev/atapiscsi/atapiscsi.c
M       sys/dev/pci/bktr/bktr_core.c

commit e39b2cd6d4ea38222a1e86e08407c73a8bb9475f
diff: https://github.com/bitrig/bitrig/commit/e39b2cd
author: Pedro Martelletto <[email protected]>
date: Tue Mar 24 20:40:39 2015 +0100

Put softdep code under FFS_SOFTUPDATES. This avoid problems with
-Wunreachable-code (since softdep is disabled) and makes it easier to
remove the code when softdep eventually goes away.

M       sys/ufs/ffs/ffs_alloc.c
M       sys/ufs/ffs/ffs_balloc.c
M       sys/ufs/ffs/ffs_inode.c
M       sys/ufs/ffs/ffs_vfsops.c
M       sys/ufs/ufs/ufs_inode.c
M       sys/ufs/ufs/ufs_lookup.c
M       sys/ufs/ufs/ufs_vnops.c

commit b477dc02d1d3eb5870382d8d2d3b50b5990e5209
diff: https://github.com/bitrig/bitrig/commit/b477dc0
author: Pedro Martelletto <[email protected]>
date: Tue Mar 24 20:36:54 2015 +0100

Rearrange athn_switch_chan() to make it clearer and avoid dead code.
With natano@.

M       sys/dev/ic/athn.c

commit 51c7a36e8a0729d4e969e23b61f20d5d9443c407
diff: https://github.com/bitrig/bitrig/commit/51c7a36
author: Pedro Martelletto <[email protected]>
date: Tue Mar 24 20:11:45 2015 +0100

Explicitly disable -Wunreachable-code for a diagnostic check in
x86emu_halt_sys().

M       sys/dev/x86emu/x86emu.c

commit d71800f85c2c53dcd089d76b9506381a038af155
diff: https://github.com/bitrig/bitrig/commit/d71800f
author: Pedro Martelletto <[email protected]>
date: Tue Mar 24 20:10:45 2015 +0100

Replace de-facto tautological comparisons with static assertions.

M       sys/dev/ic/gdt_common.c
M       sys/dev/pci/viomb.c

commit 823589ce405919ce105a20c574a2d6090344ef91
diff: https://github.com/bitrig/bitrig/commit/823589c
author: Pedro Martelletto <[email protected]>
date: Tue Mar 24 20:06:55 2015 +0100

Comment out dead code that might still have some future use.

M       sys/dev/ic/aic79xx.c
M       sys/dev/ic/aic7xxx.c
M       sys/dev/ic/ncr53c9x.c
M       sys/dev/usb/if_athn_usb.c

commit aa3f89ef83163fd9b854f974826131b3400c23a7
diff: https://github.com/bitrig/bitrig/commit/aa3f89e
author: Pedro Martelletto <[email protected]>
date: Tue Mar 24 20:05:14 2015 +0100

Rearrange variable declarations to avoid -Wunreachable-code.

M       sys/dev/ic/aic6360.c
M       sys/dev/ic/ncr53c9x.c

commit 0a86b796452af2993c94c09d93fe198e6f0a97d5
diff: https://github.com/bitrig/bitrig/commit/0a86b79
author: Pedro Martelletto <[email protected]>
date: Tue Mar 24 19:59:02 2015 +0100

Use (0) notation to tell clang of intentionally unreached code.

M       sys/dev/ic/ar5008.c
M       sys/dev/ic/ar9003.c
M       sys/dev/ic/ar9285.c
M       sys/dev/ic/athn.c
M       sys/net/if_bridge.c
M       sys/net/pipex.c

commit 47c5ff6239b8e7752c34f4897a9471a71891abb6
diff: https://github.com/bitrig/bitrig/commit/47c5ff6
author: Pedro Martelletto <[email protected]>
date: Tue Mar 24 19:57:49 2015 +0100

Trim dead code.

M       sys/dev/acpi/acpi.c

Reply via email to