diff options
author | Marek Polacek <mpolacek@gcc.gnu.org> | 2014-05-21 18:54:12 +0000 |
---|---|---|
committer | Marek Polacek <mpolacek@gcc.gnu.org> | 2014-05-21 18:54:12 +0000 |
commit | 289395899601bacfaa9f9f93c454b85337867c5b (patch) | |
tree | dc22c597e050c45d675564d83c4baf8498fa4531 /libcpp/files.c | |
parent | 174ebf656274b6119c13a730294241fd5c0efb55 (diff) | |
download | gcc-289395899601bacfaa9f9f93c454b85337867c5b.zip gcc-289395899601bacfaa9f9f93c454b85337867c5b.tar.gz gcc-289395899601bacfaa9f9f93c454b85337867c5b.tar.bz2 |
re PR c/61212 (gcc build failure on "dos file system" due to warnings treated as errors)
PR c/61212
* files.c (find_file_in_dir): Add parens around &&.
From-SVN: r210722
Diffstat (limited to 'libcpp/files.c')
-rw-r--r-- | libcpp/files.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcpp/files.c b/libcpp/files.c index ad68682..91bc9dd 100644 --- a/libcpp/files.c +++ b/libcpp/files.c @@ -390,7 +390,7 @@ find_file_in_dir (cpp_reader *pfile, _cpp_file *file, bool *invalid_pch) /* We try to canonicalize system headers. For DOS based file * system, we always try to shorten non-system headers, as DOS * has a tighter constraint on max path length. */ - if (CPP_OPTION (pfile, canonical_system_headers) && file->dir->sysp + if ((CPP_OPTION (pfile, canonical_system_headers) && file->dir->sysp) #ifdef HAVE_DOS_BASED_FILE_SYSTEM || !file->dir->sysp #endif |