public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH, i386]: Remove two obsolete/superfluous defines from cygming.h
@ 2018-12-05 20:44 Uros Bizjak
  0 siblings, 0 replies; only message in thread
From: Uros Bizjak @ 2018-12-05 20:44 UTC (permalink / raw)
  To: gcc-patches

[-- 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"

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-12-05 20:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-05 20:44 [PATCH, i386]: Remove two obsolete/superfluous defines from cygming.h Uros Bizjak

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).