On 5.5 trunk, Yakkety, release build:
In file included from /mnt/workspace/percona-server-5.5-trunk/BUILD_TYPE/release/Host/ubuntu-yakkety-64bit/storage/innobase/include/page0page.h:33:0,
from /mnt/workspace/percona-server-5.5-trunk/BUILD_TYPE/release/Host/ubuntu-yakkety-64bit/storage/innobase/page/page0page.c:27:
/mnt/workspace/percona-server-5.5-trunk/BUILD_TYPE/release/Host/ubuntu-yakkety-64bit/storage/innobase/page/page0page.c: In function ‘page_copy_rec_list_end’:
/mnt/workspace/percona-server-5.5-trunk/BUILD_TYPE/release/Host/ubuntu-yakkety-64bit/storage/innobase/include/buf0buf.h:1124:61: warning: nonnull argument ‘new_block’ compared to NULL [-Wnonnull-compare]
# define buf_block_get_frame(block) (block ? (block)->frame : 0)
~~~~~~~~~~~~~~~~~~~~~~~~^~~~
/mnt/workspace/percona-server-5.5-trunk/BUILD_TYPE/release/Host/ubuntu-yakkety-64bit/storage/innobase/page/page0page.c:613:22: note: in expansion of macro ‘buf_block_get_frame’
page_t* new_page = buf_block_get_frame(new_block);
^~~~~~~~~~~~~~~~~~~
/mnt/workspace/percona-server-5.5-trunk/BUILD_TYPE/release/Host/ubuntu-yakkety-64bit/storage/innobase/page/page0page.c: In function ‘page_move_rec_list_end’:
/mnt/workspace/percona-server-5.5-trunk/BUILD_TYPE/release/Host/ubuntu-yakkety-64bit/storage/innobase/include/buf0buf.h:1124:61: warning: nonnull argument ‘new_block’ compared to NULL [-Wnonnull-compare]
# define buf_block_get_frame(block) (block ? (block)->frame : 0)
~~~~~~~~~~~~~~~~~~~~~~~~^~~~
/mnt/workspace/percona-server-5.5-trunk/BUILD_TYPE/release/Host/ubuntu-yakkety-64bit/storage/innobase/page/page0page.c:1187:22: note: in expansion of macro ‘buf_block_get_frame’
page_t* new_page = buf_block_get_frame(new_block);
^~~~~~~~~~~~~~~~~~~
/mnt/workspace/percona-server-5.5-trunk/BUILD_TYPE/release/Host/ubuntu-yakkety-64bit/storage/innobase/page/page0page.c: In function ‘page_copy_rec_list_start’:
/mnt/workspace/percona-server-5.5-trunk/BUILD_TYPE/release/Host/ubuntu-yakkety-64bit/storage/innobase/include/buf0buf.h:1124:61: warning: nonnull argument ‘new_block’ compared to NULL [-Wnonnull-compare]
# define buf_block_get_frame(block) (block ? (block)->frame : 0)
~~~~~~~~~~~~~~~~~~~~~~~~^~~~
/mnt/workspace/percona-server-5.5-trunk/BUILD_TYPE/release/Host/ubuntu-yakkety-64bit/storage/innobase/page/page0page.c:725:22: note: in expansion of macro ‘buf_block_get_frame’
page_t* new_page = buf_block_get_frame(new_block);
^~~~~~~~~~~~~~~~~~~
In file included from /mnt/workspace/percona-server-5.5-trunk/BUILD_TYPE/release/Host/ubuntu-yakkety-64bit/storage/innobase/include/page0page.h:33:0,
from /mnt/workspace/percona-server-5.5-trunk/BUILD_TYPE/release/Host/ubuntu-yakkety-64bit/storage/innobase/include/page0zip.ic:32,
from /mnt/workspace/percona-server-5.5-trunk/BUILD_TYPE/release/Host/ubuntu-yakkety-64bit/storage/innobase/include/page0zip.h:474,
from /mnt/workspace/percona-server-5.5-trunk/BUILD_TYPE/release/Host/ubuntu-yakkety-64bit/storage/innobase/page/page0zip.c:27:
/mnt/workspace/percona-server-5.5-trunk/BUILD_TYPE/release/Host/ubuntu-yakkety-64bit/storage/innobase/page/page0zip.c: In function ‘page_zip_reorganize’:
/mnt/workspace/percona-server-5.5-trunk/BUILD_TYPE/release/Host/ubuntu-yakkety-64bit/storage/innobase/include/buf0buf.h:1124:61: warning: nonnull argument ‘block’ compared to NULL [-Wnonnull-compare]
# define buf_block_get_frame(block) (block ? (block)->frame : 0)
~~~~~~~~~~~~~~~~~~~~~~~~^~~~
/mnt/workspace/percona-server-5.5-trunk/BUILD_TYPE/release/Host/ubuntu-yakkety-64bit/storage/innobase/page/page0zip.c:4542:19: note: in expansion of macro ‘buf_block_get_frame’
page_t* page = buf_block_get_frame(block);
^~~~~~~~~~~~~~~~~~~
See also bug 1641612