summaryrefslogtreecommitdiff
path: root/gcc/diagnostic.c
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2000-12-04 17:14:16 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2000-12-04 17:14:16 +0000
commitd76983d115c7eb7f95059784c45944f1330a259a (patch)
tree7119c953b92ca42f59efef71f243458a0126d9b5 /gcc/diagnostic.c
parentbb50513936b67511b40f7cd693e6c942c5c1c3a7 (diff)
downloadgcc-d76983d115c7eb7f95059784c45944f1330a259a.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38003 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/diagnostic.c')
-rw-r--r--gcc/diagnostic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/diagnostic.c b/gcc/diagnostic.c
index e8c7cca7846..afd7a2d6427 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 ();
}
}