Index: clang/lib/Driver/ToolChains.cpp
===================================================================
--- clang.orig/lib/Driver/ToolChains.cpp
+++ clang/lib/Driver/ToolChains.cpp
@@ -1952,6 +1952,7 @@ enum LinuxDistro {
   OpenSuse11_4,
   OpenSuse12_1,
   OpenSuse12_2,
+  OpenSuse12_3,
   UbuntuHardy,
   UbuntuIntrepid,
   UbuntuJaunty,
@@ -1970,7 +1971,7 @@ static bool IsRedhat(enum LinuxDistro Di
 }
 
 static bool IsOpenSuse(enum LinuxDistro Distro) {
-  return Distro >= OpenSuse11_3 && Distro <= OpenSuse12_2;
+  return Distro >= OpenSuse11_3 && Distro <= OpenSuse12_3;
 }
 
 static bool IsDebian(enum LinuxDistro Distro) {
@@ -2048,6 +2049,7 @@ static LinuxDistro DetectLinuxDistro(llv
       .StartsWith("openSUSE 11.4", OpenSuse11_4)
       .StartsWith("openSUSE 12.1", OpenSuse12_1)
       .StartsWith("openSUSE 12.2", OpenSuse12_2)
+      .StartsWith("openSUSE 12.3", OpenSuse12_3)
       .Default(UnknownDistro);
 
   bool Exists;
