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:
parent
0ed4f87994
commit
d82f1e1305
2 changed files with 7 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue