dwarf2out.c (mem_loc_descriptor): Don't ICE on {S,U}S_{PLUS,MINUS,NEG,ABS,ASHIFT}.
authorJakub Jelinek <jakub@redhat.com>
Sun, 17 Jan 2010 20:43:15 +0000 (21:43 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Sun, 17 Jan 2010 20:43:15 +0000 (21:43 +0100)
* dwarf2out.c (mem_loc_descriptor): Don't ICE on
{S,U}S_{PLUS,MINUS,NEG,ABS,ASHIFT}.

From-SVN: r155992

gcc/ChangeLog
gcc/dwarf2out.c

index 66b9b0f800afc60ecd75da8bf732bea75b18d3dc..aaa880740477302825d28cc0a0101e45383be563 100644 (file)
@@ -1,3 +1,8 @@
+2010-01-17  Jakub Jelinek  <jakub@redhat.com>
+
+       * dwarf2out.c (mem_loc_descriptor): Don't ICE on
+       {S,U}S_{PLUS,MINUS,NEG,ABS,ASHIFT}.
+
 2010-01-17  Richard Guenther  <rguenther@suse.de>
 
        PR middle-end/42248
index 11a496034a4be6f252947f5616772622acd13013..b78c2cc0a33e5d5524a1e802d99de63d0fc862b2 100644 (file)
@@ -13438,12 +13438,21 @@ mem_loc_descriptor (rtx rtl, enum machine_mode mode,
       /* In theory, we could implement the above.  */
       /* DWARF cannot represent the unsigned compare operations
         natively.  */
-    case SS_TRUNCATE:
-    case US_TRUNCATE:
     case SS_MULT:
     case US_MULT:
     case SS_DIV:
     case US_DIV:
+    case SS_PLUS:
+    case US_PLUS:
+    case SS_MINUS:
+    case US_MINUS:
+    case SS_NEG:
+    case US_NEG:
+    case SS_ABS:
+    case SS_ASHIFT:
+    case US_ASHIFT:
+    case SS_TRUNCATE:
+    case US_TRUNCATE:
     case UDIV:
     case UMOD:
     case UNORDERED: