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]

C++ BUG: Recent change


Hi,
this recent change
1999-08-19  Jason Merrill  <jason@yorick.cygnus.com>

        * cp-tree.h: Declare flag_use_repository.
        * pt.c (do_decl_instantiation): Don't complain about duplicate
        instantiation with -frepo.
        (do_type_instantiation): Likewise.

        * pt.c (push_template_decl_real): Complain about everything
        that isn't a valid template.

        * decl2.c (import_export_decl): If -fnew-abi, class linkage doesn't
        affect inlines.
causes several testsuite failures when the g++ is built with --enable-checking.
(new-abi not enabled)

> FAIL: g++.law/cvt21.C caused compiler crash
> FAIL: g++.law/cvt5.C caused compiler crash
> FAIL: g++.ns/ns17.C caused compiler crash
> FAIL: g++.ns/template6.C caused compiler crash
> FAIL: g++.other/sizeof2.C caused compiler crash
> FAIL: g++.pt/crash1.C caused compiler crash
> FAIL: g++.pt/crash43.C caused compiler crash
> FAIL: g++.pt/crash9.C caused compiler crash
> FAIL: g++.pt/enum6.C caused compiler crash
> FAIL: g++.pt/typename8.C caused compiler crash
> FAIL: g++.rfg/00324_02-.C caused compiler crash

pre patch, the differing failings were
< FAIL: g++.law/cvt21.C (test for excess errors)
< FAIL: g++.law/cvt5.C (test for excess errors)
< FAIL: g++.pt/crash43.C typename as friend (test for errors, line 13)
< FAIL: g++.pt/crash43.C typename as friend (test for errors, line 18)
< FAIL: g++.pt/crash43.C typename as friend (test for errors, line 23)

Just in case this is some kind of memory corruption problem, this was on
i686-pc-linux-gnu

nathan
-- 
Dr Nathan Sidwell :: Computer Science Department :: Bristol University
        I have seen the death of PhotoShop -- it is called GIMP
nathan@acm.org  http://www.cs.bris.ac.uk/~nathan/  nathan@cs.bris.ac.uk


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]