]> git.pld-linux.org Git - packages/gcc.git/blob - gcc-pr34212.patch
- added moresparcs patch for support for sparcv[789] 32bit targets
[packages/gcc.git] / gcc-pr34212.patch
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.029382 seconds and 3 git commands to generate.