For the record, GCC 3.4.6 also has this problem. Jeff Cohen wrote: > Changes in directory llvm/include/llvm: > > AbstractTypeUser.h updated: 1.27 -> 1.28 > --- > Log message: > > Fix build problem with Gentoo 4.1.1-r3. > > --- > Diffs of the changes: (+4 -0) > > AbstractTypeUser.h | 4 ++++ > 1 files changed, 4 insertions(+) > > > Index: llvm/include/llvm/AbstractTypeUser.h > diff -u llvm/include/llvm/AbstractTypeUser.h:1.27 > llvm/include/llvm/AbstractTypeUser.h:1.28 > --- llvm/include/llvm/AbstractTypeUser.h:1.27 Mon Jun 5 11:29:06 2006 > +++ llvm/include/llvm/AbstractTypeUser.h Sun Apr 22 13:49:32 2007 > @@ -14,6 +14,10 @@ > #ifndef LLVM_ABSTRACT_TYPE_USER_H > #define LLVM_ABSTRACT_TYPE_USER_H > > +// IMPORTANT: Do not include this file directly. Include Type.h instead. > +// Some versions of GCC can't handle the inlined method > PATypeHolder::dropRef() > +// correctly otherwise. > + > // This is the "master" include for <cassert> Whether this file needs it or > not, > // it must always include <cassert> for the files which include > // llvm/AbstractTypeUser.h > > > > _______________________________________________ > llvm-commits mailing list > llvm-commits@cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits > > > >
_______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits