]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR c/61212 (gcc build failure on "dos file system" due to warnings treated as...
authorMarek Polacek <mpolacek@gcc.gnu.org>
Wed, 21 May 2014 18:54:12 +0000 (18:54 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Wed, 21 May 2014 18:54:12 +0000 (18:54 +0000)
PR c/61212
* files.c (find_file_in_dir): Add parens around &&.

From-SVN: r210722

libcpp/ChangeLog
libcpp/files.c

index bb44d3ce5b3229d11f699d0a3b276e7e24568f2e..323a75786a6fc3f6a1ca413ed3cc9f1cc578aaf2 100644 (file)
@@ -1,6 +1,11 @@
+2014-05-21  Marek Polacek  <polacek@redhat.com>
+
+       PR c/61212
+       * files.c (find_file_in_dir): Add parens around &&.
+
 2014-05-20  Edward Smith-Rowland  <3dw4rd@verizon.net>
 
-       PR C++/61038
+       PR c++/61038
        * macro.c (stringify_arg (cpp_reader *, macro_arg *)):
        Check for user-defined literal strings and user-defined literal chars
        to escape necessary characters.
index ad68682e99e74d765c5af42dcd50e3209942cda5..91bc9dd078278e6943f3be517592a40de637c157 100644 (file)
@@ -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