]> git.pld-linux.org Git - packages/gcc.git/blame - gcc-pr34212.patch
- restore version overwriting (accidentally removed).
[packages/gcc.git] / gcc-pr34212.patch
CommitLineData
2a49bdcd
PS
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
3@@ -964,7 +964,8 @@
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);
11
12 code = TREE_CODE (e);
This page took 0.029772 seconds and 4 git commands to generate.