public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Uros Bizjak <ubizjak@gmail.com>
To: "gcc-patches@gcc.gnu.org" <gcc-patches@gcc.gnu.org>
Subject: [PATCH, i386]: Remove two obsolete/superfluous defines from cygming.h
Date: Wed, 05 Dec 2018 20:44:00 -0000	[thread overview]
Message-ID: <CAFULd4bDAVxoAJmKXt58y5L9g-p4MqyDwJGGWap63w9HRe1=VQ@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 365 bytes --]

GROUP_BITFIELDS_BY_ALIGN was long gone, PCC_BITFIELD_TYPE_MATTERS
defaults to 1 in i386.h for all x86 targets.

2018-12-05  Uros Bizjak  <ubizjak@gmail.com>

    * config/i386/cygming.h (PCC_BITFIELD_TYPE_MATTERS): Remove.
    (GROUP_BITFIELDS_BY_ALIGN): Ditto.

Tested by building crosscompiler to x86_64-w64-mingw32.

Committed to mainline SVN as obvious.

Uros.

[-- Attachment #2: p.diff.txt --]
[-- Type: text/plain, Size: 541 bytes --]

Index: config/i386/cygming.h
===================================================================
--- config/i386/cygming.h	(revision 266788)
+++ config/i386/cygming.h	(working copy)
@@ -420,11 +420,6 @@
 #define BIGGEST_FIELD_ALIGNMENT 64
 #endif
 
-/* A bit-field declared as `int' forces `int' alignment for the struct.  */
-#undef PCC_BITFIELD_TYPE_MATTERS
-#define PCC_BITFIELD_TYPE_MATTERS 1
-#define GROUP_BITFIELDS_BY_ALIGN TYPE_NATIVE(rec)
-
 /* Enable alias attribute support.  */
 #ifndef SET_ASM_OP
 #define SET_ASM_OP "\t.set\t"

                 reply	other threads:[~2018-12-05 20:44 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAFULd4bDAVxoAJmKXt58y5L9g-p4MqyDwJGGWap63w9HRe1=VQ@mail.gmail.com' \
    --to=ubizjak@gmail.com \
    --cc=gcc-patches@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).