]> git.pld-linux.org Git - packages/crossmingw32-gcc.git/commitdiff
- fix ICE caught by gettext on mingw32 or cygwin auto/ac/gcc4-4_1_2-4 auto/ac/gcc4-4_1_2-5 auto/ac/gcc4-4_1_2-6 auto/ac/gcc4-4_1_2-7 auto/ac/gcc4-4_1_2-8 auto/ac/gcc4-4_1_2-9
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 15 Nov 2007 20:37:07 +0000 (20:37 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    gcc-4.1-pr29826.patch -> 1.1

gcc-4.1-pr29826.patch [new file with mode: 0644]

diff --git a/gcc-4.1-pr29826.patch b/gcc-4.1-pr29826.patch
new file mode 100644 (file)
index 0000000..3711fb9
--- /dev/null
@@ -0,0 +1,36 @@
+2006-10-04  Richard Henderson  <rth@redhat.com>
+           Jakub Jelinek  <jakub@redhat.com>
+
+       * tree-ssa-address.c (gen_addr_rtx): Check for const-ness of the
+       address before wrapping in CONST.
+
+Index: tree-ssa-address.c
+===================================================================
+--- tree-ssa-address.c (revision 124014)
++++ tree-ssa-address.c (working copy)
+@@ -1,5 +1,5 @@
+ /* Memory address lowering and addressing mode selection.
+-   Copyright (C) 2004 Free Software Foundation, Inc.
++   Copyright (C) 2004, 2006 Free Software Foundation, Inc.
+    
+ This file is part of GCC.
+    
+@@ -134,10 +134,15 @@
+       act_elem = symbol;
+       if (offset)
+       {
+-        act_elem = gen_rtx_CONST (Pmode,
+-                                  gen_rtx_PLUS (Pmode, act_elem, offset));
++        act_elem = gen_rtx_PLUS (Pmode, act_elem, offset);
++
+         if (offset_p)
+-          *offset_p = &XEXP (XEXP (act_elem, 0), 1);
++          *offset_p = &XEXP (act_elem, 1);
++
++        if (GET_CODE (symbol) == SYMBOL_REF
++            || GET_CODE (symbol) == LABEL_REF
++            || GET_CODE (symbol) == CONST)
++          act_elem = gen_rtx_CONST (Pmode, act_elem);
+       }
+       if (*addr)
This page took 0.072343 seconds and 4 git commands to generate.