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

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 $?

return?

Peter

Reply via email to