This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
I found this internal-error while compiling a C++-Package (SoPlex) on an RedHat5.0 Alpha. I isolated the problematic code, but I don't know what it's for. :-) template< class T > void sort( T* t, int n ) { struct /*line5*/ { int operator()(T i, T j) { return (i < j) ? -1 : ((j < i) ? 1 : 0) ; } } c ; sort(t, n, c, 0) ; } g++ ie.C -c ie.C: In function `void sort(T *, int)': ie.C:5: Internal compiler error. ie.C:5: Please submit a full bug report to `egcs-bugs@cygnus.com'. Tobias Polzin
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |