Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Automated report: NetBSD-current/i386 build failure



On 16.08.2018 09:27, Robert Elz wrote:
>     Date:        Thu, 16 Aug 2018 10:09:38 +0300
>     From:        Andreas Gustafsson <gson%gson.org@localhost>
>     Message-ID:  <23413.9010.387115.892898%guava.gson.org@localhost>
> 
>   | Christos Zoulas wrote:
>   | > This is intended....
>   |
>   | The code in case has "undefined behavior" per the C11 standard,
>   | section 6.5.6.8:
> 
> Yes, it is, but it works anyway....   If this is to be fixed, it should be
> shipped upstream to be fixed there (a change would not be difficult,
> but we should not be wasting time changing other people's working
> code for reasons like this).
> 
> I made the same comment to CHristos in off-list mail, and similarly
> asked Kamil not to "fix" it (here) if UBsan complains.
> 
> kre
> 

A compiler is allowed and nowadays requested to prevent compilation of a
detected Undefined Behavior mistake.

Attachment: signature.asc
Description: OpenPGP digital signature



Home | Main Index | Thread Index | Old Index