<html><head></head><body>Hi,<br><br>You can argue whether failing to implement errata is a bug or not. In this case, it's a compiler bug anyway because it fails even in so-called C17 mode.<br><br><div class="gmail_quote">Le 28 février 2020 12:00:39 GMT+02:00, Alexandre Janniaux <ajanni@videolabs.io> a écrit :<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">Hi,<br><br>What Hugo is saying seems to be confirmed by these mails too:<br><a href="http://lists.llvm.org/pipermail/cfe-dev/2018-May/058131.html">http://lists.llvm.org/pipermail/cfe-dev/2018-May/058131.html</a><br><a href="https://gcc.gnu.org/ml/gcc-patches/2017-10/msg02121.html">https://gcc.gnu.org/ml/gcc-patches/2017-10/msg02121.html</a><br><br>and this page mention C17 as ISO/IEC 9899:2018<br><a href="https://en.cppreference.com/w/c/language/history">https://en.cppreference.com/w/c/language/history</a><br><br>so it seems that you should require C17 to consider it<br>a compiler bug, otherwise it's just a standard defect.<br><br>Regards,<br>--<br>Alexandre Janniaux<br>Videolabs<br><br>On Fri, Feb 28, 2020 at 10:34:03AM +0100, Hugo Beauzée-Luyssen wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;">On Fri, Feb 28, 2020, at 10:10 AM, Rémi Denis-Courmont wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ad7fa8; padding-left: 1ex;"> A strict C11 implementation follows errata. See, e.g. Clang 8, 9 or GCC<br> which happily compile this code in C11 mode. This patch is wrong.<br><br></blockquote> DR459 was fixed in C17.<br> Whatever the compiler does with this DR for any other C standard version is their business.<br><br> --<br>   Hugo Beauzée-Luyssen<br>   hugo@beauzee.fr<hr> vlc-devel mailing list<br> To unsubscribe or modify your subscription options:<br> <a href="https://mailman.videolan.org/listinfo/vlc-devel">https://mailman.videolan.org/listinfo/vlc-devel</a><br></blockquote><hr>vlc-devel mailing list<br>To unsubscribe or modify your subscription options:<br><a href="https://mailman.videolan.org/listinfo/vlc-devel">https://mailman.videolan.org/listinfo/vlc-devel</a></pre></blockquote></div><br>-- <br>Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.</body></html>