On 18 November 2013 18:02, Cesar Philippidis <ce...@codesourcery.com> wrote:

>>> gcc.c-torture/execute/20101011-1.c test on aarch64. The reason why this
>>> test fails is because aarch64 does not trap on integer division by zero.
>>>
>>> Is this OK for trunk? If so, please commit it because I do not have an
>>> svn account.

This is OK.

The comment Jeff highlighted is incorrect. AArch64 does not trap on
integer division.

To get integer trap on divide by zero behavior we would have to go the
mips route and add -mdivide-traps to explicitly check and generate a
brk #XXX instruction.

/Marcus

Reply via email to