1 --- gcc-4.2.3/gcc/cp/cvt.c.orig 2007-08-31 10:27:50.000000000 +0200
2 +++ gcc-4.2.3/gcc/cp/cvt.c 2008-02-01 20:48:44.000000000 +0100
4 conversions. Do not use STRIP_NOPs because it will
5 not strip conversions to "void", as that is not a
6 mode-preserving conversion. */
7 - while (TREE_CODE (e) == NOP_EXPR)
8 + while (TREE_CODE (e) == NOP_EXPR
9 + || TREE_CODE (e) == NON_LVALUE_EXPR)
10 e = TREE_OPERAND (e, 0);