mirror of git://gcc.gnu.org/git/gcc.git
macro.c (_cpp_builtin_macro_text): Remove unused variable map.
2012-01-09 Richard Guenther <rguenther@suse.de> * macro.c (_cpp_builtin_macro_text): Remove unused variable map. From-SVN: r183013
This commit is contained in:
parent
0646822981
commit
2c5cbc315f
|
@ -1,3 +1,7 @@
|
||||||
|
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>
|
2012-01-09 Gary Funck <gary@intrepid.com>
|
||||||
|
|
||||||
PR preprocessor/33919
|
PR preprocessor/33919
|
||||||
|
|
|
@ -217,7 +217,6 @@ static const char * const monthnames[] =
|
||||||
const uchar *
|
const uchar *
|
||||||
_cpp_builtin_macro_text (cpp_reader *pfile, cpp_hashnode *node)
|
_cpp_builtin_macro_text (cpp_reader *pfile, cpp_hashnode *node)
|
||||||
{
|
{
|
||||||
const struct line_map *map;
|
|
||||||
const uchar *result = NULL;
|
const uchar *result = NULL;
|
||||||
linenum_type number = 1;
|
linenum_type number = 1;
|
||||||
|
|
||||||
|
@ -300,7 +299,6 @@ _cpp_builtin_macro_text (cpp_reader *pfile, cpp_hashnode *node)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case BT_SPECLINE:
|
case BT_SPECLINE:
|
||||||
map = LINEMAPS_LAST_ORDINARY_MAP (pfile->line_table);
|
|
||||||
/* If __LINE__ is embedded in a macro, it must expand to the
|
/* If __LINE__ is embedded in a macro, it must expand to the
|
||||||
line of the macro's invocation, not its definition.
|
line of the macro's invocation, not its definition.
|
||||||
Otherwise things like assert() will not work properly. */
|
Otherwise things like assert() will not work properly. */
|
||||||
|
|
Loading…
Reference in New Issue