]> gcc.gnu.org Git - gcc.git/blobdiff - gcc/config/h8300/h8300.c
Fix typos in comments.
[gcc.git] / gcc / config / h8300 / h8300.c
index b559cef5b4db001140c8b9b7a82e10ba48eb1c01..a14155a03c546a610c971d5d3ad3814c3b75a85c 100644 (file)
@@ -576,9 +576,15 @@ handle_pragma (file)
   if (strcmp (pbuf, "saveall") == 0)
     pragma_saveall = 1;
 
-  /* ??? This is deprecated.  Use section attributes.  */
+  /* ??? This is deprecated.  Delete for gcc 2.8.  */
   if (strcmp (pbuf, "section") == 0)
     {
+      static int printed_p = 0;
+      if (!printed_p)
+       {
+         warning ("#pragma section is deprecated, use section attributes");
+         printed_p = 1;
+       }
       while (c && !isalpha (c))
        c = getc (file);
       psize = 0;
@@ -589,7 +595,7 @@ handle_pragma (file)
          c = getc (file);
        }
       pbuf[psize] = 0;
-      named_section (pbuf);
+      named_section (NULL_TREE, pbuf);
     }
   ungetc (c, file);
   return c;
@@ -863,7 +869,7 @@ print_operand (file, x, code)
       break;
     case 'L':
       /* 'L' must always be used twice in a single pattern.  It generates
-        the same lable twice, and then will generate a unique label the
+        the same label twice, and then will generate a unique label the
         next time it is used.  */
       asm_fprintf (file, "tl%d", (lab++) / 2);
       break;
@@ -1106,6 +1112,7 @@ print_operand (file, x, code)
              fprintf (file, "%s", names_big[REGNO (x)]);
              break;
            case SImode:
+           case SFmode:
              fprintf (file, "%s", names_extended[REGNO (x)]);
              break;
            default:
This page took 0.027398 seconds and 5 git commands to generate.