Test output for IRIX64 KAI


Test DEFECT/OLD_STL_HEADERS

Checking that the following compiles fail:
KCC -c ftest1.cc
"ftest1.cc", line 4: error: vector is not a template
  typedef vector v;
          ^

"ftest1.cc", line 7: error: identifier "stack" is undefined
     stack s;
     ^

"ftest1.cc", line 7: error: type name is not allowed
     stack s;
           ^

"ftest1.cc", line 7: error: identifier "s" is undefined
     stack s;
              ^

4 errors detected in the compilation of "ftest1.cc".
KCC: Compilation failed.
Checking that the following compiles succeed:
KCC -c atest1.cc
KCC -o atest atest1.o -lm
C++ prelinker: Recompiling atest1.cc
ld64: WARNING 84: /usr/lib64/mips3/libm.so is not used for resolving any symbol.
Checking that executable succeeds:
Checking the executable's output:
Test DEFECT/OLD_STL_HEADERS Positive

Test DEFECT/OLD_STDC_HEADERS

Checking that the following compiles fail:
KCC -DDEFECT_OLD_STL_HEADERS -c ftest1.cc
Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o -lm
ld64: WARNING 84: /usr/lib64/mips3/libm.so is not used for resolving any symbol.
Checking that executable succeeds:
Checking the executable's output:
Test DEFECT/OLD_STDC_HEADERS Negative.

Test DEFECT/OLD_IOSTREAM_HEADERS

Checking that the following compiles fail:
KCC -DDEFECT_OLD_STL_HEADERS -c ftest1.cc
Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o -lm
ld64: WARNING 84: /usr/lib64/mips3/libm.so is not used for resolving any symbol.
Checking that executable succeeds:
Checking the executable's output:
Test DEFECT/OLD_IOSTREAM_HEADERS Negative.

Test DEFECT/OLD_STRINGSTREAM

Checking that the following compiles fail:
KCC -DDEFECT_OLD_STL_HEADERS -c ftest1.cc
Test DEFECT/OLD_STRINGSTREAM Negative.

Test DEFECT/NO_IOSFWD_HEADER

Checking that the following compiles fail:
KCC -DDEFECT_OLD_STL_HEADERS -c ftest1.cc
Test DEFECT/NO_IOSFWD_HEADER Negative.

Test DEFECT/GCC27_STRINGSTREAM_STR

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
"atest1.cc", line 19: error: identifier "ostrstream" is undefined
      ostrstream type_stream(buffer,128);
      ^

"atest1.cc", line 19: error: expected a ")"
      ostrstream type_stream(buffer,128);
                                   ^

"atest1.cc", line 25: error: identifier "cout" is undefined
   	cout << "Broken!\n";
   	^

"atest1.cc", line 27: error: identifier "cout" is undefined
   	cout << "Works.\n";
   	^

4 errors detected in the compilation of "atest1.cc".
KCC: Compilation failed.
KCC -o atest *.o -lm
C++ prelinker: error: File "*.o" does not exist or is not readable

Checking that executable succeeds:
Checking the executable's output:
Test DEFECT/GCC27_STRINGSTREAM_STR Negative.

Test DEFECT/NO_STDLIB_NAMESPACES

Checking that the following compiles fail:
KCC -DDEFECT_OLD_STL_HEADERS -c ftest1.cc
Test DEFECT/NO_STDLIB_NAMESPACES Negative.

Test DEFECT/OLD_STL_COUNT

Checking that the following compiles fail:
KCC -DDEFECT_OLD_STL_HEADERS -c ftest1.cc
"ftest1.cc", line 14: error: identifier "vector" is undefined
      vector v(10);
      ^

"ftest1.cc", line 14: error: type name is not allowed
      vector v(10);
             ^

"ftest1.cc", line 14: error: identifier "v" is undefined
      vector v(10);
                  ^

"ftest1.cc", line 19: error: expression must be a pointer to a complete object
          type
  	v[i] = i;
  	^

"ftest1.cc", line 22: error: identifier "count" is undefined
      res = count( v.begin(), v.end(), j );
            ^

"ftest1.cc", line 22: error: expression must have class type
      res = count( v.begin(), v.end(), j );
                   ^

"ftest1.cc", line 22: error: expression must have class type
      res = count( v.begin(), v.end(), j );
                              ^

"ftest1.cc", line 16: warning: variable "res" was set but never used
      int res;
          ^

7 errors detected in the compilation of "ftest1.cc".
KCC: Compilation failed.
Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
"atest1.cc", line 14: error: identifier "vector" is undefined
      vector v(10);
      ^

"atest1.cc", line 14: error: type name is not allowed
      vector v(10);
             ^

"atest1.cc", line 14: error: identifier "v" is undefined
      vector v(10);
                  ^

"atest1.cc", line 19: error: expression must be a pointer to a complete object
          type
  	v[i] = i;
  	^

"atest1.cc", line 22: error: identifier "count" is undefined
      count( v.begin(), v.end(), j, res );
      ^

"atest1.cc", line 22: error: expression must have class type
      count( v.begin(), v.end(), j, res );
             ^

"atest1.cc", line 22: error: expression must have class type
      count( v.begin(), v.end(), j, res );
                        ^

"atest1.cc", line 22: warning: variable "res" is used before its value is set
      count( v.begin(), v.end(), j, res );
                                    ^

7 errors detected in the compilation of "atest1.cc".
KCC: Compilation failed.
KCC -o atest *.o -lm
C++ prelinker: error: File "*.o" does not exist or is not readable

Checking that executable succeeds:
Checking the executable's output:
Test DEFECT/OLD_STL_COUNT Negative.

Test DEFECT/SGICC_STRING_HEADER

Checking that the following compiles fail:
KCC -DDEFECT_OLD_STL_HEADERS -c ftest1.cc
Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
"atest1.cc", line 1: catastrophic error: could not open source file "mstring.h"
  #include 
                      ^

1 catastrophic error detected in the compilation of "atest1.cc".
Compilation terminated.
KCC: Compilation failed.
KCC -o atest *.o -lm
C++ prelinker: error: File "*.o" does not exist or is not readable

Checking that executable succeeds:
Checking the executable's output:
Test DEFECT/SGICC_STRING_HEADER Negative.

Test Tests/bool

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o -lm
ld64: WARNING 84: /usr/lib64/mips3/libm.so is not used for resolving any symbol.
Checking that executable succeeds:
Checking the executable's output:
Test Tests/bool Positive

Test Tests/cast1

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o -lm
ld64: WARNING 84: /usr/lib64/mips3/libm.so is not used for resolving any symbol.
Checking that executable succeeds:
Checking the executable's output:
Test Tests/cast1 Positive

Test Tests/cast2

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o -lm
ld64: WARNING 84: /usr/lib64/mips3/libm.so is not used for resolving any symbol.
Checking that executable succeeds:
Checking the executable's output:
Test Tests/cast2 Positive

Test Tests/cast3

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o -lm
ld64: WARNING 84: /usr/lib64/mips3/libm.so is not used for resolving any symbol.
Checking that executable succeeds:
Checking the executable's output:
Test Tests/cast3 Positive

Test Tests/except1

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c -x atest1.cc
"atest1.cc", line 16: warning: statement is unreachable
      return;
      ^

KCC -o atest atest1.o -lKCC-eh -lm
C++ prelinker: warning: library "libKCC-eh{.so,.a}" does not exist in the specified library directories

ld64: WARNING 84: /usr/lib64/mips3/libm.so is not used for resolving any symbol.
Checking that executable succeeds:
Checking the executable's output:
Test Tests/except1 Positive

Test Tests/except2

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c -x atest1.cc
"atest1.cc", line 35: warning: statement is unreachable
      return;
      ^

"atest1.cc", line 40: error: identifier "cout" is undefined
      cout << "here!\n";
      ^

"atest1.cc", line 47: error: identifier "cout" is undefined
      cout << "I should get here!\n";
      ^

"atest1.cc", line 56: error: identifier "cout" is undefined
  	cout << e.get();
  	^

"atest1.cc", line 59: error: identifier "cout" is undefined
  	cout << e.get();
  	^

"atest1.cc", line 62: error: identifier "cout" is undefined
  	cout << "generic catch: I shouldn't be here...\n";
  	^

5 errors detected in the compilation of "atest1.cc".
KCC: Compilation failed.
KCC -o atest *.o -lKCC-eh -lm
C++ prelinker: error: File "*.o" does not exist or is not readable

Checking that executable succeeds:
Checking the executable's output:
Test Tests/except2 Negative.

Test Tests/hello

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o -lm
ld64: WARNING 84: /usr/lib64/mips3/libm.so is not used for resolving any symbol.
Checking that executable succeeds:
Checking the executable's output:
Test Tests/hello Positive

Test Tests/mutable

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o -lm
ld64: WARNING 84: /usr/lib64/mips3/libm.so is not used for resolving any symbol.
Checking that executable succeeds:
Checking the executable's output:
Test Tests/mutable Positive

Test Tests/ns1

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o -lm
ld64: WARNING 84: /usr/lib64/mips3/libm.so is not used for resolving any symbol.
Checking that executable succeeds:
Checking the executable's output:
Test Tests/ns1 Positive

Test Tests/ns2

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o -lm
ld64: WARNING 84: /usr/lib64/mips3/libm.so is not used for resolving any symbol.
Checking that executable succeeds:
Checking the executable's output:
Test Tests/ns2 Positive

Test Tests/ns3

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o -lm
ld64: WARNING 84: /usr/lib64/mips3/libm.so is not used for resolving any symbol.
Checking that executable succeeds:
Checking the executable's output:
Test Tests/ns3 Positive

Test Tests/overload

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o -lm
ld64: WARNING 84: /usr/lib64/mips3/libm.so is not used for resolving any symbol.
Checking that executable succeeds:
Checking the executable's output:
Test Tests/overload Positive

Test Tests/rtti2

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o -lm
ld64: WARNING 84: /usr/lib64/mips3/libm.so is not used for resolving any symbol.
Checking that executable succeeds:
Checking the executable's output:
Test Tests/rtti2 Positive

Test Tests/template1

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o -lm
ld64: WARNING 84: /usr/lib64/mips3/libm.so is not used for resolving any symbol.
Checking that executable succeeds:
Checking the executable's output:
Test Tests/template1 Positive

Test Tests/template2

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o -lm
ld64: WARNING 84: /usr/lib64/mips3/libm.so is not used for resolving any symbol.
Checking that executable succeeds:
Checking the executable's output:
Test Tests/template2 Positive

Test BZ/BOOL

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o -lm
ld64: WARNING 84: /usr/lib64/mips3/libm.so is not used for resolving any symbol.
Checking that executable succeeds:
Checking the executable's output:
Test BZ/BOOL Positive

Test BZ/CONST_CAST

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o -lm
ld64: WARNING 84: /usr/lib64/mips3/libm.so is not used for resolving any symbol.
Checking that executable succeeds:
Checking the executable's output:
Test BZ/CONST_CAST Positive

Test BZ/DEFAULT_TEMPLATE_PARAMETERS

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o -lm
ld64: WARNING 84: /usr/lib64/mips3/libm.so is not used for resolving any symbol.
Checking that executable succeeds:
Checking the executable's output:
Test BZ/DEFAULT_TEMPLATE_PARAMETERS Positive

Test BZ/DYNAMIC_CAST

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o -lm
ld64: WARNING 84: /usr/lib64/mips3/libm.so is not used for resolving any symbol.
Checking that executable succeeds:
Checking the executable's output:
Test BZ/DYNAMIC_CAST Positive

Test BZ/ENUM_COMPUTATIONS

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o -lm
ld64: WARNING 84: /usr/lib64/mips3/libm.so is not used for resolving any symbol.
Checking that executable succeeds:
Checking the executable's output:
Test BZ/ENUM_COMPUTATIONS Positive

Test BZ/EXCEPTIONS

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c -x atest1.cc
KCC -o atest atest1.o -lKCC-eh -lm
C++ prelinker: warning: library "libKCC-eh{.so,.a}" does not exist in the specified library directories

ld64: WARNING 84: /usr/lib64/mips3/libm.so is not used for resolving any symbol.
Checking that executable succeeds:
Checking the executable's output:
Test BZ/EXCEPTIONS Positive

Test BZ/EXPLICIT

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o -lm
ld64: WARNING 84: /usr/lib64/mips3/libm.so is not used for resolving any symbol.
Checking that executable succeeds:
Checking the executable's output:
Test BZ/EXPLICIT Positive

Test BZ/EXPLICIT_TEMPLATE_FUNCTION_QUALIFICATION

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o -lm
C++ prelinker: Recompiling atest1.cc
ld64: WARNING 84: /usr/lib64/mips3/libm.so is not used for resolving any symbol.
Checking that executable succeeds:
Checking the executable's output:
Test BZ/EXPLICIT_TEMPLATE_FUNCTION_QUALIFICATION Positive

Test BZ/FULL_SPECIALIZATION_SYNTAX

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o -lm
ld64: WARNING 84: /usr/lib64/mips3/libm.so is not used for resolving any symbol.
Checking that executable succeeds:
Checking the executable's output:
Test BZ/FULL_SPECIALIZATION_SYNTAX Positive

Test BZ/FUNCTION_NONTYPE_PARAMETERS

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o -lm
C++ prelinker: Recompiling atest1.cc
ld64: WARNING 84: /usr/lib64/mips3/libm.so is not used for resolving any symbol.
Checking that executable succeeds:
Checking the executable's output:
Test BZ/FUNCTION_NONTYPE_PARAMETERS Positive

Test BZ/HAVE_COMPLEX

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o -lm
ld64: WARNING 84: /usr/lib64/mips3/libm.so is not used for resolving any symbol.
Checking that executable succeeds:
Checking the executable's output:
Test BZ/HAVE_COMPLEX Positive

Test BZ/HAVE_COMPLEX_MATH

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
"atest1.cc", line 13: error: no instance of overloaded function "acos" matches
          the argument list
            argument types are: (std::complex)
      acos(x);
      ^

"atest1.cc", line 14: error: no instance of overloaded function "asin" matches
          the argument list
            argument types are: (std::complex)
      asin(x);
      ^

"atest1.cc", line 15: error: no instance of overloaded function "atan" matches
          the argument list
            argument types are: (std::complex)
      atan(x);
      ^

"atest1.cc", line 16: error: no instance of overloaded function "atan2"
          matches the argument list
            argument types are: (std::complex, std::complex)
      atan2(x,y);
      ^

"atest1.cc", line 17: error: no instance of overloaded function "atan2"
          matches the argument list
            argument types are: (std::complex, double)
      atan2(x, double(3.0));
      ^

"atest1.cc", line 18: error: no instance of overloaded function "atan2"
          matches the argument list
            argument types are: (double, std::complex)
      atan2(double(3.0), x);
      ^

"/usr/products/kai/v3_3d_1/KCC_BASE/include/complex", line 678: error: 
          identifier "temp" is undefined
      temp = log(cx)/__msipl_log(10);
      ^
          detected during instantiation of "std::complex std::log10(const
                    std::complex &) [with T=double]" at line 23 of
                    "atest1.cc"

"/usr/products/kai/v3_3d_1/KCC_BASE/include/complex", line 678: error: more
          than one instance of overloaded function "std::log" matches the
          argument list:
            function "log(long double)"
            function "log(float)"
            function "log(double) C"
            argument types are: (int)
      temp = log(cx)/__msipl_log(10);
                     ^
          detected during instantiation of "std::complex std::log10(const
                    std::complex &) [with T=double]" at line 23 of
                    "atest1.cc"

"/usr/products/kai/v3_3d_1/KCC_BASE/include/complex", line 679: error: more
          than one instance of overloaded function "std::log" matches the
          argument list:
            function "log(long double)"
            function "log(float)"
            function "log(double) C"
            argument types are: (int)
      return complex (log(cx)/__msipl_log(10));
                                 ^
          detected during instantiation of "std::complex std::log10(const
                    std::complex &) [with T=double]" at line 23 of
                    "atest1.cc"

9 errors detected in the compilation of "atest1.cc".
KCC: Compilation failed.
KCC -o atest *.o -lm
C++ prelinker: error: File "*.o" does not exist or is not readable

Checking that executable succeeds:
Checking the executable's output:
Test BZ/HAVE_COMPLEX_MATH Negative.

Test BZ/HAVE_IEEE_MATH

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
"atest1.cc", line 26: error: identifier "finite" is undefined
      finite(x);
      ^

"atest1.cc", line 34: error: identifier "trunc" is undefined
      trunc(x);
      ^

2 errors detected in the compilation of "atest1.cc".
KCC: Compilation failed.
KCC -o atest *.o -lm
C++ prelinker: error: File "*.o" does not exist or is not readable

Checking that executable succeeds:
Checking the executable's output:
Test BZ/HAVE_IEEE_MATH Negative.

Test BZ/HAVE_NUMERIC_LIMITS

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o -lm
ld64: WARNING 84: /usr/lib64/mips3/libm.so is not used for resolving any symbol.
Checking that executable succeeds:
Checking the executable's output:
Test BZ/HAVE_NUMERIC_LIMITS Positive

Test BZ/HAVE_RUSAGE

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o -lm
ld64: WARNING 84: /usr/lib64/mips3/libm.so is not used for resolving any symbol.
Checking that executable succeeds:
Checking the executable's output:
Test BZ/HAVE_RUSAGE Positive

Test BZ/HAVE_STD

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o -lm
ld64: WARNING 84: /usr/lib64/mips3/libm.so is not used for resolving any symbol.
Checking that executable succeeds:
Checking the executable's output:
Test BZ/HAVE_STD Positive

Test BZ/HAVE_SYSTEM_V_MATH

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
"atest1.cc", line 20: error: identifier "_class" is undefined
      _class(x);
      ^

"atest1.cc", line 21: error: identifier "ilogb" is undefined
      ilogb(x);
      ^

"atest1.cc", line 22: error: identifier "itrunc" is undefined
      itrunc(x);
      ^

"atest1.cc", line 23: error: identifier "nearest" is undefined
      nearest(x);
      ^

"atest1.cc", line 24: error: identifier "rsqrt" is undefined
      rsqrt(x);
      ^

"atest1.cc", line 25: error: identifier "uitrunc" is undefined
      uitrunc(x);
      ^

6 errors detected in the compilation of "atest1.cc".
KCC: Compilation failed.
KCC -o atest *.o -lm
C++ prelinker: error: File "*.o" does not exist or is not readable

Checking that executable succeeds:
Checking the executable's output:
Test BZ/HAVE_SYSTEM_V_MATH Negative.

Test BZ/HAVE_VALARRAY

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o -lm
ld64: WARNING 84: /usr/lib64/mips3/libm.so is not used for resolving any symbol.
Checking that executable succeeds:
Checking the executable's output:
Test BZ/HAVE_VALARRAY Positive

Test BZ/MEMBER_CONSTANTS

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o -lm
ld64: WARNING 84: /usr/lib64/mips3/libm.so is not used for resolving any symbol.
Checking that executable succeeds:
Checking the executable's output:
Test BZ/MEMBER_CONSTANTS Positive

Test BZ/MEMBER_TEMPLATES

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o -lm
ld64: WARNING 84: /usr/lib64/mips3/libm.so is not used for resolving any symbol.
Checking that executable succeeds:
Checking the executable's output:
Test BZ/MEMBER_TEMPLATES Positive

Test BZ/MEMBER_TEMPLATES_OUTSIDE_CLASS

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o -lm
C++ prelinker: Recompiling atest1.cc
ld64: WARNING 84: /usr/lib64/mips3/libm.so is not used for resolving any symbol.
Checking that executable succeeds:
Checking the executable's output:
Test BZ/MEMBER_TEMPLATES_OUTSIDE_CLASS Positive

Test BZ/MUTABLE

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o -lm
ld64: WARNING 84: /usr/lib64/mips3/libm.so is not used for resolving any symbol.
Checking that executable succeeds:
Checking the executable's output:
Test BZ/MUTABLE Positive

Test BZ/NAMESPACES

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o -lm
ld64: WARNING 84: /usr/lib64/mips3/libm.so is not used for resolving any symbol.
Checking that executable succeeds:
Checking the executable's output:
Test BZ/NAMESPACES Positive

Test BZ/NCEG_RESTRICT

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
"atest1.cc", line 6: error: expected a ")"
  void add(int length, double * restrict a, const double * restrict b,
                                         ^

"atest1.cc", line 10: error: identifier "a" is undefined
          a[i] = b[i] + c[i];
          ^

"atest1.cc", line 10: error: identifier "b" is undefined
          a[i] = b[i] + c[i];
                 ^

"atest1.cc", line 10: error: identifier "c" is undefined
          a[i] = b[i] + c[i];
                        ^

"atest1.cc", line 23: error: too many arguments in function call
      add(10,a,b,c);
               ^

5 errors detected in the compilation of "atest1.cc".
KCC: Compilation failed.
KCC -o atest *.o -lm
C++ prelinker: error: File "*.o" does not exist or is not readable

Checking that executable succeeds:
Checking the executable's output:
Test BZ/NCEG_RESTRICT Negative.

Test BZ/OLD_FOR_SCOPING

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
"atest1.cc", line 12: error: identifier "i" is undefined
      z = i;
          ^

1 error detected in the compilation of "atest1.cc".
KCC: Compilation failed.
KCC -o atest *.o -lm
C++ prelinker: error: File "*.o" does not exist or is not readable

Checking that executable succeeds:
Checking the executable's output:
Test BZ/OLD_FOR_SCOPING Negative.

Test BZ/PARTIAL_ORDERING

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o -lm
ld64: WARNING 84: /usr/lib64/mips3/libm.so is not used for resolving any symbol.
Checking that executable succeeds:
Checking the executable's output:
Test BZ/PARTIAL_ORDERING Positive

Test BZ/PARTIAL_SPECIALIZATION

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o -lm
ld64: WARNING 84: /usr/lib64/mips3/libm.so is not used for resolving any symbol.
Checking that executable succeeds:
Checking the executable's output:
Test BZ/PARTIAL_SPECIALIZATION Positive

Test BZ/REINTERPRET_CAST

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o -lm
ld64: WARNING 84: /usr/lib64/mips3/libm.so is not used for resolving any symbol.
Checking that executable succeeds:
Checking the executable's output:
Test BZ/REINTERPRET_CAST Positive

Test BZ/RTTI

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o -lm
ld64: WARNING 84: /usr/lib64/mips3/libm.so is not used for resolving any symbol.
Checking that executable succeeds:
Checking the executable's output:
Test BZ/RTTI Positive

Test BZ/STATIC_CAST

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o -lm
ld64: WARNING 84: /usr/lib64/mips3/libm.so is not used for resolving any symbol.
Checking that executable succeeds:
Checking the executable's output:
Test BZ/STATIC_CAST Positive

Test BZ/TEMPLATES

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o -lm
C++ prelinker: Recompiling atest1.cc
ld64: WARNING 84: /usr/lib64/mips3/libm.so is not used for resolving any symbol.
Checking that executable succeeds:
Checking the executable's output:
Test BZ/TEMPLATES Positive

Test BZ/TEMPLATES_AS_TEMPLATE_ARGUMENTS

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
"atest1.cc", line 10: error: "template" is not allowed
  template class T_alloc>
                    ^

"atest1.cc", line 16: error: T_alloc is not a template
     T_alloc alloc_; 
     ^

"atest1.cc", line 21: error: argument list for class template "allocator" is
          missing
      foo x;
                  ^

"atest1.cc", line 16: error: T_alloc is not a template
     T_alloc alloc_; 
     ^
          detected during instantiation of class
                    "foo> [with X=double, =]"
                    at line 21

4 errors detected in the compilation of "atest1.cc".
KCC: Compilation failed.
KCC -o atest *.o -lm
C++ prelinker: error: File "*.o" does not exist or is not readable

Checking that executable succeeds:
Checking the executable's output:
Test BZ/TEMPLATES_AS_TEMPLATE_ARGUMENTS Negative.

Test BZ/TEMPLATE_KEYWORD_QUALIFIER

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o -lm
ld64: WARNING 84: /usr/lib64/mips3/libm.so is not used for resolving any symbol.
Checking that executable succeeds:
Checking the executable's output:
Test BZ/TEMPLATE_KEYWORD_QUALIFIER Positive

Test BZ/TEMPLATE_QUALIFIED_BASE_CLASS

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o -lm
ld64: WARNING 84: /usr/lib64/mips3/libm.so is not used for resolving any symbol.
Checking that executable succeeds:
Checking the executable's output:
Test BZ/TEMPLATE_QUALIFIED_BASE_CLASS Positive

Test BZ/TEMPLATE_QUALIFIED_RETURN_TYPE

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o -lm
C++ prelinker: Recompiling atest1.cc
ld64: WARNING 84: /usr/lib64/mips3/libm.so is not used for resolving any symbol.
Checking that executable succeeds:
Checking the executable's output:
Test BZ/TEMPLATE_QUALIFIED_RETURN_TYPE Positive

Test BZ/TEMPLATE_SCOPED_ARGUMENT_MATCHING

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o -lm
C++ prelinker: Recompiling atest1.cc
ld64: WARNING 84: /usr/lib64/mips3/libm.so is not used for resolving any symbol.
Checking that executable succeeds:
Checking the executable's output:
Test BZ/TEMPLATE_SCOPED_ARGUMENT_MATCHING Positive

Test BZ/TYPENAME

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o -lm
ld64: WARNING 84: /usr/lib64/mips3/libm.so is not used for resolving any symbol.
Checking that executable succeeds:
Checking the executable's output:
Test BZ/TYPENAME Positive

Test BZ/TYPE_PROMOTION

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o -lm
ld64: WARNING 84: /usr/lib64/mips3/libm.so is not used for resolving any symbol.
Checking that executable succeeds:
Checking the executable's output:
Test BZ/TYPE_PROMOTION Positive

Test BZ/USE_NUMTRAIT

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o -lm
C++ prelinker: Recompiling atest1.cc
ld64: WARNING 84: /usr/lib64/mips3/libm.so is not used for resolving any symbol.
Checking that executable succeeds:
Checking the executable's output:
Test BZ/USE_NUMTRAIT Positive