diff mbox series

: Mention -Waddress-of-packed-member change in GCC 9

Message ID 20190114143503.GA22371@lucon.org
State New
Headers show
Series : Mention -Waddress-of-packed-member change in GCC 9 | expand

Commit Message

H.J. Lu Jan. 14, 2019, 2:35 p.m. UTC
OK to install?

H.J.
---

Comments

Richard Biener Jan. 15, 2019, 10:55 a.m. UTC | #1
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>
diff mbox series

Patch

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.
+      </li>
+  </ul></li>
 </ul>
 
 <h3 id="cxx">C++</h3>