rl78.c (rl78_calculate_death_notes): Look inside PARALLELs.
authorNick Clifton <nickc@redhat.com>
Wed, 21 Jan 2015 09:34:38 +0000 (09:34 +0000)
committerNick Clifton <nickc@gcc.gnu.org>
Wed, 21 Jan 2015 09:34:38 +0000 (09:34 +0000)
* config/rl78/rl78.c (rl78_calculate_death_notes): Look inside
PARALLELs.

From-SVN: r219929

gcc/ChangeLog
gcc/config/rl78/rl78.c

index c6600d9bb1e754b82f66033f4a95dbe96e21db94..eda4b2d72fba01ed65c636e6ab820619392d089a 100644 (file)
@@ -1,3 +1,8 @@
+2015-01-21  Nick Clifton  <nickc@redhat.com>
+
+       * config/rl78/rl78.c (rl78_calculate_death_notes): Look inside
+       PARALLELs.
+
 2015-01-21  Richard Biener  <rguenther@suse.de>
 
        PR middle-end/64313
index 4cf271c9b8372d8bfb1484dc0f3c621f6c4dab28..ebb25dd5c4e16f6d2b26c45729f6ccb15501a394 100644 (file)
@@ -3583,6 +3583,8 @@ rl78_calculate_death_notes (void)
        {
        case INSN:
          p = PATTERN (insn);
+         if (GET_CODE (p) == PARALLEL)
+           p = XVECEXP (p, 0, 0);
          switch (GET_CODE (p))
            {
            case SET: