This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: Transactional memory test case reduction failure
- From: "Blower, Melanie" <melanie dot blower at intel dot com>
- To: sameeran joshi <gsocsameeran at gmail dot com>, "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Cc: Shubham Narlawar <gsocshubham at gmail dot com>
- Date: Mon, 27 Aug 2018 14:11:39 +0000
- Subject: RE: Transactional memory test case reduction failure
- References: <CAKz4L0FU_+8YGBfhpOh9giAO9aiReyWv_8F+m6xXNHo2af9z8A@mail.gmail.com>
There's probably something wrong with your "check.sh" causing it to not return 0. You need to debug the script.
> -----Original Message-----
> From: sameeran joshi [mailto:gsocsameeran@gmail.com]
> Sent: Sunday, August 26, 2018 2:38 PM
> To: gcc@gcc.gnu.org
> Cc: Shubham Narlawar <gsocshubham@gmail.com>
> Subject: Transactional memory test case reduction failure
>
> Hi,
> I have found an ICE in the transaction memory extension while compiling a
> program with gcc,but unfortunately for filing a bug in the gcc bugzilla I am
> unable to reduce the buggy file with creduce .
>
> I have included the command line option -fgnu-tm while compiling it.
> Does creduce support transactional memory for reduction?
>
> In the interestingness test script,it
> always returns 1, also following message is displayed
>
> C-Reduce cannot run because the interestingness test does not return zero.
> Please ensure that it does so not only in the directory where you are invoking C-
> Reduce, but also in an arbitrary temporary directory containing only the files
> that are being reduced. In other words, running these commands:
>
> DIR=`mktemp -d`
> cp /home/swamimauli/upload/csmith/runtime/del/testcase.c $DIR
> cd $DIR
> /home/swamimauli/upload/csmith/runtime/del/check.sh
> echo $?
>
> should result in "0" being echoed to the terminal.
>
> See "creduce --help" for more information.
>
> Thanks,
> Sameeran Joshi