* [wwwdocs] Document 87137 fix
@ 2018-09-05 10:46 Nathan Sidwell
2018-09-06 16:25 ` Gerald Pfeifer
0 siblings, 1 reply; 3+ messages in thread
From: Nathan Sidwell @ 2018-09-05 10:46 UTC (permalink / raw)
To: GCC Patches, Gerald Pfeifer
[-- Attachment #1: Type: text/plain, Size: 292 bytes --]
Gerald,
this documents the fix for pr87137. Discovered as a GCC-8 regression,
turned out to be an ABI bug. Decided to fix the entire bug in one go.
Are these changes.html changes ok?
Patch discussion at https://gcc.gnu.org/ml/gcc-patches/2018-08/msg01900.html
nathan
--
Nathan Sidwell
[-- Attachment #2: www-docs.diff --]
[-- Type: text/x-patch, Size: 2259 bytes --]
Index: gcc-8/changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-8/changes.html,v
retrieving revision 1.94
diff -r1.94 changes.html
1351a1352,1377
> <!-- .................................................................. -->
> <h2 id="GCC8.3">GCC 8.3</h2>
>
> GCC 8.3 is <em>not</em> yet released.
>
> <h3>Windows</h3>
>
> <ul>
> <li>A C++ Microsoft ABI bitfield layout
> bug, <a href="https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87137">PR87137</a>
> has been fixed. A non-field declaration could cause the current
> bitfield allocation unit to be completed, incorrectly placing a
> following bitfield into a new allocation unit. Microsoft ABI is
> selected for:
> <ul>
> <li>Mingw targets
> <li>PowerPC, IA-32 or x86-64 targets
> when <code>-mms-bitfields</code> option is specified
> or <code>__attribute__((ms_struct))</code> is used
> <li>SuperH targets when the <code>-mhitachi</code> option is
> specified, or <code>__attribute__((renesas))</code> is used
> </ul>
> GCC 8 introduced additional cases of this defect, but rather than
> resolve only those regressions, it was decided to resolve all the
> case of this defect at once.
>
Index: gcc-9/changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-9/changes.html,v
retrieving revision 1.19
diff -r1.19 changes.html
212c212
< <!-- <h3 id="windows">Windows</h3> -->
---
> <h3 id="windows">Windows</h3>
213a214,228
> <ul>
> <li>A C++ Microsoft ABI bitfield layout
> bug, <a href="https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87137">PR87137</a>
> has been fixed. A non-field declaration could cause the current
> bitfield allocation unit to be completed, incorrectly placing a
> following bitfield into a new allocation unit. Microsoft ABI is
> selected for:
> <ul>
> <li>Mingw targets
> <li>PowerPC, IA-32 or x86-64 targets
> when <code>-mms-bitfields</code> option is specified
> or <code>__attribute__((ms_struct))</code> is used
> <li>SuperH targets when the <code>-mhitachi</code> option is
> specified, or <code>__attribute__((renesas))</code> is used
> </ul>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [wwwdocs] Document 87137 fix
2018-09-05 10:46 [wwwdocs] Document 87137 fix Nathan Sidwell
@ 2018-09-06 16:25 ` Gerald Pfeifer
2018-09-12 10:08 ` Nathan Sidwell
0 siblings, 1 reply; 3+ messages in thread
From: Gerald Pfeifer @ 2018-09-06 16:25 UTC (permalink / raw)
To: Nathan Sidwell; +Cc: GCC Patches
Hi Nathan,
On Wed, 5 Sep 2018, Nathan Sidwell wrote:
> this documents the fix for pr87137. Discovered as a GCC-8 regression,
> turned out to be an ABI bug. Decided to fix the entire bug in one go.
> Are these changes.html changes ok?
thanks for doing this! I have minor suggestions if you don't mind;
the patch is fine if you consider these.
Index: gcc-8/changes.html
===================================================================
> <li>A C++ Microsoft ABI bitfield layout
> bug, <a href="https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87137">PR87137</a>
> has been fixed. A non-field declaration could cause the current
> bitfield allocation unit to be completed, incorrectly placing a
> following bitfield into a new allocation unit. Microsoft ABI is
> selected for:
Would "The Microsoft ABI" be more appropriate here?
> <li>PowerPC, IA-32 or x86-64 targets
> when <code>-mms-bitfields</code> option is specified
And "when the...option" (as you have it in the SuperH entry)?
> GCC 8 introduced additional cases of this defect, but rather than
> resolve only those regressions, it was decided to resolve all the
> case of this defect at once.
Can we say "we decided"? That makes it a feel more active. ;-)
And "cases" (plural)?
(I believe all of those all apply to gcc-9/changes.html .)
Thanks,
Gerald
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [wwwdocs] Document 87137 fix
2018-09-06 16:25 ` Gerald Pfeifer
@ 2018-09-12 10:08 ` Nathan Sidwell
0 siblings, 0 replies; 3+ messages in thread
From: Nathan Sidwell @ 2018-09-12 10:08 UTC (permalink / raw)
To: Gerald Pfeifer; +Cc: GCC Patches
On 9/6/18 12:24 PM, Gerald Pfeifer wrote:
> Hi Nathan,
> On Wed, 5 Sep 2018, Nathan Sidwell wrote:
>> this documents the fix for pr87137. Discovered as a GCC-8 regression,
>> turned out to be an ABI bug. Decided to fix the entire bug in one go.
>> Are these changes.html changes ok?
>
> thanks for doing this! I have minor suggestions if you don't mind;
> the patch is fine if you consider these.
thanks, I have committed with your suggestions.
nathan
--
Nathan Sidwell
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-09-12 10:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-05 10:46 [wwwdocs] Document 87137 fix Nathan Sidwell
2018-09-06 16:25 ` Gerald Pfeifer
2018-09-12 10:08 ` Nathan Sidwell
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).