* varasm.c (assemble_variable): Don't use error_with_file_and_line.

From-SVN: r66454
This commit is contained in:
Gabriel Dos Reis 2003-05-04 14:27:17 +00:00 committed by Gabriel Dos Reis
parent d4b56320a1
commit 3d8856836f
2 changed files with 7 additions and 4 deletions

View File

@ -1,3 +1,7 @@
2003-05-04 Gabriel Dos Reis <gdr@integrable-solutions.net>
* varasm.c (assemble_variable): Don't use error_with_file_and_line.
2003-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* builtins.c (expand_builtin_constant_p, expand_builtin_strlen,

View File

@ -1432,10 +1432,9 @@ assemble_variable (decl, top_level, at_end, dont_output_data)
if (!dont_output_data && DECL_SIZE (decl) == 0)
{
error_with_file_and_line (DECL_SOURCE_FILE (decl),
DECL_SOURCE_LINE (decl),
"storage size of `%s' isn't known",
IDENTIFIER_POINTER (DECL_NAME (decl)));
error ("%Hstorage size of `%s' isn't known",
&DECL_SOURCE_LOCATION (decl),
IDENTIFIER_POINTER (DECL_NAME (decl)));
TREE_ASM_WRITTEN (decl) = 1;
return;
}