stor-layout.c (int_mode_for_mode): Handle MODE_VECTOR_INT, MODE_VECTOR_FLOAT.
authorJason Merrill <jason@redhat.com>
Mon, 4 Dec 2000 17:14:16 +0000 (12:14 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 4 Dec 2000 17:14:16 +0000 (12:14 -0500)
        * stor-layout.c (int_mode_for_mode): Handle MODE_VECTOR_INT,
        MODE_VECTOR_FLOAT.

        * diagnostic.c (report_problematic_module): s/function/module/.

        * c-lex.h: Remove decl for check_newline.

From-SVN: r38003

gcc/ChangeLog
gcc/c-lex.h
gcc/diagnostic.c
gcc/stor-layout.c

index f0faacafd91e45db3c86fd534f39baca5932d64e..9bdfe0959558578a5d6db3e0db0bcdbb303664e3 100644 (file)
@@ -1,3 +1,12 @@
+2000-12-04  Jason Merrill  <jason@redhat.com>
+
+       * stor-layout.c (int_mode_for_mode): Handle MODE_VECTOR_INT,
+       MODE_VECTOR_FLOAT.
+
+       * diagnostic.c (report_problematic_module): s/function/module/.
+
+       * c-lex.h: Remove decl for check_newline.
+
 2000-12-04  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
 
        * README.APOLLO: Remove obsolete file.
index 17fdc0735d205154a8f79f8b302b676c61c77560..bfdc2abfbe7ebd16b2aff9728da5438022bafd7d 100644 (file)
@@ -23,7 +23,6 @@ Boston, MA 02111-1307, USA.  */
 
 extern tree make_pointer_declarator PARAMS ((tree, tree));
 extern void position_after_white_space PARAMS ((void));
-extern int check_newline PARAMS ((void));
 
 extern int c_lex PARAMS ((tree *));
 extern const char *init_c_lex PARAMS ((const char *));
index e8c7cca7846150137addb1f17c5c5c39509962a7..afd7a2d6427799c70764ec5c2c990c359d782098 100644 (file)
@@ -1731,7 +1731,7 @@ report_problematic_module (buffer)
     }
 
   if (input_file_stack && input_file_stack->next != 0
-      && error_function_changed ())
+      && error_module_changed ())
     {
       for (p = input_file_stack->next; p; p = p->next)
        if (p == input_file_stack->next)
@@ -1741,7 +1741,7 @@ report_problematic_module (buffer)
          output_verbatim
             (buffer, ",\n                 from %s:%d", p->name, p->line);
       output_verbatim (buffer, ":\n");
-      record_last_error_function ();
+      record_last_error_module ();
     }
 }
 
index c03ccddb7ca84ef7784c363ac30ffb6185a8d6df..7fb7f2a1ddf1ae3b3df26da7a657367c498c42a7 100644 (file)
@@ -227,6 +227,8 @@ int_mode_for_mode (mode)
     case MODE_COMPLEX_INT:
     case MODE_COMPLEX_FLOAT:
     case MODE_FLOAT:
+    case MODE_VECTOR_INT:
+    case MODE_VECTOR_FLOAT:
       mode = mode_for_size (GET_MODE_BITSIZE (mode), MODE_INT, 0);
       break;