diff options
author | Chris Lattner <sabre@nondot.org> | 2006-08-09 16:55:25 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-08-09 16:55:25 +0000 |
commit | a335812f14be7c2f6dd657e184cf077afc4b983a (patch) | |
tree | 524a3367f1cd8f35b3b66bdfe3c192f8058aed7b | |
parent | 5eff75250d4e90bb5263d74ead6e58fd37287e24 (diff) | |
download | llvm-a335812f14be7c2f6dd657e184cf077afc4b983a.zip llvm-a335812f14be7c2f6dd657e184cf077afc4b983a.tar.gz llvm-a335812f14be7c2f6dd657e184cf077afc4b983a.tar.bz2 |
Apply patch from mainline for GCC 3.3 compatibility.
llvm-svn: 29587
-rw-r--r-- | llvm/utils/TableGen/DAGISelEmitter.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/utils/TableGen/DAGISelEmitter.cpp b/llvm/utils/TableGen/DAGISelEmitter.cpp index 8a62ed8..895889a 100644 --- a/llvm/utils/TableGen/DAGISelEmitter.cpp +++ b/llvm/utils/TableGen/DAGISelEmitter.cpp @@ -3633,6 +3633,8 @@ void DAGISelEmitter::run(std::ostream &OS) { OS << "#if defined(__GNUC__) && \\\n"; OS << " ((__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 4)))\n"; OS << "#define NOINLINE __attribute__((noinline))\n"; + OS << "#else\n\n"; + OS << "#define NOINLINE\n\n"; OS << "#endif\n\n"; OS << "// Instance var to keep track of multiply used nodes that have \n" |