This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] aarch64 gcc.c-torture/execute/20101011-1.c failures


On 11/18/13 11:02, Cesar Philippidis wrote:
On 11/18/13, 10:01 AM, Andrew Pinski wrote:
On Mon, Nov 18, 2013 at 9:58 AM, Cesar Philippidis
<cesar@codesourcery.com> wrote:
This patch addresses the failures caused by the
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.

ENOPATCH

Sorry about that. I attached the patch this time.
Is there any reference you can point at which states that division by zero does not trap? There's clearly some confusion here since the old code claimed that the trap occurs, but that it might not raise a SIGFPE on some systems.

Or if one of the aarch64 maintainers could chime in, that'd be helpful too.

jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]