lua-users home
lua-l archive

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


On Sat, 15 Jun 2019 at 00:38, Roberto Ierusalimschy
<roberto@inf.puc-rio.br> wrote:
>
> > Some errors:
> > lvm.c:1287:9: runtime error: division by zero SUMMARY:
> > UndefinedBehaviorSanitizer: undefined-behavior lvm.c:1287:9 in
> > lvm.c:1319:9: runtime error: division by zero SUMMARY:
> > UndefinedBehaviorSanitizer: undefined-behavior lvm.c:1319:9 in
> > lvm.c:1291:9: runtime error: division by zero SUMMARY:
> > UndefinedBehaviorSanitizer: undefined-behavior lvm.c:1291:9 in
> > lvm.c:1343:9: runtime error: division by zero SUMMARY:
> > UndefinedBehaviorSanitizer: undefined-behavior lvm.c:1343:9 in
>
> Do you know any real current platform where this is an error?

It's not so much the platform as what future compiler versions may do.
These divisions by 0 are nasal-demon situations.