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

Matt Turner mattst88 at gmail.com
Mon Jun 27 21:42:56 UTC 2016


Based on work by Davin McCall <davmac at davmac.org> from last summer.

The biggest change is to exec_list. Previously, the head and tail sentinels
overlapped, saving the size of a pointer. Unfortunately this is not allowed by
the aliasing rules.

I have fixed all warnings GCC reports in my normal build. I have no attempted
to see what else needs to be fixed. I hope that the respective owners of the
rest of Mesa can look into the remaining warnings.

This series depends on my 4 patch series to glx, and the trivial "[PATCH] i965:
Simplify foreach_inst_in_block_safe() macro."

Discuss!



More information about the mesa-dev mailing list