<p dir="ltr">We don't have to support every GCC feature. Only ones that people actually rely on and impede compatibility. The question is whether this is such a feature. To understand this, we need to understand use cases.</p>
<div class="gmail_quote">On Aug 31, 2013 12:43 PM, "Anton Korobeynikov" <<a href="mailto:anton@korobeynikov.info">anton@korobeynikov.info</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Both actually. Given that -mms-bitfields is a valid gcc option we also<br>
need to support it.<br>
<br>
On Sat, Aug 31, 2013 at 11:26 PM, Reid Kleckner <<a href="mailto:rnk@google.com">rnk@google.com</a>> wrote:<br>
> Do you mean command line or ABI compatibility? Whatever mingw does for<br>
> bitfield layout, we should match it when the triple says mingw. Users<br>
> shouldn't have to add -mms-bitfields. I'd have to double check its layout.<br>
><br>
><br>
> On Sat, Aug 31, 2013 at 11:05 AM, Anton Korobeynikov<br>
> <<a href="mailto:anton@korobeynikov.info">anton@korobeynikov.info</a>> wrote:<br>
>><br>
>> > Can we get rid of mms-bitfields in favor of ms_struct? Is anyone using<br>
>> > mms-bitfields? Because mms-bitfields is global, it applies to the entire<br>
>> > #include chain for a TU and can cause system structs etc to be laid out<br>
>> > incorrectly and potentially silently break standard library<br>
>> > interfaces/linking to TUs that don't have mms-bitfields, etc.<br>
>> Will this break compatibility with mingw? If yes, then mms-bitfields<br>
>> should stay.<br>
>><br>
>> --<br>
>> With best regards, Anton Korobeynikov<br>
>> Faculty of Mathematics and Mechanics, Saint Petersburg State University<br>
>><br>
>> _______________________________________________<br>
>> cfe-dev mailing list<br>
>> <a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>
>> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
><br>
><br>
<br>
<br>
<br>
--<br>
With best regards, Anton Korobeynikov<br>
Faculty of Mathematics and Mechanics, Saint Petersburg State University<br>
_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
</blockquote></div>