Roger,
Since the patch fixes a known issue of gcc 4.5.0, is it reviewed and accepted 
into gcc 4.5.x upstream already? Austin is OOO this week. You may submit 
directly to Trunk:testing. 

- Bingwei


> -----Original Message-----
> From: [email protected] [mailto:meego-commits-
> [email protected]] On Behalf Of Roger WANG
> Sent: Saturday, September 25, 2010 3:33 PM
> To: [email protected]
> Subject: [meego-commits] 7825: Changes to devel:base/gcc
> 
> Hi,
> I have made the following changes to gcc in project devel:base. Please review 
> and
> accept ASAP.
> 
> Thank You,
> Roger WANG
> 
> [This message was auto-generated]
> 
> ---
> 
> Request #7825:
> 
>   submit:   home:wwang29:branches:devel:base/gcc(r2)(cleanup) -> 
> devel:base/gcc
> 
> 
> Message:
>     None
> 
> State:   new          2010-09-25T00:33:11 wwang29
> Comment: None
> 
> 
> 
> changes files:
> --------------
> --- gcc.changes
> +++ gcc.changes
> @@ -0,0 +1,3 @@
> +* Sat Sep 25 2010 Roger Wang <[email protected]> - 4.5.0
> +- Applied 4.5.0 branch patch for fixing PR#43972 (BMC#7281)
> +
> 
> new:
> ----
>   gcc45-pr43972.patch
> 
> spec files:
> -----------
> --- gcc.spec
> +++ gcc.spec
> @@ -187,6 +187,7 @@
>  Patch29: gcc44-libstdc++-docs.patch
>  Patch30: gcc45-pr43572.patch
>  Patch31: gcc45-pr43698.patch
> +Patch32: gcc45-pr43972.patch
> 
>  Patch40: gcc45-use-atom.patch
>  Patch41: libgcc_post_upgrade.c.arm.patch
> @@ -541,6 +542,7 @@
>  %endif
>  %endif
> 
> +%patch32 -p2 -b .pr43972
>  %patch40 -p1 -b .atom
> 
>  #%patch42 -p0 -b .var-track1~
> 
> other changes:
> --------------
> 
> ++++++ gcc45-pr43972.patch (new)
> --- gcc45-pr43972.patch
> +++ gcc45-pr43972.patch
> +--- branches/gcc-4_5-branch/gcc/config/i386/i386.c   2010/05/03 15:42:43     
> 158989
> ++++ branches/gcc-4_5-branch/gcc/config/i386/i386.c   2010/05/03 15:46:43     
> 158990
> +@@ -10976,7 +10976,10 @@
> +       || XINT (XEXP (x, 0), 1) != UNSPEC_GOTPCREL
> +       || !MEM_P (orig_x))
> +     return orig_x;
> +-      return XVECEXP (XEXP (x, 0), 0, 0);
> ++      x = XVECEXP (XEXP (x, 0), 0, 0);
> ++      if (GET_MODE (orig_x) != Pmode)
> ++    return simplify_gen_subreg (GET_MODE (orig_x), x, Pmode, 0);
> ++      return x;
> +     }
> +
> +   if (GET_CODE (x) != PLUS
> +@@ -11043,6 +11046,8 @@
> +       else
> +     return orig_x;
> +     }
> ++  if (GET_MODE (orig_x) != Pmode && MEM_P (orig_x))
> ++    return simplify_gen_subreg (GET_MODE (orig_x), result, Pmode, 0);
> +   return result;
> + }
> +
> 
> _______________________________________________
> Meego-commits mailing list
> [email protected]
> http://lists.meego.com/listinfo/meego-commits
_______________________________________________
MeeGo-packaging mailing list
[email protected]
http://lists.meego.com/listinfo/meego-packaging

Reply via email to