line-map.h: Include EXPR, so that unused variable warnings do not occur.

* include/line-map.h: Include EXPR, so that unused variable warnings
	do not occur.

From-SVN: r217473
This commit is contained in:
Manuel López-Ibáñez 2014-11-13 10:46:56 +00:00 committed by Martin Liska
parent 0ed4f87994
commit d82f1e1305
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2014-11-13 Manuel López-Ibáñez <manu@gcc.gnu.org>
* include/line-map.h: Include EXPR, so that unused variable warnings
do not occur.
2014-11-11 Manuel López-Ibáñez <manu@gcc.gnu.org>
PR fortran/44054

View file

@ -586,7 +586,8 @@ bool linemap_location_from_macro_expansion_p (const struct line_maps *,
({linemap_assert (!linemap_macro_expansion_map_p (LINE_MAP)); \
(LINE_MAP);})
#else
#define linemap_assert(EXPR)
/* Include EXPR, so that unused variable warnings do not occur. */
#define linemap_assert(EXPR) ((void)(0 && (EXPR)))
#define linemap_check_ordinary(LINE_MAP) (LINE_MAP)
#endif