[PATCH]: Mention -Waddress-of-packed-member change in GCC 9

Richard Biener richard.guenther@gmail.com
Tue Jan 15 10:55:00 GMT 2019


On Mon, Jan 14, 2019 at 3:35 PM H.J. Lu <hongjiu.lu@intel.com> wrote
>
> OK to install?
>
> H.J.
> ---
> Index: changes.html
> ===================================================================
> RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-9/changes.html,v
> retrieving revision 1.34
> diff -u -p -r1.34 changes.html
> --- changes.html        13 Jan 2019 17:40:11 -0000      1.34
> +++ changes.html        14 Jan 2019 14:33:58 -0000
> @@ -79,6 +79,14 @@ a work-in-progress.</p>
>      <li><code>__builtin_convertvector</code> built-in for vector conversions
>        has been added. </li>
>    </ul></li>
> +
> +  <li>New warnings:
> +  <ul>
> +      <li><code>-Waddress-of-packed-member</code>, enabled by default,
> +      warns unaligned pointer value from adress of packed member of
> +      struct or union.

"warns about an unaligned pointer value from the address of a packed member
of a struct or union."

OK with that change.

Richard.

> +      </li>
> +  </ul></li>
>  </ul>
>
>  <h3 id="cxx">C++</h3>



More information about the Gcc-patches mailing list