On Wed, 14 Mar 2018, Lucas De Marchi <lucas.demarchi@xxxxxxxxx> wrote: > Reorder fields so we save 8 bytes per instance: this removes a 4-bytes > hole after enum intel_dpll_id and a 4-bytes padding. Does GCC have anything like the Clang -Wpadded option to warn us about alignment holes and padding? Certainly it would be too noisy to run all the time anyway, but it seems a bit tedious to have to do this by hand. We could run it every once in a while to catch the worst offenders. BR, Jani. -- Jani Nikula, Intel Open Source Technology Center _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx