Re: relax rule for flexible array members in 6.x (78039 - fails to compile glibc tests)

2016-10-31 Thread Jason Merrill
OK. Jason

Re: relax rule for flexible array members in 6.x (78039 - fails to compile glibc tests)

2016-10-30 Thread Martin Sebor
Thanks Jeff. I'll take care of the nits before I commit the patch and update the Web page this week. Jason, assuming you agree that the checking should be relaxed for 6.0, can you please let me know if it's good to commit? Martin On 10/24/2016 09:13 AM, Jeff Law wrote: On 10/21/2016 05:47

Re: relax rule for flexible array members in 6.x (78039 - fails to compile glibc tests)

2016-10-24 Thread Jeff Law
On 10/21/2016 05:47 PM, Martin Sebor wrote: Bug 78039 complains that the fix for c++/71912 recently backported to the GCC 6 branch causes GCC 6 to reject Glibc tests that expect to be able to define structs with multiple flexible array members, despite it violating the C standard(*). The

Re: relax rule for flexible array members in 6.x (78039 - fails to compile glibc tests)

2016-10-22 Thread Eric Botcazou
> However, it was pointed out to me that apparently there is a policy > or convention of not backporting to release branches bug fixes that > cause GCC to reject code that was previously accepted, even if the > code is invalid. It's more of a judgment call I'd say, if the accept-invalid leads to

relax rule for flexible array members in 6.x (78039 - fails to compile glibc tests)

2016-10-21 Thread Martin Sebor
Bug 78039 complains that the fix for c++/71912 recently backported to the GCC 6 branch causes GCC 6 to reject Glibc tests that expect to be able to define structs with multiple flexible array members, despite it violating the C standard(*). The rejected code is unsafe and was intended to be