[cfe-commits] r143567 - /cfe/trunk/lib/Frontend/InitHeaderSearch.cpp

Chandler Carruth chandlerc at gmail.com
Wed Nov 2 13:09:57 PDT 2011


Author: chandlerc
Date: Wed Nov  2 15:09:56 2011
New Revision: 143567

URL: http://llvm.org/viewvc/llvm-project?rev=143567&view=rev
Log:
Add the newest Gentoo GCC version based on the reported installed
version in PR11298.

I hear-by apologize for adding yet more code to this monstrosity.

Modified:
    cfe/trunk/lib/Frontend/InitHeaderSearch.cpp

Modified: cfe/trunk/lib/Frontend/InitHeaderSearch.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/InitHeaderSearch.cpp?rev=143567&r1=143566&r2=143567&view=diff
==============================================================================
--- cfe/trunk/lib/Frontend/InitHeaderSearch.cpp (original)
+++ cfe/trunk/lib/Frontend/InitHeaderSearch.cpp Wed Nov  2 15:09:56 2011
@@ -840,6 +840,10 @@
     AddGnuCPlusPlusIncludePaths("/usr/include/c++/4.5.3",
                                 "x86_64-slackware-linux", "", "", triple);
 
+    // Gentoo x86 gcc 4.5.3
+    AddGnuCPlusPlusIncludePaths(
+      "/usr/lib/gcc/i686-pc-linux-gnu/4.5.3/include/g++-v4",
+      "i686-pc-linux-gnu", "", "", triple);
     // Gentoo x86 gcc 4.5.2
     AddGnuCPlusPlusIncludePaths(
       "/usr/lib/gcc/i686-pc-linux-gnu/4.5.2/include/g++-v4",
@@ -873,6 +877,10 @@
         "/usr/lib/llvm-gcc-4.2-9999/include/c++/4.2.1",
         "i686-pc-linux-gnu", "", "", triple);
 
+    // Gentoo amd64 gcc 4.5.3
+    AddGnuCPlusPlusIncludePaths(
+        "/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include/g++-v4",
+        "x86_64-pc-linux-gnu", "32", "", triple);
     // Gentoo amd64 gcc 4.5.2
     AddGnuCPlusPlusIncludePaths(
         "/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/include/g++-v4",





More information about the cfe-commits mailing list