This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug testsuite/21496] New: more flexible dg-error
- From: "bkoz at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 May 2005 16:04:21 -0000
- Subject: [Bug testsuite/21496] New: more flexible dg-error
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
http://gcc.gnu.org/ml/libstdc++/2005-05/msg00098.html
In general, what happens is that current negative compile tests have different
line numbers and or message text, depending on various command line defines.
Ie, 23_containers/map/operators/1_neg.cc when run in normal mode (-g -O2) and in
debug mode (-g -O2 -D_GLIBCXX_DEBUG).
This is also an issue with different versions of compilers, and or different
(non FSF) compilers. For instance, older compilers may have different warning text.
I think everybody would be happy as long as the test file in question could be
marked up so dejagnu could pass/fail/be skipped with the changed constraint.
--
Summary: more flexible dg-error
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: enhancement
Priority: P2
Component: testsuite
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: bkoz at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21496