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

Reply via email to