]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
picochip.c (picochip_output_internal_label): This function can now be called for...
authorHariharan Sandanagobalane <hariharan@picochip.com>
Wed, 29 Sep 2010 14:36:53 +0000 (14:36 +0000)
committerHariharan Sandanagobalane <hariharans@gcc.gnu.org>
Wed, 29 Sep 2010 14:36:53 +0000 (14:36 +0000)
        * config/picochip/picochip.c (picochip_output_internal_label):
          This function can now be called for debug CFI labels, which can come in
          the middle of a vliw instruction. Postpone until end of vliw.

From-SVN: r164722

gcc/ChangeLog
gcc/config/picochip/picochip.c

index bcc30b4a2238952b5013db6bb165b898e253f157..62bb6f6b7e9d17cb3fb46064135ed80303ff9b83 100644 (file)
@@ -1,3 +1,9 @@
+2010-09-29  Hariharan Sandanagobalane <hariharan@picochip.com>
+
+       * config/picochip/picochip.c (picochip_output_internal_label):
+         This function can now be called for debug CFI labels, which can come in
+         the middle of a vliw instruction. Postpone until end of vliw.
+
 2010-09-29  Richard Guenther  <rguenther@suse.de>
 
        * tree.h (SCOPE_FILE_SCOPE_P): New macro.
index 9bd2382915b04b5b4a812a4fbb6591f82f8288c2..1671c41b6516fcd204c7c9fc0a4596922d6bd01d 100644 (file)
@@ -1637,6 +1637,18 @@ picochip_output_internal_label (FILE * stream, const char *prefix,
          sprintf (picochip_current_vliw_state.lm_label_name,
                   "picoMark_%s%ld", prefix, num);
        }
+      else if (picochip_schedule_type == DFA_TYPE_SPEED &&
+         (strcmp (prefix, "LCFI")) == 0 && picochip_vliw_continuation)
+       {
+          if (picochip_current_vliw_state.num_cfi_labels_deferred == 2)
+          {
+            internal_error ("LCFI labels have already been deferred.");
+          }
+          sprintf(picochip_current_vliw_state.cfi_label_name[
+                    picochip_current_vliw_state.num_cfi_labels_deferred], 
+                  "picoMark_%s%ld", prefix, num);
+          picochip_current_vliw_state.num_cfi_labels_deferred++;
+       }
       else
        {
          /* Marker label. */