On 8/27/18, Peter Bergner <berg...@linux.ibm.com> wrote: > On 8/27/18 11:42 AM, sameeran joshi wrote: >> It's still giving output as 1,I included the -squiggle option still,it >> dosen't work for me? any Ideas? >> >> #!/bin/bash >> >> CC="-I/home/swamimauli/upload/csmith/runtime/" >> OPTS="-Wall" >> TEST="bug.c" >> gcc ${CC} ${OPTS} ${TEST} 2>&1 | grep 'internal compiler error:in >> expand_expr_addr_expr_1, at expr.c:7862' >> if ! test $? = 0; then >> exit 1 >> fi >> exit 0 > > Well what does: > > linux% gcc -I/home/swamimauli/upload/csmith/runtime/ -Wall bug.c
running above command on terminal,gives many warnings and asks for the -fgnu-tm option. bug.c:1091:2: error: ‘__transaction_relaxed ’ without transactional memory support enabled __transaction_relaxed { > > return? > > And also, what does: > > linux% gcc -I/home/swamimauli/upload/csmith/runtime/ -Wall bug.c 2>&1 | > grep 'internal compiler error: in expand_expr_addr_expr_1, at expr.c:7862' > linux% echo $? returns 1 > > return? > > Peter > >