Commit d6fb6576 authored by rguenth's avatar rguenth
Browse files

2012-01-09 Richard Guenther <rguenther@suse.de>

	* macro.c (_cpp_builtin_macro_text): Remove unused variable map.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183013 138bc75d-0d04-0410-961f-82ee72b054a4
parent f6093533
2012-01-09 Richard Guenther <rguenther@suse.de>
* macro.c (_cpp_builtin_macro_text): Remove unused variable map.
2012-01-09 Gary Funck <gary@intrepid.com>
PR preprocessor/33919
......
......@@ -217,7 +217,6 @@ static const char * const monthnames[] =
const uchar *
_cpp_builtin_macro_text (cpp_reader *pfile, cpp_hashnode *node)
{
const struct line_map *map;
const uchar *result = NULL;
linenum_type number = 1;
......@@ -300,7 +299,6 @@ _cpp_builtin_macro_text (cpp_reader *pfile, cpp_hashnode *node)
break;
case BT_SPECLINE:
map = LINEMAPS_LAST_ORDINARY_MAP (pfile->line_table);
/* If __LINE__ is embedded in a macro, it must expand to the
line of the macro's invocation, not its definition.
Otherwise things like assert() will not work properly. */
......
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