From mboxrd@z Thu Jan 1 00:00:00 1970 From: ahaas@neosoft.com To: gdb-patches@cygnus.com Subject: [PATCH] Template.cc testsuite compilation fix Date: Sat, 13 Mar 1999 10:36:00 -0000 Message-id: <19990313123818.A29950@localhost.neosoft.com> X-SW-Source: 1999-03/msg00033.html Hi. Both gdb-4.17.85 and gdb-4.17.86 (the two most recent snapshots I'm aware of) failed the c++ tests for 'template.cc' because the test program did not compile correctly. egcs-1.1.1 was not happy about the '0' template parameter. The attatched patch solves the compilation glitch, and the (for me), the first 5 tests succeed. Only the 'print t5i.value()' test failed. As best as I can tell, the change does not invalidate the template tests. Thanks for your work on gdb. Art Haas ====================== --- gdb-4.17.86/gdb/testsuite/gdb.c++/templates.cc.orig Mon Jan 11 09:20:53 1999 +++ gdb-4.17.86/gdb/testsuite/gdb.c++/templates.cc Sat Mar 13 11:29:44 1999 @@ -724,7 +724,7 @@ Baz bazint; Baz bazint2; - Qux quxint2; + Qux quxint2; Qux quxint; Qux1 qux11; From mboxrd@z Thu Jan 1 00:00:00 1970 From: ahaas@neosoft.com To: gdb-patches@cygnus.com Subject: [PATCH] Template.cc testsuite compilation fix Date: Thu, 01 Apr 1999 00:00:00 -0000 Message-ID: <19990313123818.A29950@localhost.neosoft.com> X-SW-Source: 1999-q1/msg00087.html Message-ID: <19990401000000.E6Mg0lgvdPpZ1dBuq9I13Nffbwt-n2i6pcIg0npG1O8@z> Hi. Both gdb-4.17.85 and gdb-4.17.86 (the two most recent snapshots I'm aware of) failed the c++ tests for 'template.cc' because the test program did not compile correctly. egcs-1.1.1 was not happy about the '0' template parameter. The attatched patch solves the compilation glitch, and the (for me), the first 5 tests succeed. Only the 'print t5i.value()' test failed. As best as I can tell, the change does not invalidate the template tests. Thanks for your work on gdb. Art Haas ====================== --- gdb-4.17.86/gdb/testsuite/gdb.c++/templates.cc.orig Mon Jan 11 09:20:53 1999 +++ gdb-4.17.86/gdb/testsuite/gdb.c++/templates.cc Sat Mar 13 11:29:44 1999 @@ -724,7 +724,7 @@ Baz bazint; Baz bazint2; - Qux quxint2; + Qux quxint2; Qux quxint; Qux1 qux11;