bug-indent
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug report


From: dan sladic
Subject: Bug report
Date: Fri, 6 Feb 2009 16:53:29 -0800

Running indent on a source file is introducing a bug causing
compilation error. The included log is self-explanatory.

gcc v3.2.3
indent 2.2.9

Dan.

------------------

[~/tmp]$ more indent_test.c
int foo(int a)
{
   return - --a;
}
[~/tmp]$ indent indent_test.c -o indent_test_out.c
[~/tmp]$ gcc -c indent_test.c
[~/tmp]$ gcc -c indent_test_out.c
indent_test_out.c: In function `foo':
indent_test_out.c:4: invalid lvalue in decrement




reply via email to

[Prev in Thread] Current Thread [Next in Thread]