[C++ PATCH:RFC]inner template default & typename ::template scoperef

Larry Evans jcampbell3@prodigy.net
Sat Jan 20 12:10:00 GMT 2001


I'd appreciate comments on the attached patch (cvs-diff-c3p.stdout)
which is for bugs analyzed in:

http://gcc.gnu.org/ml/gcc-bugs/2000-12/msg00567.html
http://gcc.gnu.org/ml/gcc-bugs/2001-01/msg00160.html

The attached file  def2.cpp, is a test case for the bug in msg00567.
The attached file,  sref4.cpp, is a test case for the bug in msg00160.

The attached file, check-g++.*compilation* , is output for
'make check-g++' run in build subdirectory, gcc.     I would
appreciate some help in figuring out why the following tests failed:

  FAIL: g++.dg/special/conpr-1.C execution test
   spawn [open ...]
    FAIL: g++.dg/special/conpr-1.C execution test

  FAIL: g++.dg/special/conpr-2.C execution test
   spawn [open ...]
    FAIL: g++.dg/special/conpr-2.C execution test

  FAIL: g++.dg/special/conpr-3.C execution test
   spawn [open ...]
    FAIL: g++.dg/special/conpr-3.C execution test

  FAIL: g++.dg/special/conpr-3.C execution test
   spawn [open ...]
    FAIL: g++.dg/special/conpr-3.C execution test

  FAIL: g++.old-deja/g++.ext/initp1.C Execution test
    spawn [open ...]
     FAIL: g++.ext/initp1.C  Execution test

One thing conpr-1.C and initp1.C have in common is they use the
init_priority extension.

The failure of the other tests which did no also fail in
http://gcc.gnu.org/ml/gcc-testresults/2001-01/msg00223.html
is for the following reasons:

  FAIL: g++.old-deja/g++.other/crash18.C excess error caused by -fvtable-gc
  compile flag.

 FAIL: g++.old-deja/g++.other/crash32.C excess error caused by
 --enable-checking  configure flag.

My configuration is:

g++ -v
Reading specs from ./../lib/gcc-lib/i586-pc-linux-gnu/2.97/specs
Configured with: /mnt/scratch/gcc-2.96/latest-cvs/gcc/configure --prefix=/mnt/scratch/gcc-2.96/latest-cvs/debug/install --with-local-prefix=/mnt/scratch/gcc-2.96/latest-cvs/debug/local --with-gxx-include-dir=/mnt/scratch/gcc-2.96/latest-cvs/debug/local/g++ --enable-languages=c++ --enable-checking --enable-debug --enable-libgcc-rebuild=/mnt/scratch/gcc-2.96/latest-cvs/debug/build : (reconfigured)  : (reconfigured)  : (reconfigured)  : (reconfigured) /mnt/scratch/gcc-2.96/latest-cvs/gcc/configure --prefix=/mnt/scratch/gcc-2.96/latest-cvs/debug/install --with-local-prefix=/mnt/scratch/gcc-2.96/latest-cvs/debug/local --with-gxx-include-dir=/mnt/scratch/gcc-2.96/latest-cvs/debug/local/g++ --enable-languages=c++ --enable-checking --enable-debug --enable-libgcc-rebuild=/mnt/scratch/gcc-2.96/latest-cvs/debug/build : (reconfigured) /mnt/scratch/gcc-2.96/latest-cvs/gcc/configure --prefix=/mnt/scratch/gcc-2.96/latest-cvs/debug/install
--with-local-prefix=/mnt/scratch/gcc-2.96/latest-cvs/debug/local --enable-languages=c++ --enable-checking --enable-debug --enable-libgcc-rebuild=/mnt/scratch/gcc-2.96/latest-cvs/debug/build : (reconfigured)  : (reconfigured)  : (reconfigured) /mnt/scratch/gcc-2.96/latest-cvs/gcc/configure --prefix=/mnt/scratch/gcc-2.96/latest-cvs/debug/install --with-local-prefix=/mnt/scratch/gcc-2.96/latest-cvs/debug/local --enable-languages=c++ --enable-checking --enable-debug --enable-libgcc-rebuild=/mnt/scratch/gcc-2.96/latest-cvs/debug/build --enable-shared --enable-threads=posix : (reconfigured) /mnt/scratch/gcc-2.96/latest-cvs/gcc/configure --prefix=/mnt/scratch/gcc-2.96/latest-cvs/debug/install --with-local-prefix=/mnt/scratch/gcc-2.96/latest-cvs/debug/local --enable-languages=c++ --enable-checking --enable-debug --enable-libgcc-rebuild=/mnt/scratch/gcc-2.96/latest-cvs/debug/build --enable-shared --enable-threads=posix
gcc version 2.97 20010119 (experimental)





More information about the Gcc-patches mailing list