Commit 3d885683 by Gabriel Dos Reis Committed by Gabriel Dos Reis

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

From-SVN: r66454
parent d4b56320
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,
......
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment