------- Comment #11 from hjl dot tools at gmail dot com 2010-01-17 21:21 ------- (In reply to comment #9) > (In reply to comment #5) > > It is very likely caused by revision : > > http://gcc.gnu.org/ml/gcc-cvs/2009-10/msg00175.html > > Actually I don't see how this bug could be caused by r152526. That patch was > about SELECT TYPE and (ideally) should have no effect on TBPs at all. Also, at > first sight, I don't see anything suspicious in the patch. Is there any > evidence for the above claim?
With original testcase, removing all "use psb_error_mod", I got [...@gnu-34 rrs]$ /export/gnu/import/rrs/152525/usr/bin/gcc -S pr42769.f90 pr42769.f90:1309.36: class is (psb_s_base_sparse_mat) 1 Error: CLASS IS specification at (1) is not yet supported pr42769.f90:1310.22: call b%cp_to_coo(tmp,info) 1 Error: 'cp_to_coo' at (1) is not a member of the 'psb_base_sparse_mat' structure pr42769.f90:2919.36: class is (psb_d_base_sparse_mat) 1 Error: CLASS IS specification at (1) is not yet supported pr42769.f90:2920.22: call b%cp_to_coo(tmp,info) 1 Error: 'cp_to_coo' at (1) is not a member of the 'psb_base_sparse_mat' structure pr42769.f90:3894.24: use psb_d_base_mat_mod 1 Fatal Error: Can't open module file 'psb_d_base_mat_mod.mod' for reading at (1): No such file or directory [...@gnu-34 rrs]$ /export/gnu/import/rrs/152525/usr/bin/gcc -v Using built-in specs. COLLECT_GCC=/export/gnu/import/rrs/152525/usr/bin/gcc COLLECT_LTO_WRAPPER=/export/gnu/import/rrs/152525/usr/libexec/gcc/x86_64-unknown-linux-gnu/4.5.0/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: ../src/configure --prefix=/export/gnu/import/rrs/152525/usr --enable-clocale=gnu --with-system-zlib --with-demangler-in-ld --enable-shared --enable-threads=posix --enable-haifa --enable-checking --enable-languages=c,c++,fortran --with-ppl=/ --with-cloog=/ --disable-bootstrap Thread model: posix gcc version 4.5.0 20091007 (experimental) [trunk revision 152525] (GCC) [...@gnu-34 rrs]$ /export/gnu/import/rrs/152526/usr/bin/gcc -S pr42769.f90 pr42769.f90:1309.36: class is (psb_s_base_sparse_mat) 1 Error: CLASS IS specification at (1) is not yet supported pr42769.f90:180:0: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. [...@gnu-34 rrs]$ /export/gnu/import/rrs/152526/usr/bin/gcc -v Using built-in specs. COLLECT_GCC=/export/gnu/import/rrs/152526/usr/bin/gcc COLLECT_LTO_WRAPPER=/export/gnu/import/rrs/152526/usr/libexec/gcc/x86_64-unknown-linux-gnu/4.5.0/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: ../src/configure --prefix=/export/gnu/import/rrs/152526/usr --enable-clocale=gnu --with-system-zlib --with-demangler-in-ld --enable-shared --enable-threads=posix --enable-haifa --enable-checking --enable-languages=c,c++,fortran --with-ppl=/ --with-cloog=/ --disable-bootstrap Thread model: posix gcc version 4.5.0 20091007 (experimental) [trunk revision 152526] (GCC) [...@gnu-34 rrs]$ -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42769