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: 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
--


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