This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: VU#540517
- From: Roger Sayle <roger at eyesopen dot com>
- To: Paul Eggert <eggert at CS dot UCLA dot EDU>
- Cc: "Robert C. Seacord" <rcs at cert dot org>, Giovanni Bajo <giovannibajo at libero dot it>, Bruno Haible <bruno at clisp dot org>, <drepper at redhat dot com>, <gdr at gcc dot gnu dot org>, <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 8 Apr 2004 11:39:55 -0600 (MDT)
- Subject: Re: VU#540517
On Thu, 8 Apr 2004, Paul Eggert wrote:
> > 1. testing of existing -ftrapv functions.
>
> More tests would be good, yes. That's one piece.
A technical difficulty with this is that GCC's dejagnu testing scripts
need to be tweaked such that a runtime call to "abort", or an arithmetic
exception/signal is considered a "success", and returning normally,
failing to compile/link or segfaulting is considered a "failure".
Not that its impossible, just beyond my current abilities. If anyone
is willing to do the tcl, PR middle-end/6578 contains a suitable test
case as a starting point for a new gcc.dg/trapv subdirectory. Currently
there are no tests of -ftrapv in the testsuite.
Roger
--