ia64.c (ia64_start_function): Add a guard.
authorTristan Gingold <gingold@adacore.com>
Thu, 21 Apr 2011 12:47:17 +0000 (12:47 +0000)
committerTristan Gingold <gingold@gcc.gnu.org>
Thu, 21 Apr 2011 12:47:17 +0000 (12:47 +0000)
2011-04-21  Tristan Gingold  <gingold@adacore.com>

* config/ia64/ia64.c (ia64_start_function): Add a guard.

From-SVN: r172822

gcc/ChangeLog
gcc/config/ia64/ia64.c

index 2f4316cc0bc224ab62ace48ceab55ee5d92c96e5..7a827c4c13dfd29554f8a7513367fc3afaae2e99 100644 (file)
@@ -1,3 +1,7 @@
+2011-04-21  Tristan Gingold  <gingold@adacore.com>
+
+       * config/ia64/ia64.c (ia64_start_function): Add a guard.
+
 2011-04-21  Uros Bizjak  <ubizjak@gmail.com>
 
        PR target/48708
index 6c6904bc4f24e38c83d51687a08b8f98f0a39d35..09f2dde1681d9ccdae3954a7948b1a33e21b7c1b 100644 (file)
@@ -3542,6 +3542,7 @@ ia64_start_function (FILE *file, const char *fnname,
 {
 #if VMS_DEBUGGING_INFO
   if (vms_debug_main
+      && debug_info_level > DINFO_LEVEL_NONE
       && strncmp (vms_debug_main, fnname, strlen (vms_debug_main)) == 0)
     {
       targetm.asm_out.globalize_label (asm_out_file, VMS_DEBUG_MAIN_POINTER);