* [PATCH]: Mention -Waddress-of-packed-member change in GCC 9
@ 2019-01-14 14:35 H.J. Lu
2019-01-15 10:55 ` Richard Biener
0 siblings, 1 reply; 2+ messages in thread
From: H.J. Lu @ 2019-01-14 14:35 UTC (permalink / raw)
To: gcc-patches
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.
+ </li>
+ </ul></li>
</ul>
<h3 id="cxx">C++</h3>
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH]: Mention -Waddress-of-packed-member change in GCC 9
2019-01-14 14:35 [PATCH]: Mention -Waddress-of-packed-member change in GCC 9 H.J. Lu
@ 2019-01-15 10:55 ` Richard Biener
0 siblings, 0 replies; 2+ messages in thread
From: Richard Biener @ 2019-01-15 10:55 UTC (permalink / raw)
To: H.J. Lu; +Cc: GCC Patches
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>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-01-15 10:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-14 14:35 [PATCH]: Mention -Waddress-of-packed-member change in GCC 9 H.J. Lu
2019-01-15 10:55 ` Richard Biener
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).