[Mesa-dev] [PATCH 0/7] mesa: Enable -fstrict-aliasing

0xe2.0x9a.0x9b at gmail.com
Thu Jul 21 00:26:19 UTC 2016


GCC 6.1 -O3

Mesa 12.1.0-devel (git-d2b4b16)

Some line numbers provided below may be off by a few lines.

List of warnings generated AFTER
http://patchwork.freedesktop.org/series/9204/ rev 2 has been applied:

 * /var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/src/mesa/state_tracker/st_glsl_to_tgsi.cpp:1134:30:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
 * /var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/src/mesa/state_tracker/st_glsl_to_tgsi.cpp:3069:55:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
 * /var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/src/mesa/drivers/dri/i915/intel_clear.c:84:4:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
 * /var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/src/gallium/auxiliary/draw/draw_pipe_clip.c:93:10:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
 * /var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/src/gallium/auxiliary/draw/draw_cliptest_tmp.h:48:7:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
 * /var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/src/gallium/auxiliary/draw/draw_cliptest_tmp.h:75:13:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
 * /var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/src/gallium/auxiliary/draw/draw_cliptest_tmp.h:48:7:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
 * /var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/src/gallium/auxiliary/draw/draw_cliptest_tmp.h:75:13:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
 * /var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/src/gallium/auxiliary/draw/draw_cliptest_tmp.h:48:7:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
 * /var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/src/gallium/auxiliary/draw/draw_cliptest_tmp.h:75:13:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
 * /var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/src/gallium/auxiliary/draw/draw_cliptest_tmp.h:48:7:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
 * /var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/src/gallium/auxiliary/draw/draw_cliptest_tmp.h:75:13:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
 * /var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/src/gallium/auxiliary/draw/draw_cliptest_tmp.h:48:7:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
 * /var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/src/gallium/auxiliary/draw/draw_cliptest_tmp.h:75:13:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
 * /var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/src/gallium/auxiliary/draw/draw_cliptest_tmp.h:48:7:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
 * /var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/src/gallium/auxiliary/draw/draw_cliptest_tmp.h:75:13:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
 * /var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/src/gallium/auxiliary/draw/draw_cliptest_tmp.h:48:7:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
 * /var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/src/gallium/auxiliary/draw/draw_cliptest_tmp.h:75:13:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
 * /var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/src/gallium/auxiliary/draw/draw_cliptest_tmp.h:48:7:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
 * /var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/src/gallium/auxiliary/draw/draw_cliptest_tmp.h:75:13:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
 * /var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/src/gallium/auxiliary/draw/draw_cliptest_tmp.h:48:7:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
 * /var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/src/gallium/auxiliary/draw/draw_cliptest_tmp.h:75:13:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
 * /var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/src/gallium/drivers/r300/compiler/radeon_inline_literals.c:48:2:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
 * /var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/src/gallium/drivers/r600/r600_asm.c:1959:22:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
 * /var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/src/gallium/drivers/r600/r600_shader.c:4408:2:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
 * /var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/src/gallium/drivers/r600/r600_shader.c:4447:3:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
 * /var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/src/gallium/drivers/r600/r600_shader.c:4448:3:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
 * /var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/src/gallium/drivers/r600/r600_shader.c:6909:3:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
 * /var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/src/gallium/drivers/r600/r600_shader.c:6930:3:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
 * /var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/src/gallium/drivers/r600/r600_shader.c:6984:5:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]


More information about the mesa-dev mailing list