On Thursday, September 30, 2010 8:56:34 pm Joel Brobecker wrote: > Would you mind if we treated this as a separate patch, on top of > the current patch? I'd also like to add a test that verifies this, > hopefully not involving vector types. The attached patch prevents the pre-/post- in-/decrement operators from returning lvalues. The following gdb command for example should not assign a value to the result of the post increment operation but throw an error: print i++ = 3; I've added a few tests to the testsuite. Please let me know if there is a better place to put them. Tested on i686-*-linux-gnu with no regressions. OK to apply? Thanks -ken