aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2000-12-04 12:14:16 -0500
committerJason Merrill <jason@gcc.gnu.org>2000-12-04 12:14:16 -0500
commit62c079055503146a2ee52174e1cfce88da650a22 (patch)
tree7119c953b92ca42f59efef71f243458a0126d9b5
parentc6e13630ab73f1299d74209c6cf418d50fd752e9 (diff)
downloadgcc-62c079055503146a2ee52174e1cfce88da650a22.zip
gcc-62c079055503146a2ee52174e1cfce88da650a22.tar.gz
gcc-62c079055503146a2ee52174e1cfce88da650a22.tar.bz2
stor-layout.c (int_mode_for_mode): Handle MODE_VECTOR_INT, MODE_VECTOR_FLOAT.
* 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
-rw-r--r--gcc/ChangeLog9
-rw-r--r--gcc/c-lex.h1
-rw-r--r--gcc/diagnostic.c4
-rw-r--r--gcc/stor-layout.c2
4 files changed, 13 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f0faaca..9bdfe09 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/c-lex.h b/gcc/c-lex.h
index 17fdc07..bfdc2ab 100644
--- a/gcc/c-lex.h
+++ b/gcc/c-lex.h
@@ -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 *));
diff --git a/gcc/diagnostic.c b/gcc/diagnostic.c
index e8c7cca..afd7a2d 100644
--- a/gcc/diagnostic.c
+++ b/gcc/diagnostic.c
@@ -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 ();
}
}
diff --git a/gcc/stor-layout.c b/gcc/stor-layout.c
index c03ccdd..7fb7f2a 100644
--- a/gcc/stor-layout.c
+++ b/gcc/stor-layout.c
@@ -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;