public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/25241]  New: DejaGNU does not distinguish between errors and warnings
@ 2005-12-03 10:12 gdr at gcc dot gnu dot org
  2005-12-03 16:39 ` [Bug testsuite/25241] " pinskia at gcc dot gnu dot org
                   ` (66 more replies)
  0 siblings, 67 replies; 68+ messages in thread
From: gdr at gcc dot gnu dot org @ 2005-12-03 10:12 UTC (permalink / raw)
  To: gcc-bugs

Our testsuite should be distinguishing between errors and warnings
based on GCC diagnostic markers "error: ", "warning: ", etc.


-- 
           Summary: DejaGNU does not distinguish between errors and warnings
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: gdr at gcc dot gnu dot org
  GCC host triplet: platform independent


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241


^ permalink raw reply	[flat|nested] 68+ messages in thread

* [Bug testsuite/25241] DejaGNU does not distinguish between errors and warnings
  2005-12-03 10:12 [Bug testsuite/25241] New: DejaGNU does not distinguish between errors and warnings gdr at gcc dot gnu dot org
@ 2005-12-03 16:39 ` pinskia at gcc dot gnu dot org
  2006-11-27 22:12 ` janis at gcc dot gnu dot org
                   ` (65 subsequent siblings)
  66 siblings, 0 replies; 68+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-12-03 16:39 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2005-12-03 16:39 -------
Confirmed.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-12-03 16:39:16
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241


^ permalink raw reply	[flat|nested] 68+ messages in thread

* [Bug testsuite/25241] DejaGNU does not distinguish between errors and warnings
  2005-12-03 10:12 [Bug testsuite/25241] New: DejaGNU does not distinguish between errors and warnings gdr at gcc dot gnu dot org
  2005-12-03 16:39 ` [Bug testsuite/25241] " pinskia at gcc dot gnu dot org
@ 2006-11-27 22:12 ` janis at gcc dot gnu dot org
  2007-01-27 16:49 ` manu at gcc dot gnu dot org
                   ` (64 subsequent siblings)
  66 siblings, 0 replies; 68+ messages in thread
From: janis at gcc dot gnu dot org @ 2006-11-27 22:12 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from janis at gcc dot gnu dot org  2006-11-27 22:12 -------
The functionality to support dg-error and dg-warning is in proc dg-test in file
dg.exp from the DejaGnu project.  It treats these two directives the same
except for the failure message.  The GCC testsuite infrastructure overrides
some small DejaGnu procs to get them to do what we want, but dg-test is very
large.

Eventually we should work with the DejaGnu developers to get changes we need
into that product, including the ability to provide callbacks for
project-specific support for things like checking error and warning messages. 
In the meantime we're stuck with including "error" or "warning" in the regular
expression being checked.


-- 

janis at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |janis at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241


^ permalink raw reply	[flat|nested] 68+ messages in thread

* [Bug testsuite/25241] DejaGNU does not distinguish between errors and warnings
  2005-12-03 10:12 [Bug testsuite/25241] New: DejaGNU does not distinguish between errors and warnings gdr at gcc dot gnu dot org
  2005-12-03 16:39 ` [Bug testsuite/25241] " pinskia at gcc dot gnu dot org
  2006-11-27 22:12 ` janis at gcc dot gnu dot org
@ 2007-01-27 16:49 ` manu at gcc dot gnu dot org
  2007-01-30 20:36 ` manu at gcc dot gnu dot org
                   ` (63 subsequent siblings)
  66 siblings, 0 replies; 68+ messages in thread
From: manu at gcc dot gnu dot org @ 2007-01-27 16:49 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from manu at gcc dot gnu dot org  2007-01-27 16:49 -------
How would you test whether this is fixed?


-- 

manu at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |manu at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241


^ permalink raw reply	[flat|nested] 68+ messages in thread

* [Bug testsuite/25241] DejaGNU does not distinguish between errors and warnings
  2005-12-03 10:12 [Bug testsuite/25241] New: DejaGNU does not distinguish between errors and warnings gdr at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2007-01-27 16:49 ` manu at gcc dot gnu dot org
@ 2007-01-30 20:36 ` manu at gcc dot gnu dot org
  2007-01-30 21:02 ` joseph at codesourcery dot com
                   ` (62 subsequent siblings)
  66 siblings, 0 replies; 68+ messages in thread
From: manu at gcc dot gnu dot org @ 2007-01-30 20:36 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from manu at gcc dot gnu dot org  2007-01-30 20:35 -------
I have the following patch. Framework tests work. However, this patch will make
a lot of tests to fail because:

* Many tests are using the wrong dg-warning or dg-error directive.
* Many tests add an explicit "warning:" or "error:" to workaround this bug.
* Many tests match several warning/error messages with a single
dg-warning/dg-error directive.

So what we want to do? Fix the testcases or do nothing?


Index: gcc/testsuite/gcc.test-framework/dg-error-exp-F.c
===================================================================
--- gcc/testsuite/gcc.test-framework/dg-error-exp-F.c   (revision 0)
+++ gcc/testsuite/gcc.test-framework/dg-error-exp-F.c   (revision 0)
@@ -0,0 +1,11 @@
+/* Test the tester; previously part of gcc.misc-tests/dg-9.c.  */
+/* { dg-prms-id 42 } */
+/* { dg-options "-Wall" } */
+
+f ()
+{      /* { dg-error "return type" "warning test" } */
+}      /* { dg-error "control reaches end" "warning test" } */
+
+main (int argc, char *argv[])
+{              /* { dg-error "return type" "warning test" } */
+}              /* { dg-error "control reaches end" "warning test" } */
Index: gcc/testsuite/gcc.test-framework/dg-warning-exp-F.c
===================================================================
--- gcc/testsuite/gcc.test-framework/dg-warning-exp-F.c (revision 0)
+++ gcc/testsuite/gcc.test-framework/dg-warning-exp-F.c (revision 0)
@@ -0,0 +1,10 @@
+/* Test the tester; previously part of gcc.misc-tests/dg-9.c.  */
+/* { dg-prms-id 42 } */
+/* { dg-options "-Wall" } */
+
+int main (int argc, char *argv[])
+{
+  +;  /* { dg-warning "expected expression" "error test" } */
+  return 0;
+}
+
Index: gcc/testsuite/gcc.test-framework/README
===================================================================
--- gcc/testsuite/gcc.test-framework/README     (revision 121027)
+++ gcc/testsuite/gcc.test-framework/README     (working copy)
@@ -19,7 +19,7 @@ To run these tests:
 To check the results:

     TF=${SRC}/gcc/testsuite/gcc.test-framework
-    awk -f ${TF}/test-framework.awk gcc/testsuite/gcc.sum
+    awk -f ${TF}/test-framework.awk gcc/testsuite/gcc/gcc.sum


 The awk script prints unexpected results followed by the number of tests
 that passed and failed.
Index: gcc/testsuite/lib/gfortran-dg.exp
===================================================================
--- gcc/testsuite/lib/gfortran-dg.exp   (revision 121027)
+++ gcc/testsuite/lib/gfortran-dg.exp   (working copy)
@@ -107,3 +107,14 @@ proc gfortran-dg-runtest { testcases def
        }
     }
 }
+
+
+if { [info procs gfortran-saved-dg-warning] == [list] } {
+    rename dg-warning gfortran-saved-dg-warning
+    rename saved-dg-warning dg-warning
+}
+
+if { [info procs gfortran-saved-dg-error] == [list] } {
+    rename dg-error gfortran-saved-dg-error
+    rename saved-dg-error dg-error
+}
Index: gcc/testsuite/lib/gcc-dg.exp
===================================================================
--- gcc/testsuite/lib/gcc-dg.exp        (revision 121027)
+++ gcc/testsuite/lib/gcc-dg.exp        (working copy)
@@ -540,4 +540,78 @@ if { [info procs saved-dg-test] == [list
     }
 }

+if { [info procs saved-dg-warning] == [list] } {
+    rename dg-warning saved-dg-warning
+
+    proc dg-warning { args } {
+       upvar dg-messages messages
+
+       if { [llength $args] > 5 } {
+           error "[lindex $args 0]: too many arguments"
+           return
+       }
+
+       set xfail ""
+       if { [llength $args] >= 4 } {
+           switch [dg-process-target [lindex $args 3]] {
+               "F" { set xfail "X" }
+               "P" { set xfail "" }
+               "N" {
+                   # If we get "N", this warning doesn't apply to us so ignore
it.
+                   return
+               }
+           }
+       }
+
+       if { [llength $args] >= 5 } {
+           switch [lindex $args 4] {
+               "." { set line [dg-format-linenum [lindex $args 0]] }
+               "0" { set line "" }
+               "default" { set line [dg-format-linenum [lindex $args 4]] }
+           }
+       } else {
+           set line [dg-format-linenum [lindex $args 0]]
+       }
+
+       lappend messages [list $line "${xfail}WARNING" [concat
"\[wW\]arning:\[^\n\]*" [lindex $args 1]] [lindex $args 2]]
+    }
+}
+
+if { [info procs saved-dg-error] == [list] } {
+    rename dg-error saved-dg-error
+
+    proc dg-error { args } {
+       upvar dg-messages messages
+
+       if { [llength $args] > 5 } {
+           error "[lindex $args 0]: too many arguments"
+           return
+       }
+
+       set xfail ""
+       if { [llength $args] >= 4 } {
+           switch [dg-process-target [lindex $args 3]] {
+               "F" { set xfail "X" }
+               "P" { set xfail "" }
+               "N" {
+                   # If we get "N", this error doesn't apply to us so ignore
it.
+                   return
+               }
+           }
+       }
+
+       if { [llength $args] >= 5 } {
+           switch [lindex $args 4] {
+               "." { set line [dg-format-linenum [lindex $args 0]] }
+               "0" { set line "" }
+               "default" { set line [dg-format-linenum [lindex $args 4]] }
+           }
+       } else {
+           set line [dg-format-linenum [lindex $args 0]]
+       }
+
+       lappend messages [list $line "${xfail}ERROR" [concat
"\[eE\]rror:\[^\n\]*" [lindex $args 1]] [lindex $args 2]]
+    }
+}
+
 set additional_prunes ""


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241


^ permalink raw reply	[flat|nested] 68+ messages in thread

* [Bug testsuite/25241] DejaGNU does not distinguish between errors and warnings
  2005-12-03 10:12 [Bug testsuite/25241] New: DejaGNU does not distinguish between errors and warnings gdr at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2007-01-30 20:36 ` manu at gcc dot gnu dot org
@ 2007-01-30 21:02 ` joseph at codesourcery dot com
  2007-01-30 21:10 ` manu at gcc dot gnu dot org
                   ` (61 subsequent siblings)
  66 siblings, 0 replies; 68+ messages in thread
From: joseph at codesourcery dot com @ 2007-01-30 21:02 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from joseph at codesourcery dot com  2007-01-30 21:01 -------
Subject: Re:  DejaGNU does not distinguish between errors
 and warnings

On Tue, 30 Jan 2007, manu at gcc dot gnu dot org wrote:

> I have the following patch. Framework tests work. However, this patch will make
> a lot of tests to fail because:
> 
> * Many tests are using the wrong dg-warning or dg-error directive.
> * Many tests add an explicit "warning:" or "error:" to workaround this bug.
> * Many tests match several warning/error messages with a single
> dg-warning/dg-error directive.
> 
> So what we want to do? Fix the testcases or do nothing?

Fix the testcases.

(a) Fix tests using the wrong one of dg-warning or dg-error, and tests 
matching multiple diagnostics with a single directive, bit by bit.  Such 
fixes should not depend on this patch.

(b) Apply this patch and remove the "warning:" and "error:" workarounds.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241


^ permalink raw reply	[flat|nested] 68+ messages in thread

* [Bug testsuite/25241] DejaGNU does not distinguish between errors and warnings
  2005-12-03 10:12 [Bug testsuite/25241] New: DejaGNU does not distinguish between errors and warnings gdr at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2007-01-30 21:02 ` joseph at codesourcery dot com
@ 2007-01-30 21:10 ` manu at gcc dot gnu dot org
  2007-01-30 22:14 ` joseph at codesourcery dot com
                   ` (60 subsequent siblings)
  66 siblings, 0 replies; 68+ messages in thread
From: manu at gcc dot gnu dot org @ 2007-01-30 21:10 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from manu at gcc dot gnu dot org  2007-01-30 21:10 -------
(In reply to comment #5)
> Subject: Re:  DejaGNU does not distinguish between errors
>  and warnings
> 
> On Tue, 30 Jan 2007, manu at gcc dot gnu dot org wrote:
> 
> > I have the following patch. Framework tests work. However, this patch will make
> > a lot of tests to fail because:
> > 
> > * Many tests are using the wrong dg-warning or dg-error directive.
> > * Many tests add an explicit "warning:" or "error:" to workaround this bug.
> > * Many tests match several warning/error messages with a single
> > dg-warning/dg-error directive.
> > 
> > So what we want to do? Fix the testcases or do nothing?
> 
> Fix the testcases.
> 
> (a) Fix tests using the wrong one of dg-warning or dg-error, and tests 
> matching multiple diagnostics with a single directive, bit by bit.  Such 
> fixes should not depend on this patch.
> 
> (b) Apply this patch and remove the "warning:" and "error:" workarounds.
> 

There are around 6914 tests failing. And I am not even sure if the above patch
is correct. Perhaps there is something wrong on it that is causing excessive
failures. :-( 


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241


^ permalink raw reply	[flat|nested] 68+ messages in thread

* [Bug testsuite/25241] DejaGNU does not distinguish between errors and warnings
  2005-12-03 10:12 [Bug testsuite/25241] New: DejaGNU does not distinguish between errors and warnings gdr at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2007-01-30 21:10 ` manu at gcc dot gnu dot org
@ 2007-01-30 22:14 ` joseph at codesourcery dot com
  2007-01-31  2:04 ` janis at gcc dot gnu dot org
                   ` (59 subsequent siblings)
  66 siblings, 0 replies; 68+ messages in thread
From: joseph at codesourcery dot com @ 2007-01-30 22:14 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from joseph at codesourcery dot com  2007-01-30 22:13 -------
Subject: Re:  DejaGNU does not distinguish between errors
 and warnings

On Tue, 30 Jan 2007, manu at gcc dot gnu dot org wrote:

> There are around 6914 tests failing. And I am not even sure if the above patch
> is correct. Perhaps there is something wrong on it that is causing excessive
> failures. :-( 

I guess some of the fixing needs automating:

If the logs have a single diagnostic for a line, and that diagnostic is an 
error but the testcase uses dg-warning on that line (or vice versa), then 
it should be possible to fix the testcase in a fairly automated way.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241


^ permalink raw reply	[flat|nested] 68+ messages in thread

* [Bug testsuite/25241] DejaGNU does not distinguish between errors and warnings
  2005-12-03 10:12 [Bug testsuite/25241] New: DejaGNU does not distinguish between errors and warnings gdr at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2007-01-30 22:14 ` joseph at codesourcery dot com
@ 2007-01-31  2:04 ` janis at gcc dot gnu dot org
  2007-01-31  2:28 ` manu at gcc dot gnu dot org
                   ` (58 subsequent siblings)
  66 siblings, 0 replies; 68+ messages in thread
From: janis at gcc dot gnu dot org @ 2007-01-31  2:04 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from janis at gcc dot gnu dot org  2007-01-31 02:03 -------
This is nice, Manuel, I hadn't considered changing the expressions as they are
added to the messages list.

Another possibility is to add two new test directives, for example
dg-gcc-warning and dg-gcc-error, and leave dg-warning and dg-error as they are.
 This has the advantage of not confusing people who are accustomed to the
existing behavior of the DejaGnu versions of these procs.  That way you could
start using the new ones immediately, and we can gradually move other tests to
use them as well.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241


^ permalink raw reply	[flat|nested] 68+ messages in thread

* [Bug testsuite/25241] DejaGNU does not distinguish between errors and warnings
  2005-12-03 10:12 [Bug testsuite/25241] New: DejaGNU does not distinguish between errors and warnings gdr at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2007-01-31  2:04 ` janis at gcc dot gnu dot org
@ 2007-01-31  2:28 ` manu at gcc dot gnu dot org
  2007-01-31  6:44 ` gdr at cs dot tamu dot edu
                   ` (57 subsequent siblings)
  66 siblings, 0 replies; 68+ messages in thread
From: manu at gcc dot gnu dot org @ 2007-01-31  2:28 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from manu at gcc dot gnu dot org  2007-01-31 02:28 -------
(In reply to comment #8)
> This is nice, Manuel, I hadn't considered changing the expressions as they are
> added to the messages list.

We already wrap dg-test (see the end of lib/gcc-dg.exp). So why not wrapping
dg-warning and dg-error? Unfortunately my approach is quite brute, it would be
better to call the original dg-warning/dg-error, catch its output and adjust it
(or replace it). This way we shouldn't need to copy the whole function.
Something similar is done for dg-test. I don't know how to do this because I
have no idea of Tcl programming. 

> Another possibility is to add two new test directives, for example
> dg-gcc-warning and dg-gcc-error, and leave dg-warning and dg-error as they are.
>  This has the advantage of not confusing people who are accustomed to the
> existing behavior of the DejaGnu versions of these procs.  That way you could
> start using the new ones immediately, and we can gradually move other tests to
> use them as well.

We could do that. Will people use them? Will they be obligatory for new
testcases? 

Anyway, I am afraid that the above patch is not correct. It produces spurious
FAILs for some testcases that are fine. I am testing a new version, let's see
how many testcases fail then.

Also, we will need a new way to handle the output of inform and other messages
that gcc produces, such as "cc1: warnings being treated as errors". (I think
that particular message is inconsistent with the rest of our diagnostics, but
that is another issue).


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241


^ permalink raw reply	[flat|nested] 68+ messages in thread

* [Bug testsuite/25241] DejaGNU does not distinguish between errors and warnings
  2005-12-03 10:12 [Bug testsuite/25241] New: DejaGNU does not distinguish between errors and warnings gdr at gcc dot gnu dot org
                   ` (8 preceding siblings ...)
  2007-01-31  2:28 ` manu at gcc dot gnu dot org
@ 2007-01-31  6:44 ` gdr at cs dot tamu dot edu
  2007-01-31 17:34 ` janis at gcc dot gnu dot org
                   ` (56 subsequent siblings)
  66 siblings, 0 replies; 68+ messages in thread
From: gdr at cs dot tamu dot edu @ 2007-01-31  6:44 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from gdr at cs dot tamu dot edu  2007-01-31 06:43 -------
Subject: Re:  DejaGNU does not distinguish between errors and warnings

"manu at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> writes:

| (In reply to comment #8)
| > This is nice, Manuel, I hadn't considered changing the expressions as they
are
| > added to the messages list.
| 
| We already wrap dg-test (see the end of lib/gcc-dg.exp). So why not wrapping
| dg-warning and dg-error? Unfortunately my approach is quite brute, it would
be
| better to call the original dg-warning/dg-error, catch its output and adjust
it
| (or replace it). This way we shouldn't need to copy the whole function.
| Something similar is done for dg-test. I don't know how to do this because I
| have no idea of Tcl programming. 

It would be nice, once this is working in GCC, to contribute this back
to upstream DejaGnu; I'm sure Rob would be delighted to have them.

[...]

| Also, we will need a new way to handle the output of inform and
| other messages that gcc produces, such as "cc1: warnings being
| treated as errors". (I think 
| that particular message is inconsistent with the rest of our diagnostics, but
| that is another issue).

inform() from GCC should always prefix with "note: ".  If that is not
the case, then we have a bug (in the diagnostic machinery).

Also.  dg-warning, dg-error, should probably augmented with
dg-note -- as notes are sometimes emitted as part of diagnostics.
We should probably have a "generic" way of adding custom dg-xxx thingy.

Last time I fiddled with DejaGnu and GCC testsuite framework was more
five years ago... 

-- Gaby


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241


^ permalink raw reply	[flat|nested] 68+ messages in thread

* [Bug testsuite/25241] DejaGNU does not distinguish between errors and warnings
  2005-12-03 10:12 [Bug testsuite/25241] New: DejaGNU does not distinguish between errors and warnings gdr at gcc dot gnu dot org
                   ` (9 preceding siblings ...)
  2007-01-31  6:44 ` gdr at cs dot tamu dot edu
@ 2007-01-31 17:34 ` janis at gcc dot gnu dot org
  2007-01-31 18:11 ` manu at gcc dot gnu dot org
                   ` (55 subsequent siblings)
  66 siblings, 0 replies; 68+ messages in thread
From: janis at gcc dot gnu dot org @ 2007-01-31 17:34 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from janis at gcc dot gnu dot org  2007-01-31 17:34 -------
The other DejaGnu procs that are wrapped in the GCC testsuite, like dg-test,
are used within the .exp files, not within tests; that's why dg-error and
dg-warning are different.  Developers are familiar with test directives but
most have probably never looked inside the .exp files.

Ben Elliston is also a DejaGnu maintainer, and we've talked about fixing things
like this in DejaGnu and moving GCC to a new version.  One problem is that it's
difficult to move GCC to newer tools; another is that in this case, the
behavior isn't compatible if we keep the same names.

Perhaps we should back up and design new test directives for diagnostics from
scratch, starting by coming up with a list of requirements for them.  That
might be easier to do on the wiki.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241


^ permalink raw reply	[flat|nested] 68+ messages in thread

* [Bug testsuite/25241] DejaGNU does not distinguish between errors and warnings
  2005-12-03 10:12 [Bug testsuite/25241] New: DejaGNU does not distinguish between errors and warnings gdr at gcc dot gnu dot org
                   ` (10 preceding siblings ...)
  2007-01-31 17:34 ` janis at gcc dot gnu dot org
@ 2007-01-31 18:11 ` manu at gcc dot gnu dot org
  2007-01-31 18:34 ` janis at gcc dot gnu dot org
                   ` (54 subsequent siblings)
  66 siblings, 0 replies; 68+ messages in thread
From: manu at gcc dot gnu dot org @ 2007-01-31 18:11 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #12 from manu at gcc dot gnu dot org  2007-01-31 18:10 -------
(In reply to comment #11)
> The other DejaGnu procs that are wrapped in the GCC testsuite, like dg-test,
> are used within the .exp files, not within tests; that's why dg-error and
> dg-warning are different.  Developers are familiar with test directives but
> most have probably never looked inside the .exp files.

I don't think that they need to, except for the people responsible for
maintaining the testsuite. I have no idea of Tcl and the behaviour of expect is
still a mistery (even with --verbose --verbose --verbose --verbose --verbose
--debug --debug --debug). I wished I'd never had to look at it.

Some people just assume a behaviour and their tests are useless against a
warning changed to an error, interactions between the messages in different
lines, duplicated messages. Other people try to workaround these issues, so
they end up making difficult to fix the problem.

The question is: do we want dg-gcc-warning dg-gcc-error obligatory from now on?
Or we prefer to fix the testcases and wrap dg-warning and dg-error? I believe
doing nothing was already discarded.

> Ben Elliston is also a DejaGnu maintainer, and we've talked about fixing things
> like this in DejaGnu and moving GCC to a new version.  One problem is that it's
> difficult to move GCC to newer tools; another is that in this case, the
> behavior isn't compatible if we keep the same names.

The behaviour is not compatible because some testcases are broken (the fewer
from what I have seen), others are using workarounds (that we could try to
workaround, for example matching "error" any number of times for dg-error), and
others are using dg-warning to match messages from the compiler that are not
warnings nor errors.

However, I don't see how we can avoid to have our own directives (either
wrapped dg-* or either custom dg-gcc-*), since the difference between them
depend on GCC, so it will make dejagnu not useful for other projects. We even
have differences within GCC: gfortran uses its own style for diagnostics, that
is why my patch has to restore the original directives for gfortran.exp!

> Perhaps we should back up and design new test directives for diagnostics from
> scratch, starting by coming up with a list of requirements for them.  That
> might be easier to do on the wiki.

I agree with this but... can't we do something meanwhile? Isn't my patch an
improvement over the current situation? I am afraid there is no much interest
in fixing this. And as time goes by, the testsuite grows fast and changing the
current situation gets more impossible. :-(

I just want to know whether keep working in the patch and fixing testcases or
just forget about it and wait for the new directives. 


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241


^ permalink raw reply	[flat|nested] 68+ messages in thread

* [Bug testsuite/25241] DejaGNU does not distinguish between errors and warnings
  2005-12-03 10:12 [Bug testsuite/25241] New: DejaGNU does not distinguish between errors and warnings gdr at gcc dot gnu dot org
                   ` (11 preceding siblings ...)
  2007-01-31 18:11 ` manu at gcc dot gnu dot org
@ 2007-01-31 18:34 ` janis at gcc dot gnu dot org
  2007-01-31 19:11 ` joseph at codesourcery dot com
                   ` (53 subsequent siblings)
  66 siblings, 0 replies; 68+ messages in thread
From: janis at gcc dot gnu dot org @ 2007-01-31 18:34 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #13 from janis at gcc dot gnu dot org  2007-01-31 18:34 -------
Manuel, I think your patch is a good idea but I'd rather have it add new
directives with different names so that developers won't be confused by having
different behavior, especially if Fortran tests need something different.  I
tried changing your patch to add dg-gcc-error and dg-gcc-warning instead of
wrapping dg-error and dg-warning and it worked, at least as a starting point.

The proposal to get additional requirements was meant to be something that
could happen quickly; I'm sure Gaby and Joseph have ideas about what they'd
like to see, and we might as well incorporate those now, or at least leave room
for extending new directives to handle more functionality.

I'd like to use new directives for new tests that need them, quickly convert
the existing tests that use ugly workarounds, and gradually move other tests. 
New tests should use the new directives, but with explicit help telling
developers how to use the new ones instead of the old ones.

Manuel, I've been busy with other things lately but please let me know what
kinds of tests are giving you problems and I'll help look into them.  Thanks
for doing this.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241


^ permalink raw reply	[flat|nested] 68+ messages in thread

* [Bug testsuite/25241] DejaGNU does not distinguish between errors and warnings
  2005-12-03 10:12 [Bug testsuite/25241] New: DejaGNU does not distinguish between errors and warnings gdr at gcc dot gnu dot org
                   ` (12 preceding siblings ...)
  2007-01-31 18:34 ` janis at gcc dot gnu dot org
@ 2007-01-31 19:11 ` joseph at codesourcery dot com
  2007-01-31 21:15 ` gdr at cs dot tamu dot edu
                   ` (52 subsequent siblings)
  66 siblings, 0 replies; 68+ messages in thread
From: joseph at codesourcery dot com @ 2007-01-31 19:11 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #14 from joseph at codesourcery dot com  2007-01-31 19:11 -------
Subject: Re:  DejaGNU does not distinguish between errors
 and warnings

On Wed, 31 Jan 2007, manu at gcc dot gnu dot org wrote:

> However, I don't see how we can avoid to have our own directives (either
> wrapped dg-* or either custom dg-gcc-*), since the difference between them
> depend on GCC, so it will make dejagnu not useful for other projects. We even
> have differences within GCC: gfortran uses its own style for diagnostics, that
> is why my patch has to restore the original directives for gfortran.exp!

The answer to that is that DejaGnu should provide hooks that testsuites 
can use to classify diagnostics.  Then GCC would provide such hooks saying 
what's a warning or error, gfortran.exp would provide different hooks, and 
without hooks from a testsuite DejaGnu could stay compatible with the old 
behavior.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241


^ permalink raw reply	[flat|nested] 68+ messages in thread

* [Bug testsuite/25241] DejaGNU does not distinguish between errors and warnings
  2005-12-03 10:12 [Bug testsuite/25241] New: DejaGNU does not distinguish between errors and warnings gdr at gcc dot gnu dot org
                   ` (13 preceding siblings ...)
  2007-01-31 19:11 ` joseph at codesourcery dot com
@ 2007-01-31 21:15 ` gdr at cs dot tamu dot edu
  2007-01-31 22:24 ` manu at gcc dot gnu dot org
                   ` (51 subsequent siblings)
  66 siblings, 0 replies; 68+ messages in thread
From: gdr at cs dot tamu dot edu @ 2007-01-31 21:15 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #15 from gdr at cs dot tamu dot edu  2007-01-31 21:15 -------
Subject: Re:  DejaGNU does not distinguish between errors and warnings

"manu at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> writes:

| (In reply to comment #11)
| > The other DejaGnu procs that are wrapped in the GCC testsuite, like
dg-test,
| > are used within the .exp files, not within tests; that's why dg-error and
| > dg-warning are different.  Developers are familiar with test directives but
| > most have probably never looked inside the .exp files.
| 
| I don't think that they need to, except for the people responsible for
| maintaining the testsuite.

GCC maintainers are /supposed/ to be familiar with the testsuite
framework, fix the testsuite and add more.  Well, that is the theory :-)

We should fix the broken testcases.

-- Gaby


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241


^ permalink raw reply	[flat|nested] 68+ messages in thread

* [Bug testsuite/25241] DejaGNU does not distinguish between errors and warnings
  2005-12-03 10:12 [Bug testsuite/25241] New: DejaGNU does not distinguish between errors and warnings gdr at gcc dot gnu dot org
                   ` (14 preceding siblings ...)
  2007-01-31 21:15 ` gdr at cs dot tamu dot edu
@ 2007-01-31 22:24 ` manu at gcc dot gnu dot org
  2007-02-02 12:17 ` manu at gcc dot gnu dot org
                   ` (50 subsequent siblings)
  66 siblings, 0 replies; 68+ messages in thread
From: manu at gcc dot gnu dot org @ 2007-01-31 22:24 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #16 from manu at gcc dot gnu dot org  2007-01-31 22:23 -------
Created an attachment (id=12991)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12991&action=view)
version 2

This is a new version of the patch. It fixes some issues with the previous one
that made correct testcases to fail (92 in total). I think "concat" was not
appropriate, perhaps it was something else...

I still have to investigate the ones that fail with this patch to check that
none of them are spurious failures caused by some other error in my patch.

Also, I removed ":" from the patterns as a workaround to be able to match "cc1:
warnings being treated as errors". Still, the message has to be modified to be 
"being treated as errors", so those testcases still fail with the current
patch.

Testsuite framework tests pass with this patch. 
Around 539 files show failing testcases because of this patch. I can provide
the full list if some is interested.

Suggestions are welcome.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241


^ permalink raw reply	[flat|nested] 68+ messages in thread

* [Bug testsuite/25241] DejaGNU does not distinguish between errors and warnings
  2005-12-03 10:12 [Bug testsuite/25241] New: DejaGNU does not distinguish between errors and warnings gdr at gcc dot gnu dot org
                   ` (15 preceding siblings ...)
  2007-01-31 22:24 ` manu at gcc dot gnu dot org
@ 2007-02-02 12:17 ` manu at gcc dot gnu dot org
  2007-02-02 13:14 ` manu at gcc dot gnu dot org
                   ` (49 subsequent siblings)
  66 siblings, 0 replies; 68+ messages in thread
From: manu at gcc dot gnu dot org @ 2007-02-02 12:17 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #17 from manu at gcc dot gnu dot org  2007-02-02 12:17 -------
(In reply to comment #16)
> Around 539 files show failing testcases because of this patch. I can provide
> the full list if some is interested.

Of those 539, around 229 files are affected by the use of workarounds
(dg-warning "warning:") and such. Those can be easily removed by some "sed"
magic. I can attach the patch to fix those in case you are interested. 


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241


^ permalink raw reply	[flat|nested] 68+ messages in thread

* [Bug testsuite/25241] DejaGNU does not distinguish between errors and warnings
  2005-12-03 10:12 [Bug testsuite/25241] New: DejaGNU does not distinguish between errors and warnings gdr at gcc dot gnu dot org
                   ` (16 preceding siblings ...)
  2007-02-02 12:17 ` manu at gcc dot gnu dot org
@ 2007-02-02 13:14 ` manu at gcc dot gnu dot org
  2007-02-03  1:29 ` janis at gcc dot gnu dot org
                   ` (48 subsequent siblings)
  66 siblings, 0 replies; 68+ messages in thread
From: manu at gcc dot gnu dot org @ 2007-02-02 13:14 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #18 from manu at gcc dot gnu dot org  2007-02-02 13:14 -------
(In reply to comment #13)
> Manuel, I think your patch is a good idea but I'd rather have it add new
> directives with different names so that developers won't be confused by having
> different behavior, especially if Fortran tests need something different.  I
> tried changing your patch to add dg-gcc-error and dg-gcc-warning instead of
> wrapping dg-error and dg-warning and it worked, at least as a starting point.

My patch only changes dg-warning and dg-error for C/ObjC/C++/ObjC++ tests.
Fortran and others keep using the old directives. But, yes, we could have
dg-gcc-error and dg-gcc-warning. In both cases, we would need to duplicate
dg-error and dg-warning. That is ugly. However, the only difference between GCC
version of dg-warning/error and the original ones is the last command (lappend
messages ...). Thus, it would be better to call the original, modify its return
value to add "warning" or "error" at the appropriate place and then return this
new value. Unfortunately, I have no idea of Tcl, so I don't know how to do
this. Any ideas?

> I'd like to use new directives for new tests that need them, quickly convert
> the existing tests that use ugly workarounds, and gradually move other tests. 

The problem is that I am not 100% sure that the new directives are perfect.
This last version looks better but I would like to know why each failing test
is failing to spot potential problems. Once this is done, I can submit the
patch using dg-gcc-warning and dg-gcc-error. Is that OK? Should my patch modify
the framework or add new tests for dg-gcc-(warning|error)-(P|F) ? 

Tests using workarounds can be easily fixed. I have already a patch to do this.
Should my patch move them also to use dg-gcc-* ? Otherwise, we remove the
workaround thus allowing the test to regress without notice.

> New tests should use the new directives, but with explicit help telling
> developers how to use the new ones instead of the old ones.

Well, how to use them is easy. dg-gcc-warning matches a "warning: ..." message
while dg-gcc-error matches a "error: ..." message. Their behaviour when
matching multiple lines is a bit difficult to predict. But that is not a
problem because that is an issue with DejaGNU currently, since it tries to
match multiple lines by default. (This cannot be solved by modifying/wrapping
dg-* directives). For example, this directive:

/* { dg-gcc-error "undeclared|for each function" } */

matches any of:

pr8927-1.c:9: error: 'bar' undeclared (first use in this function)
pr8927-1.c:9: error: (Each undeclared identifier is reported only once
pr8927-1.c:9: error: for each function it appears in.)

pr8927-1.c:9: error: 'bar' undeclared (first use in this function)
pr8927-1.c:9: error: (Each undeclared identifier is reported only once
pr8927-1.c:9: note: for each function it appears in.)


but it won't match:

pr8927-1.c:9: error: 'bar' undeclared (first use in this function)
pr8927-1.c:9: note: (Each undeclared identifier is reported only once
pr8927-1.c:9: error: for each function it appears in.)

pr8927-1.c:9: error: 'bar' undeclared (first use in this function)
pr8927-1.c:9: note: (Each undeclared identifier is reported only once
pr8927-1.c:9: note: for each function it appears in.)

pr8927-1.c:9: error: 'bar' undeclared (first use in this function)
pr8927-1.c:9: error: (Each identifier is reported only once
pr8927-1.c:9: note: for each function it appears in.)


Maybe it will be interesting to ask now in gcc@gcc.gnu.org what people think of
the new directives.

> Manuel, I've been busy with other things lately but please let me know what
> kinds of tests are giving you problems and I'll help look into them.  Thanks
> for doing this.

The kind of tests that are giving me problems right now are those where a
dg-warning is used to match something that is not a warning such as "cc1: ..."
or "note: ..." or just a message such as "instantiated here". What are we going
to do with those tests? A new directive dg-gcc-msg that matches anything in one
line?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241


^ permalink raw reply	[flat|nested] 68+ messages in thread

* [Bug testsuite/25241] DejaGNU does not distinguish between errors and warnings
  2005-12-03 10:12 [Bug testsuite/25241] New: DejaGNU does not distinguish between errors and warnings gdr at gcc dot gnu dot org
                   ` (17 preceding siblings ...)
  2007-02-02 13:14 ` manu at gcc dot gnu dot org
@ 2007-02-03  1:29 ` janis at gcc dot gnu dot org
  2007-02-03 22:58 ` janis at gcc dot gnu dot org
                   ` (47 subsequent siblings)
  66 siblings, 0 replies; 68+ messages in thread
From: janis at gcc dot gnu dot org @ 2007-02-03  1:29 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #19 from janis at gcc dot gnu dot org  2007-02-03 01:28 -------
Manuel, I'm very intestested in investigating your changes but have not yet had
a block of time in which to do that.  I'll try to review them in the next
couple of days.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241


^ permalink raw reply	[flat|nested] 68+ messages in thread

* [Bug testsuite/25241] DejaGNU does not distinguish between errors and warnings
  2005-12-03 10:12 [Bug testsuite/25241] New: DejaGNU does not distinguish between errors and warnings gdr at gcc dot gnu dot org
                   ` (18 preceding siblings ...)
  2007-02-03  1:29 ` janis at gcc dot gnu dot org
@ 2007-02-03 22:58 ` janis at gcc dot gnu dot org
  2007-02-28  0:31 ` manu at gcc dot gnu dot org
                   ` (46 subsequent siblings)
  66 siblings, 0 replies; 68+ messages in thread
From: janis at gcc dot gnu dot org @ 2007-02-03 22:58 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #20 from janis at gcc dot gnu dot org  2007-02-03 22:58 -------
Created an attachment (id=13003)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13003&action=view)
preliminary patch

Manuel, I like your idea of letting the DejaGnu procs do most of the work and
then modifying the regular expressions they've added to dg-messages, so I got
sidetracked playing around with that; see the attached patch.  It prepends
warning/error prefixes defined for each language (which I've only defined for C
and Fortran so far), and adds a generic dg-message for messages that don't use
a common prefix.  For some reason my setup for running individual tests is
failing for tests with more than one message per line so I haven't yet tested
dg-message.

I now think that it's OK to wrap dg-error and dg-warning to modify dg-messages
and keep using those names in the GCC tests.  We should have fixes to all tests
before adding the changes to mainline.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241


^ permalink raw reply	[flat|nested] 68+ messages in thread

* [Bug testsuite/25241] DejaGNU does not distinguish between errors and warnings
  2005-12-03 10:12 [Bug testsuite/25241] New: DejaGNU does not distinguish between errors and warnings gdr at gcc dot gnu dot org
                   ` (19 preceding siblings ...)
  2007-02-03 22:58 ` janis at gcc dot gnu dot org
@ 2007-02-28  0:31 ` manu at gcc dot gnu dot org
  2007-02-28  9:57 ` manu at gcc dot gnu dot org
                   ` (45 subsequent siblings)
  66 siblings, 0 replies; 68+ messages in thread
From: manu at gcc dot gnu dot org @ 2007-02-28  0:31 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #21 from manu at gcc dot gnu dot org  2007-02-28 00:31 -------
(In reply to comment #20)
> Created an attachment (id=13003)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13003&action=view) [edit]
> preliminary patch
> 

This patch only works for fortran and C front-ends. ObjC and C++ need to have
their respective objc.exp and g++.exp patched. I would prefer to have a global
setting that is overridden by fortran and whoever else needs a special
treatment.

Also, the regexp produced by this patch looks like "warning:[^\n]* $expmsg". I
think that 'concat' introduces the spurious space character. Thus,

-    set expmsg [concat "$msgprefix\[^\n]*" $expmsg]
+    set expmsg "$msgprefix\[^\n]*$expmsg"

(This is mostly a note to myself.)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241


^ permalink raw reply	[flat|nested] 68+ messages in thread

* [Bug testsuite/25241] DejaGNU does not distinguish between errors and warnings
  2005-12-03 10:12 [Bug testsuite/25241] New: DejaGNU does not distinguish between errors and warnings gdr at gcc dot gnu dot org
                   ` (20 preceding siblings ...)
  2007-02-28  0:31 ` manu at gcc dot gnu dot org
@ 2007-02-28  9:57 ` manu at gcc dot gnu dot org
  2007-03-01 21:36 ` manu at gcc dot gnu dot org
                   ` (44 subsequent siblings)
  66 siblings, 0 replies; 68+ messages in thread
From: manu at gcc dot gnu dot org @ 2007-02-28  9:57 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #22 from manu at gcc dot gnu dot org  2007-02-28 09:56 -------
(In reply to comment #20)
> Created an attachment (id=13003)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13003&action=view) [edit]
> preliminary patch
> 

For fortran, the resulting regexp is like:

{:2: WARNING {Warning:[^
]*left but not entered} {}}

However, output is:
output is:
Warning: /home/manuel/src/trunk/gcc/testsuite/gfortran.dg/badline.f:2: file
src/badline.F left but not entered

Not sure how to fix this.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241


^ permalink raw reply	[flat|nested] 68+ messages in thread

* [Bug testsuite/25241] DejaGNU does not distinguish between errors and warnings
  2005-12-03 10:12 [Bug testsuite/25241] New: DejaGNU does not distinguish between errors and warnings gdr at gcc dot gnu dot org
                   ` (21 preceding siblings ...)
  2007-02-28  9:57 ` manu at gcc dot gnu dot org
@ 2007-03-01 21:36 ` manu at gcc dot gnu dot org
  2007-03-01 22:54 ` janis at gcc dot gnu dot org
                   ` (43 subsequent siblings)
  66 siblings, 0 replies; 68+ messages in thread
From: manu at gcc dot gnu dot org @ 2007-03-01 21:36 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #23 from manu at gcc dot gnu dot org  2007-03-01 21:36 -------
Another issue that I am not sure how to fix.
Janis, could you take a look at this? 

Testcase gcc/testsuite/gcc.dg/20041213-1.c is like:

/* { dg-do compile } */
/* test redeclarations with void and implicit int */
extern foo1(); /* { dg-error "previous declaration" } */
extern void foo1(); /* { dg-error "conflicting types" } */

and it generates output as:

/home/manuel/src/trunk/gcc/testsuite/gcc.dg/20041213-1.c:4: error: conflicting
types for 'foo1'
/home/manuel/src/trunk/gcc/testsuite/gcc.dg/20041213-1.c:3: error: previous
declaration of 'foo1' was here


However, the patch above fails at that test. The verbose output of running the
test prints:

Testing gcc.dg/20041213-1.c
process-message:
{:3: ERROR {error:[^
]*previous declaration} {}}
process-message:
{:3: ERROR {error:[^
]*previous declaration} {}} {:4: ERROR {error:[^
]*conflicting types} {}}


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241


^ permalink raw reply	[flat|nested] 68+ messages in thread

* [Bug testsuite/25241] DejaGNU does not distinguish between errors and warnings
  2005-12-03 10:12 [Bug testsuite/25241] New: DejaGNU does not distinguish between errors and warnings gdr at gcc dot gnu dot org
                   ` (22 preceding siblings ...)
  2007-03-01 21:36 ` manu at gcc dot gnu dot org
@ 2007-03-01 22:54 ` janis at gcc dot gnu dot org
  2007-03-01 23:25 ` manu at gcc dot gnu dot org
                   ` (42 subsequent siblings)
  66 siblings, 0 replies; 68+ messages in thread
From: janis at gcc dot gnu dot org @ 2007-03-01 22:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #24 from janis at gcc dot gnu dot org  2007-03-01 22:53 -------
Manuel, I'm at a conference and then travelling without regular access to test
machines, but I hope to get to this early next week.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241


^ permalink raw reply	[flat|nested] 68+ messages in thread

* [Bug testsuite/25241] DejaGNU does not distinguish between errors and warnings
  2005-12-03 10:12 [Bug testsuite/25241] New: DejaGNU does not distinguish between errors and warnings gdr at gcc dot gnu dot org
                   ` (23 preceding siblings ...)
  2007-03-01 22:54 ` janis at gcc dot gnu dot org
@ 2007-03-01 23:25 ` manu at gcc dot gnu dot org
  2007-03-13  0:29 ` manu at gcc dot gnu dot org
                   ` (41 subsequent siblings)
  66 siblings, 0 replies; 68+ messages in thread
From: manu at gcc dot gnu dot org @ 2007-03-01 23:25 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #25 from manu at gcc dot gnu dot org  2007-03-01 23:24 -------
(In reply to comment #24)
> Manuel, I'm at a conference and then travelling without regular access to test
> machines, but I hope to get to this early next week.
> 

Thanks. No hurry, just to let you know. I will keep analysing the failing
testcases (326 excluding gfortran testcases) to see if there are other
different issues.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241


^ permalink raw reply	[flat|nested] 68+ messages in thread

* [Bug testsuite/25241] DejaGNU does not distinguish between errors and warnings
  2005-12-03 10:12 [Bug testsuite/25241] New: DejaGNU does not distinguish between errors and warnings gdr at gcc dot gnu dot org
                   ` (24 preceding siblings ...)
  2007-03-01 23:25 ` manu at gcc dot gnu dot org
@ 2007-03-13  0:29 ` manu at gcc dot gnu dot org
  2007-03-13  0:34 ` janis at gcc dot gnu dot org
                   ` (40 subsequent siblings)
  66 siblings, 0 replies; 68+ messages in thread
From: manu at gcc dot gnu dot org @ 2007-03-13  0:29 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #26 from manu at gcc dot gnu dot org  2007-03-13 00:29 -------
There are some tests that are using the wrong directive (or the test is
silently failing). Should I submit these as patches to gcc-patches?

Index: gcc/testsuite/gcc.dg/20050121-1.c
===================================================================
--- gcc/testsuite/gcc.dg/20050121-1.c   (revision 122287)
+++ gcc/testsuite/gcc.dg/20050121-1.c   (working copy)
@@ -3,7 +3,7 @@
 /* { dg-do-compile } */

 void foo()
 {
   return;
-  break;       /* { dg-warning "break statement not within" } */
+  break;       /* { dg-error "break statement not within" } */
 }

Index: gcc/testsuite/gcc.dg/940510-1.c
===================================================================
--- gcc/testsuite/gcc.dg/940510-1.c     (revision 122287)
+++ gcc/testsuite/gcc.dg/940510-1.c     (working copy)
@@ -1,3 +1,5 @@
 /* { dg-do compile } */
 /* { dg-options "-std=c89 -pedantic" } */
-struct { int a[]; } x = { 0 }; /* { dg-error "(flexible array member)|(near
initialization)" } */
+struct { int a[]; } x = { 0 }; /* { dg-warning "ISO C90 does not support
flexible array members" } */
+/* { dg-error "flexible array member in otherwise empty struct"  "" { target
*-*-* }  3 } */
+

Index: gcc/testsuite/gcc.dg/charset/attribute2.c
===================================================================
--- gcc/testsuite/gcc.dg/charset/attribute2.c   (revision 122287)
+++ gcc/testsuite/gcc.dg/charset/attribute2.c   (working copy)
@@ -2,7 +2,7 @@
    If error recovery is ever testable then "foobar" should be
    translated.  */
 /* { dg-do compile }
    { dg-require-iconv "IBM1047" }
  */
-int foo __attribute__ ((walrus)); /* { dg-error "walrus" "ignored" } */
+int foo __attribute__ ((walrus)); /* { dg-warning "walrus" "ignored" } */
 char x[] = "foobar";

Index: gcc/testsuite/gcc.dg/bitfld-1.c
===================================================================
--- gcc/testsuite/gcc.dg/bitfld-1.c     (revision 122287)
+++ gcc/testsuite/gcc.dg/bitfld-1.c     (working copy)
@@ -22,10 +22,10 @@ struct bf1
   unsigned int : 5;
   double e: 1;                 /* { dg-error "invalid type" } */
   float f: 1;                  /* { dg-error "invalid type" } */
   unsigned long g: 5;          /* { dg-warning "GCC extension|ISO C" } */
   ui h: 5;
-  enum foo i: 2;               /* { dg-error "narrower" } */
+  enum foo i: 2;               /* { dg-warning "narrower" } */
     /* { dg-warning "GCC extension|ISO C" "extension" { target *-*-* } 27 } */
   enum foo j: 3;               /* { dg-warning "GCC extension|ISO C" } */
   unsigned int k: 256;         /* { dg-error "exceeds its type" } */
 };


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241


^ permalink raw reply	[flat|nested] 68+ messages in thread

* [Bug testsuite/25241] DejaGNU does not distinguish between errors and warnings
  2005-12-03 10:12 [Bug testsuite/25241] New: DejaGNU does not distinguish between errors and warnings gdr at gcc dot gnu dot org
                   ` (25 preceding siblings ...)
  2007-03-13  0:29 ` manu at gcc dot gnu dot org
@ 2007-03-13  0:34 ` janis at gcc dot gnu dot org
  2007-03-13  0:44 ` manu at gcc dot gnu dot org
                   ` (39 subsequent siblings)
  66 siblings, 0 replies; 68+ messages in thread
From: janis at gcc dot gnu dot org @ 2007-03-13  0:34 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #27 from janis at gcc dot gnu dot org  2007-03-13 00:34 -------
Manuel, please submit a patch to fix those tests.  If they are using the
correct directives then perhaps someone will notice.

I still plan to find some time to dive into this issue, sorry it's taken so
long.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241


^ permalink raw reply	[flat|nested] 68+ messages in thread

* [Bug testsuite/25241] DejaGNU does not distinguish between errors and warnings
  2005-12-03 10:12 [Bug testsuite/25241] New: DejaGNU does not distinguish between errors and warnings gdr at gcc dot gnu dot org
                   ` (26 preceding siblings ...)
  2007-03-13  0:34 ` janis at gcc dot gnu dot org
@ 2007-03-13  0:44 ` manu at gcc dot gnu dot org
  2007-03-13  0:49 ` manu at gcc dot gnu dot org
                   ` (38 subsequent siblings)
  66 siblings, 0 replies; 68+ messages in thread
From: manu at gcc dot gnu dot org @ 2007-03-13  0:44 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #28 from manu at gcc dot gnu dot org  2007-03-13 00:44 -------
(In reply to comment #27)
> I still plan to find some time to dive into this issue, sorry it's taken so
> long.
> 

My current show-stopper is the one described in comment #23. I think we should
be able to match that output without tweaking the testcases (what would be a
PITA in case that there are more than a few). 


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241


^ permalink raw reply	[flat|nested] 68+ messages in thread

* [Bug testsuite/25241] DejaGNU does not distinguish between errors and warnings
  2005-12-03 10:12 [Bug testsuite/25241] New: DejaGNU does not distinguish between errors and warnings gdr at gcc dot gnu dot org
                   ` (27 preceding siblings ...)
  2007-03-13  0:44 ` manu at gcc dot gnu dot org
@ 2007-03-13  0:49 ` manu at gcc dot gnu dot org
  2007-03-22 22:37 ` manu at gcc dot gnu dot org
                   ` (37 subsequent siblings)
  66 siblings, 0 replies; 68+ messages in thread
From: manu at gcc dot gnu dot org @ 2007-03-13  0:49 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #29 from manu at gcc dot gnu dot org  2007-03-13 00:49 -------
Created an attachment (id=13198)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13198&action=view)
janis patch (try 2)

This is an updated version of Janis patch that fixes the issues described in
comment #21.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241


^ permalink raw reply	[flat|nested] 68+ messages in thread

* [Bug testsuite/25241] DejaGNU does not distinguish between errors and warnings
  2005-12-03 10:12 [Bug testsuite/25241] New: DejaGNU does not distinguish between errors and warnings gdr at gcc dot gnu dot org
                   ` (28 preceding siblings ...)
  2007-03-13  0:49 ` manu at gcc dot gnu dot org
@ 2007-03-22 22:37 ` manu at gcc dot gnu dot org
  2007-03-23 20:51 ` janis at gcc dot gnu dot org
                   ` (36 subsequent siblings)
  66 siblings, 0 replies; 68+ messages in thread
From: manu at gcc dot gnu dot org @ 2007-03-22 22:37 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #30 from manu at gcc dot gnu dot org  2007-03-22 22:36 -------
There is yet another strange behaviour of the current patch. For the testcase
in gcc.dg/array-2.c:

struct g g1 = { { 0, { } } };
struct g g2 = { { 0, { 1 } } }; /* { dg-error "(nested context)|(near
initialization)" "nested" } */

struct h { int x[0]; int y; };
struct h h1 = { { 0 }, 1 }; /* { dg-error "(excess elements)|(near
initialization)" "before end" } */

The output is:
gcc.dg/array-2.c:10: error: initialization of flexible array member in a nested
context
gcc.dg/array-2.c:10: error: (near initialization for 'g2.f.x')
gcc.dg/array-2.c:13: warning: excess elements in array initializer
gcc.dg/array-2.c:13: warning: (near initialization for 'h1.x')

And the test fails as follows:

PASS: gcc.dg/array-2.c nested (test for errors, line 10)
PASS: gcc.dg/array-2.c before end (test for errors, line 13)
FAIL: gcc.dg/array-2.c (test for excess errors)
Excess errors:
/home/manuel/src/trunk/gcc/testsuite/gcc.dg/array-2.c:13: warning: excess
elements in array initializer

It seems that the second dg-error matched the wrong line. Perhaps it is getting
confused by the alternatives. No idea.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241


^ permalink raw reply	[flat|nested] 68+ messages in thread

* [Bug testsuite/25241] DejaGNU does not distinguish between errors and warnings
  2005-12-03 10:12 [Bug testsuite/25241] New: DejaGNU does not distinguish between errors and warnings gdr at gcc dot gnu dot org
                   ` (29 preceding siblings ...)
  2007-03-22 22:37 ` manu at gcc dot gnu dot org
@ 2007-03-23 20:51 ` janis at gcc dot gnu dot org
  2007-03-23 21:15 ` janis at gcc dot gnu dot org
                   ` (35 subsequent siblings)
  66 siblings, 0 replies; 68+ messages in thread
From: janis at gcc dot gnu dot org @ 2007-03-23 20:51 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #31 from janis at gcc dot gnu dot org  2007-03-23 20:51 -------
As for the puzzle in comment #30, I don't understand it either, but didn't try
very hard.  This works for the current testsuite and the patch:

struct g g2 = { { 0, { 1 } } }; /* { dg-error "nested context.*g2.f.x" "nested"
} */

struct h { int x[0]; int y; };
struct h h1 = { { 0 }, 1 }; /* { dg-warning "excess elements.*h1.x" "before
end" } */

If you think it's important, Manuel, I'll try to figure out what was happening.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241


^ permalink raw reply	[flat|nested] 68+ messages in thread

* [Bug testsuite/25241] DejaGNU does not distinguish between errors and warnings
  2005-12-03 10:12 [Bug testsuite/25241] New: DejaGNU does not distinguish between errors and warnings gdr at gcc dot gnu dot org
                   ` (30 preceding siblings ...)
  2007-03-23 20:51 ` janis at gcc dot gnu dot org
@ 2007-03-23 21:15 ` janis at gcc dot gnu dot org
  2007-03-23 21:52 ` manu at gcc dot gnu dot org
                   ` (34 subsequent siblings)
  66 siblings, 0 replies; 68+ messages in thread
From: janis at gcc dot gnu dot org @ 2007-03-23 21:15 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #32 from janis at gcc dot gnu dot org  2007-03-23 21:15 -------
Manuel, I'm starting to clean up tests so they can be used with or without the
patch, like the fixes you've been posting.  First I'm doing tests in
gcc.dg/dfp.  Let me know if there's an area you're not already looking at that
I can do next.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241


^ permalink raw reply	[flat|nested] 68+ messages in thread

* [Bug testsuite/25241] DejaGNU does not distinguish between errors and warnings
  2005-12-03 10:12 [Bug testsuite/25241] New: DejaGNU does not distinguish between errors and warnings gdr at gcc dot gnu dot org
                   ` (31 preceding siblings ...)
  2007-03-23 21:15 ` janis at gcc dot gnu dot org
@ 2007-03-23 21:52 ` manu at gcc dot gnu dot org
  2007-03-23 22:00 ` manu at gcc dot gnu dot org
                   ` (33 subsequent siblings)
  66 siblings, 0 replies; 68+ messages in thread
From: manu at gcc dot gnu dot org @ 2007-03-23 21:52 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #33 from manu at gcc dot gnu dot org  2007-03-23 21:52 -------
(In reply to comment #32)
> Manuel, I'm starting to clean up tests so they can be used with or without the
> patch, like the fixes you've been posting.  First I'm doing tests in
> gcc.dg/dfp.  Let me know if there's an area you're not already looking at that
> I can do next.
> 

I can give you the list of tests that still fail with the most recent patch +
fixes + sed-magic. Those are the tricky ones because they need to be checked
one by one.

However, I think it is more urgent to fix the issues described in comment #22,
(that is, the regexp does not match the output of fortran) and in comment #23,
(that is out-of-order diagnostics are not handled correctly). Those are
show-stoppers from my point of view. As you said, the issue in comment #30 can
be worked around.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241


^ permalink raw reply	[flat|nested] 68+ messages in thread

* [Bug testsuite/25241] DejaGNU does not distinguish between errors and warnings
  2005-12-03 10:12 [Bug testsuite/25241] New: DejaGNU does not distinguish between errors and warnings gdr at gcc dot gnu dot org
                   ` (32 preceding siblings ...)
  2007-03-23 21:52 ` manu at gcc dot gnu dot org
@ 2007-03-23 22:00 ` manu at gcc dot gnu dot org
  2007-03-23 22:06 ` manu at gcc dot gnu dot org
                   ` (32 subsequent siblings)
  66 siblings, 0 replies; 68+ messages in thread
From: manu at gcc dot gnu dot org @ 2007-03-23 22:00 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #34 from manu at gcc dot gnu dot org  2007-03-23 21:59 -------
Created an attachment (id=13271)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13271&action=view)
Script to make automatic fixes to the testsuite

This script fixes the work-arounds used in the testsuite with some sed magic. 

It also applies the custom fixes for broken testcases that I am collecting. I
am keeping those in files named as fix-X.diff where X is the basename of the
testcase. I have around 15 of those. (I can attach them, send them to
gcc-patches or commit them as obvious, since it seems nobody can or want to
review them...).

fix-19940712-1.diff
fix-20000625-1.diff
fix-20050121-1.diff
fix-940510-1.diff
fix-arith-3.diff
fix-attribute2.diff
fix-bitfld-1.diff
fix-charconst.diff
fix-direct2.diff
fix-empty2.diff
fix-endif-pedantic2.diff
fix-escape-1.diff
fix-extratokens.diff
fix-glibc-uclibc.diff
fix-pack-test-2.diff


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241


^ permalink raw reply	[flat|nested] 68+ messages in thread

* [Bug testsuite/25241] DejaGNU does not distinguish between errors and warnings
  2005-12-03 10:12 [Bug testsuite/25241] New: DejaGNU does not distinguish between errors and warnings gdr at gcc dot gnu dot org
                   ` (33 preceding siblings ...)
  2007-03-23 22:00 ` manu at gcc dot gnu dot org
@ 2007-03-23 22:06 ` manu at gcc dot gnu dot org
  2007-03-23 22:13 ` manu at gcc dot gnu dot org
                   ` (31 subsequent siblings)
  66 siblings, 0 replies; 68+ messages in thread
From: manu at gcc dot gnu dot org @ 2007-03-23 22:06 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #35 from manu at gcc dot gnu dot org  2007-03-23 22:06 -------
(In reply to comment #32)
> Manuel, I'm starting to clean up tests so they can be used with or without the
> patch, like the fixes you've been posting.  First I'm doing tests in
> gcc.dg/dfp.  

I don't see any failures in gcc.dg/dfp. Janis, what do you mean by cleaning?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241


^ permalink raw reply	[flat|nested] 68+ messages in thread

* [Bug testsuite/25241] DejaGNU does not distinguish between errors and warnings
  2005-12-03 10:12 [Bug testsuite/25241] New: DejaGNU does not distinguish between errors and warnings gdr at gcc dot gnu dot org
                   ` (34 preceding siblings ...)
  2007-03-23 22:06 ` manu at gcc dot gnu dot org
@ 2007-03-23 22:13 ` manu at gcc dot gnu dot org
  2007-03-23 22:49 ` janis at gcc dot gnu dot org
                   ` (30 subsequent siblings)
  66 siblings, 0 replies; 68+ messages in thread
From: manu at gcc dot gnu dot org @ 2007-03-23 22:13 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #36 from manu at gcc dot gnu dot org  2007-03-23 22:13 -------
Created an attachment (id=13272)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13272&action=view)
List of broken testcases at revision 123028

Janis, this is the list of testcases broken by the last version of the patch
(after running fixtestsuite.sh). Notice that the list is one iteration old,
that is, some failures have fixes already (in the list of fix-*.diff files I
gave before).


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241


^ permalink raw reply	[flat|nested] 68+ messages in thread

* [Bug testsuite/25241] DejaGNU does not distinguish between errors and warnings
  2005-12-03 10:12 [Bug testsuite/25241] New: DejaGNU does not distinguish between errors and warnings gdr at gcc dot gnu dot org
                   ` (35 preceding siblings ...)
  2007-03-23 22:13 ` manu at gcc dot gnu dot org
@ 2007-03-23 22:49 ` janis at gcc dot gnu dot org
  2007-03-23 23:52 ` janis at gcc dot gnu dot org
                   ` (29 subsequent siblings)
  66 siblings, 0 replies; 68+ messages in thread
From: janis at gcc dot gnu dot org @ 2007-03-23 22:49 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #37 from janis at gcc dot gnu dot org  2007-03-23 22:48 -------
The tests in gcc.dg/dfp are only run for a compiler configured with
--enable-decimal-float; the diagnostics tests there often just have "error" or
"warning" as the expression to match.  I have patches for those and for most of
the tests in gcc.dg/cpp.  I'm planning to submit patches with batches of fixes,
ask for comments, and then just check them in.  The results are no different
and they can be changed back later.  I recommend that you do the same, Manuel,
and copy me so I can approve them, since I've been behind in keeping up with
gcc-patches recently.

I'll take a closer look at comments #22 and #23.

If you show up on irc we can chat about this.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241


^ permalink raw reply	[flat|nested] 68+ messages in thread

* [Bug testsuite/25241] DejaGNU does not distinguish between errors and warnings
  2005-12-03 10:12 [Bug testsuite/25241] New: DejaGNU does not distinguish between errors and warnings gdr at gcc dot gnu dot org
                   ` (36 preceding siblings ...)
  2007-03-23 22:49 ` janis at gcc dot gnu dot org
@ 2007-03-23 23:52 ` janis at gcc dot gnu dot org
  2007-03-24  0:28 ` manu at gcc dot gnu dot org
                   ` (28 subsequent siblings)
  66 siblings, 0 replies; 68+ messages in thread
From: janis at gcc dot gnu dot org @ 2007-03-23 23:52 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #38 from janis at gcc dot gnu dot org  2007-03-23 23:52 -------
For comment #32 I get the failure but don't understand the problem; the regexp
matches the message, doesn't it?  This doesn't seem any different from other
Fortran tests but it's the only one that fails; perhaps there's something
special about specifying the line number in the test directive, or that the
message comes from a file with a different name.  I'll stare at it again later.

For comment #33, is this still an issue with janis-try-2.diff?  I changed the
test to remove "error:" from regular expressions and to fix a few dg-warnings
that should have been dg-error and the test passes for me.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241


^ permalink raw reply	[flat|nested] 68+ messages in thread

* [Bug testsuite/25241] DejaGNU does not distinguish between errors and warnings
  2005-12-03 10:12 [Bug testsuite/25241] New: DejaGNU does not distinguish between errors and warnings gdr at gcc dot gnu dot org
                   ` (37 preceding siblings ...)
  2007-03-23 23:52 ` janis at gcc dot gnu dot org
@ 2007-03-24  0:28 ` manu at gcc dot gnu dot org
  2007-03-24 11:10 ` manu at gcc dot gnu dot org
                   ` (27 subsequent siblings)
  66 siblings, 0 replies; 68+ messages in thread
From: manu at gcc dot gnu dot org @ 2007-03-24  0:28 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #39 from manu at gcc dot gnu dot org  2007-03-24 00:28 -------
(In reply to comment #37)
> The tests in gcc.dg/dfp are only run for a compiler configured with
> --enable-decimal-float; the diagnostics tests there often just have "error" or
> "warning" as the expression to match.  I have patches for those and for most of
> the tests in gcc.dg/cpp.  I'm planning to submit patches with batches of fixes,
> ask for comments, and then just check them in.  The results are no different
> and they can be changed back later.  I recommend that you do the same, Manuel,
> and copy me so I can approve them, since I've been behind in keeping up with
> gcc-patches recently.

I built always with --enable-decimal-float. We are duplicating work :(

First, you don't need to fix those testcases that use "warning" or "error" as
the expression to match, since those can be fixed automatically by the script
that I have attached and are guaranteed to work. Moreover, until the final
patch is in, those are guaranteed to keep working, so they should be the last
ones to be committed. (But it is good to fix them in your working copy using my
script so they don't distract you from the real failures).

The testcases that we should really fix (see the list that I have attached)
are:

1) Those where the wrong directive is used.
2) Those that use a dg-warning or dg-error to match something that is neither a
warning nor an error.
3) Those that fail for some other reason.

And (3) are the most important because they typically mean that we need to
tweak something in the current patch.

Two failures of type (3) are gcc/testsuite/gcc.dg/20041213-1.c and
gcc/testsuite/gfortran.dg/badline.f 

Could you look why those two fail? I am sure that if we fix the patch to match
correctly those testcases, then a bunch of other failures will go away as well.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241


^ permalink raw reply	[flat|nested] 68+ messages in thread

* [Bug testsuite/25241] DejaGNU does not distinguish between errors and warnings
  2005-12-03 10:12 [Bug testsuite/25241] New: DejaGNU does not distinguish between errors and warnings gdr at gcc dot gnu dot org
                   ` (38 preceding siblings ...)
  2007-03-24  0:28 ` manu at gcc dot gnu dot org
@ 2007-03-24 11:10 ` manu at gcc dot gnu dot org
  2007-03-24 17:55 ` manu at gcc dot gnu dot org
                   ` (26 subsequent siblings)
  66 siblings, 0 replies; 68+ messages in thread
From: manu at gcc dot gnu dot org @ 2007-03-24 11:10 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #40 from manu at gcc dot gnu dot org  2007-03-24 11:10 -------
In the current version of the patch janis-try2, this is more correct

-    set expmsg "$msgprefix\[^\n]*$expmsg"
+    set expmsg "$msgprefix\[^\n\]*$expmsg"

But it doesn't make any real difference (or so it seems).


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241


^ permalink raw reply	[flat|nested] 68+ messages in thread

* [Bug testsuite/25241] DejaGNU does not distinguish between errors and warnings
  2005-12-03 10:12 [Bug testsuite/25241] New: DejaGNU does not distinguish between errors and warnings gdr at gcc dot gnu dot org
                   ` (39 preceding siblings ...)
  2007-03-24 11:10 ` manu at gcc dot gnu dot org
@ 2007-03-24 17:55 ` manu at gcc dot gnu dot org
  2007-03-26 19:49 ` manu at gcc dot gnu dot org
                   ` (25 subsequent siblings)
  66 siblings, 0 replies; 68+ messages in thread
From: manu at gcc dot gnu dot org @ 2007-03-24 17:55 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #41 from manu at gcc dot gnu dot org  2007-03-24 17:55 -------
(In reply to comment #38)
> For comment #32 I get the failure but don't understand the problem; the regexp
> matches the message, doesn't it?  This doesn't seem any different from other
> Fortran tests but it's the only one that fails; perhaps there's something
> special about specifying the line number in the test directive, or that the
> message comes from a file with a different name.  I'll stare at it again later.

No, it doesn't match. If you look closely to this message compared to other
fortran messages:

* Broken match:

Warning: /home/manuel/src/trunk/gcc/testsuite/gfortran.dg/badline.f:2: file
src/badline.F left but not entered

* Correct match:

/home/manuel/src/trunk/gcc/testsuite/gfortran.dg/blockdata_1.f90:17.7:

 common j ! { dg-warning "cannot contain blank COMMON" }
      1
Warning: BLOCK DATA unit cannot contain blank COMMON at (1)


The difference is that in the first case the filename plus position is between
the "Warning:" and the message to match. Actually I think the deja-gnu or some
*.exp file does some preprocessing of the output. For example, if you look at
the output of gcc/testsuite/gfortran.dg/continuation_1.f90

/home/manuel/src/trunk/gcc/testsuite/gfortran.dg/continuation_1.f90:11.10:

         world!" ! { dg-warning "Warning: Missing '&' in continued character co
         1
Warning: Missing '&' in continued character constant at (1)

FAIL: gfortran.dg/continuation_1.f90  -O0   (test for warnings, line 11)
FAIL: gfortran.dg/continuation_1.f90  -O0  (test for excess errors)
Excess errors:
/home/manuel/src/trunk/gcc/testsuite/gfortran.dg/continuation_1.f90:11:
Warning: Missing '&' in continued character constant at (1)

The message shown after "Excess errors" is slightly different than the
original. 

I don't think that we should handle this corner case in our patch: either it is
handled by whatever function preprocesses fortran output or the output itself
is changed by the fortran front-end. We could as well use the original
dg-warning / dg-error directives for fortran.

So, gcc/testsuite/gcc.dg/20041213-1.c is the issue number 1 now. I think it
should match without modifying the testcase.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241


^ permalink raw reply	[flat|nested] 68+ messages in thread

* [Bug testsuite/25241] DejaGNU does not distinguish between errors and warnings
  2005-12-03 10:12 [Bug testsuite/25241] New: DejaGNU does not distinguish between errors and warnings gdr at gcc dot gnu dot org
                   ` (40 preceding siblings ...)
  2007-03-24 17:55 ` manu at gcc dot gnu dot org
@ 2007-03-26 19:49 ` manu at gcc dot gnu dot org
  2007-03-29  0:12 ` janis at gcc dot gnu dot org
                   ` (24 subsequent siblings)
  66 siblings, 0 replies; 68+ messages in thread
From: manu at gcc dot gnu dot org @ 2007-03-26 19:49 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #42 from manu at gcc dot gnu dot org  2007-03-26 20:48 -------
Created an attachment (id=13291)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13291&action=view)
version 2 of fixtestsuite script

This new version of the script makes more automatic fixes.


-- 

manu at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #13271|0                           |1
        is obsolete|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241


^ permalink raw reply	[flat|nested] 68+ messages in thread

* [Bug testsuite/25241] DejaGNU does not distinguish between errors and warnings
  2005-12-03 10:12 [Bug testsuite/25241] New: DejaGNU does not distinguish between errors and warnings gdr at gcc dot gnu dot org
                   ` (41 preceding siblings ...)
  2007-03-26 19:49 ` manu at gcc dot gnu dot org
@ 2007-03-29  0:12 ` janis at gcc dot gnu dot org
  2007-03-30 11:25 ` manu at gcc dot gnu dot org
                   ` (23 subsequent siblings)
  66 siblings, 0 replies; 68+ messages in thread
From: janis at gcc dot gnu dot org @ 2007-03-29  0:12 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #43 from janis at gcc dot gnu dot org  2007-03-29 01:12 -------
A couple of days ago in irc I agreed to come up with a version of the patch
that just handles the C tests.  So far it works fine with C but breaks
everything else, but I haven't forgotten about it.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241


^ permalink raw reply	[flat|nested] 68+ messages in thread

* [Bug testsuite/25241] DejaGNU does not distinguish between errors and warnings
  2005-12-03 10:12 [Bug testsuite/25241] New: DejaGNU does not distinguish between errors and warnings gdr at gcc dot gnu dot org
                   ` (42 preceding siblings ...)
  2007-03-29  0:12 ` janis at gcc dot gnu dot org
@ 2007-03-30 11:25 ` manu at gcc dot gnu dot org
  2007-03-30 20:14 ` manu at gcc dot gnu dot org
                   ` (22 subsequent siblings)
  66 siblings, 0 replies; 68+ messages in thread
From: manu at gcc dot gnu dot org @ 2007-03-30 11:25 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #44 from manu at gcc dot gnu dot org  2007-03-30 12:25 -------
(In reply to comment #43)
> A couple of days ago in irc I agreed to come up with a version of the patch
> that just handles the C tests.  So far it works fine with C but breaks
> everything else, but I haven't forgotten about it.

Of course, we would like to fix all front-ends but that will require far more
substantial work. So, if you know anyone that could help to fix any other
front-end, please tell him/her to get in touch with me. It is fairly easy and
mechanical, so no knowledge is required (a good project to learn GCC
development basics: bootstrap, testsuite, patches, subversion).


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241


^ permalink raw reply	[flat|nested] 68+ messages in thread

* [Bug testsuite/25241] DejaGNU does not distinguish between errors and warnings
  2005-12-03 10:12 [Bug testsuite/25241] New: DejaGNU does not distinguish between errors and warnings gdr at gcc dot gnu dot org
                   ` (43 preceding siblings ...)
  2007-03-30 11:25 ` manu at gcc dot gnu dot org
@ 2007-03-30 20:14 ` manu at gcc dot gnu dot org
  2007-05-15  0:35 ` janis at gcc dot gnu dot org
                   ` (21 subsequent siblings)
  66 siblings, 0 replies; 68+ messages in thread
From: manu at gcc dot gnu dot org @ 2007-03-30 20:14 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #45 from manu at gcc dot gnu dot org  2007-03-30 21:13 -------
I have fixed all failing testcases in the C front-end. I am going to send the
fixes to janis, if someone else is interested, let me know it.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241


^ permalink raw reply	[flat|nested] 68+ messages in thread

* [Bug testsuite/25241] DejaGNU does not distinguish between errors and warnings
  2005-12-03 10:12 [Bug testsuite/25241] New: DejaGNU does not distinguish between errors and warnings gdr at gcc dot gnu dot org
                   ` (44 preceding siblings ...)
  2007-03-30 20:14 ` manu at gcc dot gnu dot org
@ 2007-05-15  0:35 ` janis at gcc dot gnu dot org
  2007-05-15 15:16 ` manu at gcc dot gnu dot org
                   ` (20 subsequent siblings)
  66 siblings, 0 replies; 68+ messages in thread
From: janis at gcc dot gnu dot org @ 2007-05-15  0:35 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #46 from janis at gcc dot gnu dot org  2007-05-15 01:35 -------
I've been looking at this again recently.  I have a patch that changes dg-error
and dg-warning only for languages that define gcc_error_prefix and
gcc_warning_prefix.  I have tested it with C and ensured that tests for other
languages are not affected.  This will make it easy to add support for one
language at a time.

Lots of the tests that Manuel changed went from checking for errors to warnings
or vice versa.  I'll check those against earlier versions of GCC to see if the
behavior really did change and when, and then report those.   Some of them
might show real bugs that ought to be fixed.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241


^ permalink raw reply	[flat|nested] 68+ messages in thread

* [Bug testsuite/25241] DejaGNU does not distinguish between errors and warnings
  2005-12-03 10:12 [Bug testsuite/25241] New: DejaGNU does not distinguish between errors and warnings gdr at gcc dot gnu dot org
                   ` (45 preceding siblings ...)
  2007-05-15  0:35 ` janis at gcc dot gnu dot org
@ 2007-05-15 15:16 ` manu at gcc dot gnu dot org
  2007-05-15 18:30 ` janis at gcc dot gnu dot org
                   ` (19 subsequent siblings)
  66 siblings, 0 replies; 68+ messages in thread
From: manu at gcc dot gnu dot org @ 2007-05-15 15:16 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #47 from manu at gcc dot gnu dot org  2007-05-15 16:15 -------
(In reply to comment #46)
> I've been looking at this again recently.  I have a patch that changes dg-error
> and dg-warning only for languages that define gcc_error_prefix and
> gcc_warning_prefix.  I have tested it with C and ensured that tests for other
> languages are not affected.  This will make it easy to add support for one
> language at a time.

Hi Janis, I am planning to be up and running again this weekend. I have to
start the new GSoC soon! So, could you attach or send me the patch so I can
test it myself?

> Lots of the tests that Manuel changed went from checking for errors to warnings
> or vice versa.  I'll check those against earlier versions of GCC to see if the
> behavior really did change and when, and then report those.   Some of them
> might show real bugs that ought to be fixed.

I have updated the patchset and script to a recent revision. That is, all tests
in gcc.dg that run in i686 with --enable-decimal-float are fixed by either a
patch or an automatic transformation done by the script. I'll send them to you
later.

Hmm, it didn't occur to me to run a regression hunt on the problematic tests to
check whether they are real bugs... let me know how that is working out.
Perhaps I can give you some help.


-- 

manu at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2006-03-01 02:23:32         |2007-05-15 16:15:46
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241


^ permalink raw reply	[flat|nested] 68+ messages in thread

* [Bug testsuite/25241] DejaGNU does not distinguish between errors and warnings
  2005-12-03 10:12 [Bug testsuite/25241] New: DejaGNU does not distinguish between errors and warnings gdr at gcc dot gnu dot org
                   ` (46 preceding siblings ...)
  2007-05-15 15:16 ` manu at gcc dot gnu dot org
@ 2007-05-15 18:30 ` janis at gcc dot gnu dot org
  2007-05-17  1:52 ` manu at gcc dot gnu dot org
                   ` (18 subsequent siblings)
  66 siblings, 0 replies; 68+ messages in thread
From: janis at gcc dot gnu dot org @ 2007-05-15 18:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #48 from janis at gcc dot gnu dot org  2007-05-15 19:29 -------
Created an attachment (id=13561)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13561&action=view)
patch for testsuite infrastructure

This patch overrides dg-error and dg-warning if gcc_error_prefix and
gcc_warning_prefix are defined; it defines those for C.


-- 

janis at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #13198|0                           |1
        is obsolete|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241


^ permalink raw reply	[flat|nested] 68+ messages in thread

* [Bug testsuite/25241] DejaGNU does not distinguish between errors and warnings
  2005-12-03 10:12 [Bug testsuite/25241] New: DejaGNU does not distinguish between errors and warnings gdr at gcc dot gnu dot org
                   ` (47 preceding siblings ...)
  2007-05-15 18:30 ` janis at gcc dot gnu dot org
@ 2007-05-17  1:52 ` manu at gcc dot gnu dot org
  2007-06-04 21:12 ` manu at gcc dot gnu dot org
                   ` (17 subsequent siblings)
  66 siblings, 0 replies; 68+ messages in thread
From: manu at gcc dot gnu dot org @ 2007-05-17  1:52 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #49 from manu at gcc dot gnu dot org  2007-05-17 02:52 -------
(In reply to comment #48)
> Created an attachment (id=13561)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13561&action=view) [edit]
> patch for testsuite infrastructure
> 
> This patch overrides dg-error and dg-warning if gcc_error_prefix and
> gcc_warning_prefix are defined; it defines those for C.
> 

Hi Janis, I think we could independently commit the chunk that adds dg-message.
That way we could fix the testcases that need such directive. For example,
gcc.dg/cpp/19940712-1.c (fix-19940712-1.diff). Also, people could start using
it for messages that are neither warnings nor errors.

What do you think?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241


^ permalink raw reply	[flat|nested] 68+ messages in thread

* [Bug testsuite/25241] DejaGNU does not distinguish between errors and warnings
  2005-12-03 10:12 [Bug testsuite/25241] New: DejaGNU does not distinguish between errors and warnings gdr at gcc dot gnu dot org
                   ` (48 preceding siblings ...)
  2007-05-17  1:52 ` manu at gcc dot gnu dot org
@ 2007-06-04 21:12 ` manu at gcc dot gnu dot org
  2007-06-05 22:30 ` manu at gcc dot gnu dot org
                   ` (16 subsequent siblings)
  66 siblings, 0 replies; 68+ messages in thread
From: manu at gcc dot gnu dot org @ 2007-06-04 21:12 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #50 from manu at gcc dot gnu dot org  2007-06-04 21:12 -------
Subject: Bug 25241

Author: manu
Date: Mon Jun  4 21:11:51 2007
New Revision: 125317

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=125317
Log:
2007-06-04  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>

        PR testsuite/25241
testsuite/
        * gcc.dg/cpp/mi1.c: Use dg-message for output that is not an error.
        * gcc.dg/cpp/mi5.c: Likewise.
        * gcc.dg/cpp/mi7.c: Likewise.

Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/cpp/mi1.c
    trunk/gcc/testsuite/gcc.dg/cpp/mi5.c
    trunk/gcc/testsuite/gcc.dg/cpp/mi7.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241


^ permalink raw reply	[flat|nested] 68+ messages in thread

* [Bug testsuite/25241] DejaGNU does not distinguish between errors and warnings
  2005-12-03 10:12 [Bug testsuite/25241] New: DejaGNU does not distinguish between errors and warnings gdr at gcc dot gnu dot org
                   ` (49 preceding siblings ...)
  2007-06-04 21:12 ` manu at gcc dot gnu dot org
@ 2007-06-05 22:30 ` manu at gcc dot gnu dot org
  2007-06-06 20:49 ` manu at gcc dot gnu dot org
                   ` (15 subsequent siblings)
  66 siblings, 0 replies; 68+ messages in thread
From: manu at gcc dot gnu dot org @ 2007-06-05 22:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #51 from manu at gcc dot gnu dot org  2007-06-05 22:30 -------
Subject: Bug 25241

Author: manu
Date: Tue Jun  5 22:30:24 2007
New Revision: 125347

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=125347
Log:
2007-06-05  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>

        PR testsuite/25241
testsuite/
        * gcc.dg/invalid-call-1.c: Use dg-warning to match the warning and
        dg-message to match de note.
        * gcc.dg/pr26570.c: Use dg-message for a note.
        * gcc.dg/pr29254.c: Use dg-message for generic output and use
        dg-error instead of dg-warning because of -Werror.
        * gcc.dg/glibc-uclibc-1.c: Use dg-message for output that is
        neither an error, nor a warning.
        * gcc.dg/glibc-uclibc-2.c: Likewise
        * gcc.dg/cpp/19940712-1.c: Likewise.

Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/cpp/19940712-1.c
    trunk/gcc/testsuite/gcc.dg/glibc-uclibc-1.c
    trunk/gcc/testsuite/gcc.dg/glibc-uclibc-2.c
    trunk/gcc/testsuite/gcc.dg/invalid-call-1.c
    trunk/gcc/testsuite/gcc.dg/pr26570.c
    trunk/gcc/testsuite/gcc.dg/pr29254.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241


^ permalink raw reply	[flat|nested] 68+ messages in thread

* [Bug testsuite/25241] DejaGNU does not distinguish between errors and warnings
  2005-12-03 10:12 [Bug testsuite/25241] New: DejaGNU does not distinguish between errors and warnings gdr at gcc dot gnu dot org
                   ` (50 preceding siblings ...)
  2007-06-05 22:30 ` manu at gcc dot gnu dot org
@ 2007-06-06 20:49 ` manu at gcc dot gnu dot org
  2007-06-07 21:02 ` manu at gcc dot gnu dot org
                   ` (14 subsequent siblings)
  66 siblings, 0 replies; 68+ messages in thread
From: manu at gcc dot gnu dot org @ 2007-06-06 20:49 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #52 from manu at gcc dot gnu dot org  2007-06-06 20:49 -------
Subject: Bug 25241

Author: manu
Date: Wed Jun  6 20:49:09 2007
New Revision: 125505

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=125505
Log:
2007-06-06  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>

        PR testsuite/25241

testsuite/
        * gcc.dg/simd-5.c: Mark output as a note.
        * gcc.dg/simd-6.c: Mark output as a note. Fix incorrect use of
        dg-message.
        * gcc.dg/simd-1.c: Likewise.
        * gcc.dg/always_inline.c: Mark output as a sorry.
        * gcc.dg/always_inline2.c: Likewise.
        * gcc.dg/always_inline3.c: Likewise.

Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/always_inline.c
    trunk/gcc/testsuite/gcc.dg/always_inline2.c
    trunk/gcc/testsuite/gcc.dg/always_inline3.c
    trunk/gcc/testsuite/gcc.dg/simd-1.c
    trunk/gcc/testsuite/gcc.dg/simd-5.c
    trunk/gcc/testsuite/gcc.dg/simd-6.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241


^ permalink raw reply	[flat|nested] 68+ messages in thread

* [Bug testsuite/25241] DejaGNU does not distinguish between errors and warnings
  2005-12-03 10:12 [Bug testsuite/25241] New: DejaGNU does not distinguish between errors and warnings gdr at gcc dot gnu dot org
                   ` (51 preceding siblings ...)
  2007-06-06 20:49 ` manu at gcc dot gnu dot org
@ 2007-06-07 21:02 ` manu at gcc dot gnu dot org
  2007-06-30 13:03 ` manu at gcc dot gnu dot org
                   ` (13 subsequent siblings)
  66 siblings, 0 replies; 68+ messages in thread
From: manu at gcc dot gnu dot org @ 2007-06-07 21:02 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #53 from manu at gcc dot gnu dot org  2007-06-07 21:01 -------
Subject: Bug 25241

Author: manu
Date: Thu Jun  7 21:01:41 2007
New Revision: 125543

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=125543
Log:
2007-06-07  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>

        PR testsuite/25241

testsuite/
        * gcc.dg/parm-mismatch-1.c: Use dg-message for notes.
        * gcc.dg/Wfatal.c: Use dg-message for output that is neither a
        warning nor an error.
        * gcc.dg/Wfatal-2.c: Likewise.
        * gcc.dg/Werror-1.c: Likewise.
        * gcc.dg/Werror-5.c: Likewise.
        * gcc.dg/Werror-7.c: Likewise.
        * gcc.dg/Werror-10.c: Likewise.
        * gcc.dg/Werror-11.c: Likewise.

Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/Werror-1.c
    trunk/gcc/testsuite/gcc.dg/Werror-10.c
    trunk/gcc/testsuite/gcc.dg/Werror-11.c
    trunk/gcc/testsuite/gcc.dg/Werror-5.c
    trunk/gcc/testsuite/gcc.dg/Werror-7.c
    trunk/gcc/testsuite/gcc.dg/Wfatal-2.c
    trunk/gcc/testsuite/gcc.dg/Wfatal.c
    trunk/gcc/testsuite/gcc.dg/parm-mismatch-1.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241


^ permalink raw reply	[flat|nested] 68+ messages in thread

* [Bug testsuite/25241] DejaGNU does not distinguish between errors and warnings
  2005-12-03 10:12 [Bug testsuite/25241] New: DejaGNU does not distinguish between errors and warnings gdr at gcc dot gnu dot org
                   ` (52 preceding siblings ...)
  2007-06-07 21:02 ` manu at gcc dot gnu dot org
@ 2007-06-30 13:03 ` manu at gcc dot gnu dot org
  2007-06-30 13:07 ` manu at gcc dot gnu dot org
                   ` (12 subsequent siblings)
  66 siblings, 0 replies; 68+ messages in thread
From: manu at gcc dot gnu dot org @ 2007-06-30 13:03 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #54 from manu at gcc dot gnu dot org  2007-06-30 13:03 -------
Subject: Bug 25241

Author: manu
Date: Sat Jun 30 13:02:48 2007
New Revision: 126145

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126145
Log:
2007-06-30  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>

        PR testsuite/25241
testsuite/
        * gcc.dg/pch/valid-1.c: Match each diagnostic with its own directive.
        * gcc.dg/pch/valid-2.c: Likewise.
        * gcc.dg/pch/valid-3.c: Likewise.
        * gcc.dg/pch/warn-1.c: Likewise.
        * gcc.dg/pch/valid-4.c: Match a warning instead of an error.

Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/pch/valid-1.c
    trunk/gcc/testsuite/gcc.dg/pch/valid-2.c
    trunk/gcc/testsuite/gcc.dg/pch/valid-3.c
    trunk/gcc/testsuite/gcc.dg/pch/valid-4.c
    trunk/gcc/testsuite/gcc.dg/pch/warn-1.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241


^ permalink raw reply	[flat|nested] 68+ messages in thread

* [Bug testsuite/25241] DejaGNU does not distinguish between errors and warnings
  2005-12-03 10:12 [Bug testsuite/25241] New: DejaGNU does not distinguish between errors and warnings gdr at gcc dot gnu dot org
                   ` (53 preceding siblings ...)
  2007-06-30 13:03 ` manu at gcc dot gnu dot org
@ 2007-06-30 13:07 ` manu at gcc dot gnu dot org
  2007-07-08 14:50 ` manu at gcc dot gnu dot org
                   ` (11 subsequent siblings)
  66 siblings, 0 replies; 68+ messages in thread
From: manu at gcc dot gnu dot org @ 2007-06-30 13:07 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #55 from manu at gcc dot gnu dot org  2007-06-30 13:06 -------
Subject: Bug 25241

Author: manu
Date: Sat Jun 30 13:06:45 2007
New Revision: 126146

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126146
Log:
2007-06-30  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>

        PR testsuite/25241
testsuite/
        * gcc.dg/cpp/20000625-1.c: Without dg-options the default is
        -pedantic-errors, so we should match errors.
        * gcc.dg/cpp/escape-1.c: Likewise.
        * gcc.dg/cpp/charconst.c: Empty character constants are errors.
        * gcc.dg/cpp/direct2.c: This is a mandatory error instead of a
        warning.
        * gcc.dg/cpp/endif-pedantic2.c: Use -pedantic-errors to obtain
        errors instead of warnings.
        * gcc.dg/cpp/extratokens.c: Use dg-warning instead of dg-error for
        a pedantic warning.
        * gcc.dg/cpp/arith-3.c: Likewise.

Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/cpp/20000625-1.c
    trunk/gcc/testsuite/gcc.dg/cpp/arith-3.c
    trunk/gcc/testsuite/gcc.dg/cpp/charconst.c
    trunk/gcc/testsuite/gcc.dg/cpp/direct2.c
    trunk/gcc/testsuite/gcc.dg/cpp/endif-pedantic2.c
    trunk/gcc/testsuite/gcc.dg/cpp/escape-1.c
    trunk/gcc/testsuite/gcc.dg/cpp/extratokens.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241


^ permalink raw reply	[flat|nested] 68+ messages in thread

* [Bug testsuite/25241] DejaGNU does not distinguish between errors and warnings
  2005-12-03 10:12 [Bug testsuite/25241] New: DejaGNU does not distinguish between errors and warnings gdr at gcc dot gnu dot org
                   ` (54 preceding siblings ...)
  2007-06-30 13:07 ` manu at gcc dot gnu dot org
@ 2007-07-08 14:50 ` manu at gcc dot gnu dot org
  2007-07-10  9:17 ` manu at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  66 siblings, 0 replies; 68+ messages in thread
From: manu at gcc dot gnu dot org @ 2007-07-08 14:50 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #56 from manu at gcc dot gnu dot org  2007-07-08 14:50 -------
Subject: Bug 25241

Author: manu
Date: Sun Jul  8 14:50:37 2007
New Revision: 126461

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126461
Log:
2007-07-08  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>

        PR testsuite/25241
testsuite/
        * gcc.dg/20041213-1.c: Don't use default -pedantic-errors to allow
        discern pedantic diagnostics and errors.
        * gcc.dg/empty2.c: Add -pedantic, so it actually produces a warning
        and not an error.
        * gcc.dg/20050121-1.c: This is an error and not a warning.
        * gcc.target/i386/sseregparm-2.c:  Likewise.
        * gcc.target/i386/20060512-4.c: This is a warning and not an error.
        * gcc.dg/charset/attribute2.c: Likewise.
        * gcc.dg/bitfld-1.c: Likewise.
        * gcc.dg/pack-test-2.c: Likewise.
        * gcc.dg/940510-1.c: Match separately error and warning.
        * gcc.dg/array-2.c: Match separately multiple messages. The second
        diagnostic is a pedantic warning and not an error.
        * gcc.dg/pr14475.c: Match separately multiple messages.
        * gcc.dg/pr18809-1.c: Likewise.
        * gcc.dg/pr27953.c: Likewise.
        * gcc.dg/vla-init-1.c: Likewise.
        * gcc.dg/redecl-1.c: Fix wrong use of dg-error and dg-warning.

Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/20041213-1.c
    trunk/gcc/testsuite/gcc.dg/20050121-1.c
    trunk/gcc/testsuite/gcc.dg/940510-1.c
    trunk/gcc/testsuite/gcc.dg/array-2.c
    trunk/gcc/testsuite/gcc.dg/bitfld-1.c
    trunk/gcc/testsuite/gcc.dg/charset/attribute2.c
    trunk/gcc/testsuite/gcc.dg/empty2.c
    trunk/gcc/testsuite/gcc.dg/pack-test-2.c
    trunk/gcc/testsuite/gcc.dg/pr14475.c
    trunk/gcc/testsuite/gcc.dg/pr18809-1.c
    trunk/gcc/testsuite/gcc.dg/pr27953.c
    trunk/gcc/testsuite/gcc.dg/redecl-1.c
    trunk/gcc/testsuite/gcc.dg/vla-init-1.c
    trunk/gcc/testsuite/gcc.target/i386/20060512-4.c
    trunk/gcc/testsuite/gcc.target/i386/sseregparm-2.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241


^ permalink raw reply	[flat|nested] 68+ messages in thread

* [Bug testsuite/25241] DejaGNU does not distinguish between errors and warnings
  2005-12-03 10:12 [Bug testsuite/25241] New: DejaGNU does not distinguish between errors and warnings gdr at gcc dot gnu dot org
                   ` (55 preceding siblings ...)
  2007-07-08 14:50 ` manu at gcc dot gnu dot org
@ 2007-07-10  9:17 ` manu at gcc dot gnu dot org
  2007-07-12 22:58 ` manu at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  66 siblings, 0 replies; 68+ messages in thread
From: manu at gcc dot gnu dot org @ 2007-07-10  9:17 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #57 from manu at gcc dot gnu dot org  2007-07-10 09:17 -------
Subject: Bug 25241

Author: manu
Date: Tue Jul 10 09:17:01 2007
New Revision: 126511

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126511
Log:
2007-07-10  Manuel Lopez-Ibanez <manu@gcc.gnu.org>

        PR testsuite/25241
        * gcc.dg/pch/counter-2.c: Match every message with its appropriate
        directive.

Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/pch/counter-2.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241


^ permalink raw reply	[flat|nested] 68+ messages in thread

* [Bug testsuite/25241] DejaGNU does not distinguish between errors and warnings
  2005-12-03 10:12 [Bug testsuite/25241] New: DejaGNU does not distinguish between errors and warnings gdr at gcc dot gnu dot org
                   ` (56 preceding siblings ...)
  2007-07-10  9:17 ` manu at gcc dot gnu dot org
@ 2007-07-12 22:58 ` manu at gcc dot gnu dot org
  2007-07-12 23:05 ` manu at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  66 siblings, 0 replies; 68+ messages in thread
From: manu at gcc dot gnu dot org @ 2007-07-12 22:58 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #58 from manu at gcc dot gnu dot org  2007-07-12 22:57 -------
Subject: Bug 25241

Author: manu
Date: Thu Jul 12 22:57:32 2007
New Revision: 126606

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126606
Log:
2007-07-12  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
            Janis Johnson  <janis187@us.ibm.com>

        PR testsuite/25241
gcc/testsuite/
        * gcc.test-framework/dg-error-exp-F.c: New test.
        * gcc.test-framework/dg-warning-exp-F.c: New test.
        * lib/gcc.exp: Enable warning and error prefixes.
        * lib/gcc-dg.exp (dg-warning): Wrap original dg-warning.
        (dg-error): Wrap original dg-error.
        * gcc.target/powerpc/altivec-types-1.c: Remove explicit error/warning
        markers from dg-error/dg-warning directives.
        * gcc.dg/20040322-1.c: Likewise.
        * gcc.dg/Wchar-subscripts-1.c: Likewise.
        * gcc.dg/Wdeclaration-after-statement-1.c: Likewise.
        * gcc.dg/Wdeclaration-after-statement-2.c: Likewise.
        * gcc.dg/Werror-1.c: Likewise.
        * gcc.dg/Werror-10.c: Likewise.
        * gcc.dg/Werror-11.c: Likewise.
        * gcc.dg/Werror-2.c: Likewise.
        * gcc.dg/Werror-3.c: Likewise.
        * gcc.dg/Werror-4.c: Likewise.
        * gcc.dg/Werror-5.c: Likewise.
        * gcc.dg/Werror-6.c: Likewise.
        * gcc.dg/Werror-7.c: Likewise.
        * gcc.dg/Werror-8.c: Likewise.
        * gcc.dg/Werror-9.c: Likewise.
        * gcc.dg/Werror-implicit-function-declaration.c: Likewise.
        * gcc.dg/Wimplicit-function-declaration-c89-pedantic.c: Likewise.
        * gcc.dg/Wimplicit-function-declaration-c89.c: Likewise.
        * gcc.dg/Wimplicit-function-declaration-c99-pedantic.c: Likewise.
        * gcc.dg/Wimplicit-function-declaration-c99.c: Likewise.
        * gcc.dg/Wint-to-pointer-cast-1.c: Likewise.
        * gcc.dg/Wint-to-pointer-cast-2.c: Likewise.
        * gcc.dg/Wint-to-pointer-cast-3.c: Likewise.
        * gcc.dg/Wnested-externs-1.c: Likewise.
        * gcc.dg/Wpointer-to-int-cast-1.c: Likewise.
        * gcc.dg/Wpointer-to-int-cast-2.c: Likewise.
        * gcc.dg/Wpointer-to-int-cast-3.c: Likewise.
        * gcc.dg/Wshadow-3.c: Likewise.
        * gcc.dg/Wtraditional-conversion-2.c: Likewise.
        * gcc.dg/Wwrite-strings-1.c: Likewise.
        * gcc.dg/anon-struct-5.c: Likewise.
        * gcc.dg/anon-struct-6.c: Likewise.
        * gcc.dg/anon-struct-7.c: Likewise.
        * gcc.dg/anon-struct-8.c: Likewise.
        * gcc.dg/array-8.c: Likewise.
        * gcc.dg/array-quals-2.c: Likewise.
        * gcc.dg/asm-qual-1.c: Likewise.
        * gcc.dg/asm-wide-1.c: Likewise.
        * gcc.dg/assign-warn-1.c: Likewise.
        * gcc.dg/assign-warn-2.c: Likewise.
        * gcc.dg/bitfld-10.c: Likewise.
        * gcc.dg/bitfld-11.c: Likewise.
        * gcc.dg/bitfld-12.c: Likewise.
        * gcc.dg/bitfld-13.c: Likewise.
        * gcc.dg/bitfld-14.c: Likewise.
        * gcc.dg/builtin-choose-expr-2.c: Likewise.
        * gcc.dg/builtins-30.c: Likewise.
        * gcc.dg/c90-const-expr-5.c: Likewise.
        * gcc.dg/c90-typespec-1.c: Likewise.
        * gcc.dg/c99-const-expr-5.c: Likewise.
        * gcc.dg/c99-flex-array-5.c: Likewise.
        * gcc.dg/c99-fordecl-3.c: Likewise.
        * gcc.dg/c99-tag-3.c: Likewise.
        * gcc.dg/c99-typespec-1.c: Likewise.
        * gcc.dg/c99-vla-jump-1.c: Likewise.
        * gcc.dg/c99-vla-jump-2.c: Likewise.
        * gcc.dg/c99-vla-jump-3.c: Likewise.
        * gcc.dg/c99-vla-jump-4.c: Likewise.
        * gcc.dg/c99-vla-jump-5.c: Likewise.
        * gcc.dg/cast-1.c: Likewise.
        * gcc.dg/cast-2.c: Likewise.
        * gcc.dg/cast-3.c: Likewise.
        * gcc.dg/cast-4.c: Likewise.
        * gcc.dg/cast-pretty-print-1.c: Likewise.
        * gcc.dg/comp-goto-2.c: Likewise.
        * gcc.dg/comp-goto-3.c: Likewise.
        * gcc.dg/cpp/error-1.c: Likewise.
        * gcc.dg/cpp/if-paren.c: Likewise.
        * gcc.dg/decl-7.c: Likewise.
        * gcc.dg/decl-8.c: Likewise.
        * gcc.dg/decl-nospec-1.c: Likewise.
        * gcc.dg/decl-nospec-2.c: Likewise.
        * gcc.dg/decl-nospec-3.c: Likewise.
        * gcc.dg/declspec-10.c: Likewise.
        * gcc.dg/declspec-11.c: Likewise.
        * gcc.dg/declspec-12.c: Likewise.
        * gcc.dg/declspec-13.c: Likewise.
        * gcc.dg/declspec-14.c: Likewise.
        * gcc.dg/declspec-15.c: Likewise.
        * gcc.dg/declspec-16.c: Likewise.
        * gcc.dg/declspec-17.c: Likewise.
        * gcc.dg/declspec-4.c: Likewise.
        * gcc.dg/declspec-5.c: Likewise.
        * gcc.dg/declspec-6.c: Likewise.
        * gcc.dg/declspec-7.c: Likewise.
        * gcc.dg/declspec-8.c: Likewise.
        * gcc.dg/declspec-9.c: Likewise.
        * gcc.dg/dfp/Wtraditional-conversion-2.c: Likewise.
        * gcc.dg/dfp/constants-c99.c: Likewise.
        * gcc.dg/dfp/keywords-c89.c: Likewise.
        * gcc.dg/dfp/keywords-c99.c: Likewise.
        * gcc.dg/dfp/keywords-reserved.c: Likewise.
        * gcc.dg/dfp/typespec.c: Likewise.
        * gcc.dg/dremf-type-compat-2.c: Likewise.
        * gcc.dg/dremf-type-compat-3.c: Likewise.
        * gcc.dg/dremf-type-compat-4.c: Likewise.
        * gcc.dg/empty-source-2.c: Likewise.
        * gcc.dg/empty-source-3.c: Likewise.
        * gcc.dg/enum3.c: Likewise.
        * gcc.dg/extra-semi-2.c: Likewise.
        * gcc.dg/extra-semi-3.c: Likewise.
        * gcc.dg/float-range-1.c: Likewise.
        * gcc.dg/float-range-2.c: Likewise.
        * gcc.dg/float-range-3.c: Likewise.
        * gcc.dg/float-range-5.c: Likewise.
        * gcc.dg/format/asm_fprintf-2.c: Likewise.
        * gcc.dg/format/asm_fprintf-3.c: Likewise.
        * gcc.dg/format/asm_fprintf-4.c: Likewise.
        * gcc.dg/format/asm_fprintf-5.c: Likewise.
        * gcc.dg/format/cast-1.c: Likewise.
        * gcc.dg/format/gcc_diag-3.c: Likewise.
        * gcc.dg/format/gcc_diag-4.c: Likewise.
        * gcc.dg/format/gcc_diag-6.c: Likewise.
        * gcc.dg/format/gcc_diag-8.c: Likewise.
        * gcc.dg/format/gcc_diag-9.c: Likewise.
        * gcc.dg/format/nul-2.c: Likewise.
        * gcc.dg/format/opt-1.c: Likewise.
        * gcc.dg/format/opt-2.c: Likewise.
        * gcc.dg/format/opt-3.c: Likewise.
        * gcc.dg/format/opt-4.c: Likewise.
        * gcc.dg/format/opt-5.c: Likewise.
        * gcc.dg/format/opt-6.c: Likewise.
        * gcc.dg/framework-2.c: Likewise.
        * gcc.dg/func-args-1.c: Likewise.
        * gcc.dg/func-outside-1.c: Likewise.
        * gcc.dg/func-outside-2.c: Likewise.
        * gcc.dg/gnu-cond-expr-2.c: Likewise.
        * gcc.dg/gnu-cond-expr-3.c: Likewise.
        * gcc.dg/if-empty-1.c: Likewise.
        * gcc.dg/init-bad-1.c: Likewise.
        * gcc.dg/init-bad-2.c: Likewise.
        * gcc.dg/init-bad-3.c: Likewise.
        * gcc.dg/init-desig-obs-2.c: Likewise.
        * gcc.dg/init-desig-obs-3.c: Likewise.
        * gcc.dg/init-empty-2.c: Likewise.
        * gcc.dg/init-empty-3.c: Likewise.
        * gcc.dg/inline-11.c: Likewise.
        * gcc.dg/inline-12.c: Likewise.
        * gcc.dg/inline-8.c: Likewise.
        * gcc.dg/inline-9.c: Likewise.
        * gcc.dg/inline3.c: Likewise.
        * gcc.dg/label-decl-1.c: Likewise.
        * gcc.dg/label-decl-2.c: Likewise.
        * gcc.dg/label-decl-3.c: Likewise.
        * gcc.dg/label-decl-4.c: Likewise.
        * gcc.dg/long-long-typespec-1.c: Likewise.
        * gcc.dg/lvalue-2.c: Likewise.
        * gcc.dg/lvalue-3.c: Likewise.
        * gcc.dg/nested-func-3.c: Likewise.
        * gcc.dg/nested-redef-1.c: Likewise.
        * gcc.dg/noreturn-4.c: Likewise.
        * gcc.dg/old-style-prom-2.c: Likewise.
        * gcc.dg/old-style-prom-3.c: Likewise.
        * gcc.dg/old-style-then-proto-1.c: Likewise.
        * gcc.dg/overflow-warn-1.c: Likewise.
        * gcc.dg/overflow-warn-2.c: Likewise.
        * gcc.dg/overflow-warn-3.c: Likewise.
        * gcc.dg/overflow-warn-4.c: Likewise.
        * gcc.dg/overflow-warn-6.c: Likewise.
        * gcc.dg/parm-forwdecl-2.c: Likewise.
        * gcc.dg/parm-forwdecl-3.c: Likewise.
        * gcc.dg/parm-impl-decl-1.c: Likewise.
        * gcc.dg/parm-impl-decl-2.c: Likewise.
        * gcc.dg/parm-incomplete-1.c: Likewise.
        * gcc.dg/parm-mismatch-1.c: Likewise.
        * gcc.dg/pointer-arith-1.c: Likewise.
        * gcc.dg/pointer-arith-2.c: Likewise.
        * gcc.dg/pointer-arith-3.c: Likewise.
        * gcc.dg/pointer-arith-4.c: Likewise.
        * gcc.dg/pointer-arith-6.c: Likewise.
        * gcc.dg/pointer-arith-7.c: Likewise.
        * gcc.dg/pointer-arith-8.c: Likewise.
        * gcc.dg/pr13804-1.c: Likewise.
        * gcc.dg/pr15698-1.c: Likewise.
        * gcc.dg/pr15698-2.c: Likewise.
        * gcc.dg/pr15698-3.c: Likewise.
        * gcc.dg/pr15698-4.c: Likewise.
        * gcc.dg/pr15698-5.c: Likewise.
        * gcc.dg/pr15698-6.c: Likewise.
        * gcc.dg/pr15698-7.c: Likewise.
        * gcc.dg/pr15698-8.c: Likewise.
        * gcc.dg/pr17188-1.c: Likewise.
        * gcc.dg/pr17301-1.c: Likewise.
        * gcc.dg/pr17301-2.c: Likewise.
        * gcc.dg/pr17730-1.c: Likewise.
        * gcc.dg/pr20368-1.c: Likewise.
        * gcc.dg/pr20368-2.c: Likewise.
        * gcc.dg/pr20368-3.c: Likewise.
        * gcc.dg/pr22308-1.c: Likewise.
        * gcc.dg/qual-component-1.c: Likewise.
        * gcc.dg/redecl-1.c: Likewise.
        * gcc.dg/redecl-11.c: Likewise.
        * gcc.dg/redecl-12.c: Likewise.
        * gcc.dg/redecl-13.c: Likewise.
        * gcc.dg/redecl-14.c: Likewise.
        * gcc.dg/redecl-15.c: Likewise.
        * gcc.dg/register-var-1.c: Likewise.
        * gcc.dg/register-var-2.c: Likewise.
        * gcc.dg/stmt-expr-2.c: Likewise.
        * gcc.dg/stmt-expr-3.c: Likewise.
        * gcc.dg/stmt-expr-label-1.c: Likewise.
        * gcc.dg/stmt-expr-label-2.c: Likewise.
        * gcc.dg/stmt-expr-label-3.c: Likewise.
        * gcc.dg/struct-empty-2.c: Likewise.
        * gcc.dg/struct-empty-3.c: Likewise.
        * gcc.dg/struct-parse-1.c: Likewise.
        * gcc.dg/struct-semi-1.c: Likewise.
        * gcc.dg/struct-semi-2.c: Likewise.
        * gcc.dg/struct-semi-3.c: Likewise.
        * gcc.dg/switch-5.c: Likewise.
        * gcc.dg/switch-6.c: Likewise.
        * gcc.dg/switch-7.c: Likewise.
        * gcc.dg/tls/diag-5.c: Likewise.
        * gcc.dg/transparent-union-1.c: Likewise.
        * gcc.dg/transparent-union-3.c: Likewise.
        * gcc.dg/typespec-1.c: Likewise.
        * gcc.dg/vla-init-2.c: Likewise.
        * gcc.dg/vla-init-3.c: Likewise.
        * gcc.dg/vla-init-4.c: Likewise.
        * gcc.dg/vla-init-5.c: Likewise.
        * gcc.dg/void-cast-2.c: Likewise.
        * gcc.dg/wvla-3.c: Likewise.
        * gcc.dg/wvla-7.c: Likewise.
        * gcc.target/i386/991209-1.c: Likewise.
        * gcc.target/ia64/fpreg-1.c: Likewise.
        * gcc.target/m68k/interrupt_thread-2.c: Likewise.
        * gcc.target/m68k/interrupt_thread-3.c: Likewise.

Added:
    trunk/gcc/testsuite/gcc.test-framework/dg-error-exp-F.c
    trunk/gcc/testsuite/gcc.test-framework/dg-warning-exp-F.c
Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/20040322-1.c
    trunk/gcc/testsuite/gcc.dg/Wchar-subscripts-1.c
    trunk/gcc/testsuite/gcc.dg/Wdeclaration-after-statement-1.c
    trunk/gcc/testsuite/gcc.dg/Wdeclaration-after-statement-2.c
    trunk/gcc/testsuite/gcc.dg/Werror-1.c
    trunk/gcc/testsuite/gcc.dg/Werror-10.c
    trunk/gcc/testsuite/gcc.dg/Werror-11.c
    trunk/gcc/testsuite/gcc.dg/Werror-2.c
    trunk/gcc/testsuite/gcc.dg/Werror-3.c
    trunk/gcc/testsuite/gcc.dg/Werror-4.c
    trunk/gcc/testsuite/gcc.dg/Werror-5.c
    trunk/gcc/testsuite/gcc.dg/Werror-6.c
    trunk/gcc/testsuite/gcc.dg/Werror-7.c
    trunk/gcc/testsuite/gcc.dg/Werror-8.c
    trunk/gcc/testsuite/gcc.dg/Werror-9.c
    trunk/gcc/testsuite/gcc.dg/Werror-implicit-function-declaration.c
    trunk/gcc/testsuite/gcc.dg/Wimplicit-function-declaration-c89-pedantic.c
    trunk/gcc/testsuite/gcc.dg/Wimplicit-function-declaration-c89.c
    trunk/gcc/testsuite/gcc.dg/Wimplicit-function-declaration-c99-pedantic.c
    trunk/gcc/testsuite/gcc.dg/Wimplicit-function-declaration-c99.c
    trunk/gcc/testsuite/gcc.dg/Wint-to-pointer-cast-1.c
    trunk/gcc/testsuite/gcc.dg/Wint-to-pointer-cast-2.c
    trunk/gcc/testsuite/gcc.dg/Wint-to-pointer-cast-3.c
    trunk/gcc/testsuite/gcc.dg/Wnested-externs-1.c
    trunk/gcc/testsuite/gcc.dg/Wpointer-to-int-cast-1.c
    trunk/gcc/testsuite/gcc.dg/Wpointer-to-int-cast-2.c
    trunk/gcc/testsuite/gcc.dg/Wpointer-to-int-cast-3.c
    trunk/gcc/testsuite/gcc.dg/Wshadow-3.c
    trunk/gcc/testsuite/gcc.dg/Wtraditional-conversion-2.c
    trunk/gcc/testsuite/gcc.dg/Wwrite-strings-1.c
    trunk/gcc/testsuite/gcc.dg/anon-struct-5.c
    trunk/gcc/testsuite/gcc.dg/anon-struct-6.c
    trunk/gcc/testsuite/gcc.dg/anon-struct-7.c
    trunk/gcc/testsuite/gcc.dg/anon-struct-8.c
    trunk/gcc/testsuite/gcc.dg/array-8.c
    trunk/gcc/testsuite/gcc.dg/array-quals-2.c
    trunk/gcc/testsuite/gcc.dg/asm-qual-1.c
    trunk/gcc/testsuite/gcc.dg/asm-wide-1.c
    trunk/gcc/testsuite/gcc.dg/assign-warn-1.c
    trunk/gcc/testsuite/gcc.dg/assign-warn-2.c
    trunk/gcc/testsuite/gcc.dg/bitfld-10.c
    trunk/gcc/testsuite/gcc.dg/bitfld-11.c
    trunk/gcc/testsuite/gcc.dg/bitfld-12.c
    trunk/gcc/testsuite/gcc.dg/bitfld-13.c
    trunk/gcc/testsuite/gcc.dg/bitfld-14.c
    trunk/gcc/testsuite/gcc.dg/builtin-choose-expr-2.c
    trunk/gcc/testsuite/gcc.dg/builtins-30.c
    trunk/gcc/testsuite/gcc.dg/c90-const-expr-5.c
    trunk/gcc/testsuite/gcc.dg/c90-typespec-1.c
    trunk/gcc/testsuite/gcc.dg/c99-const-expr-5.c
    trunk/gcc/testsuite/gcc.dg/c99-flex-array-5.c
    trunk/gcc/testsuite/gcc.dg/c99-fordecl-3.c
    trunk/gcc/testsuite/gcc.dg/c99-tag-3.c
    trunk/gcc/testsuite/gcc.dg/c99-typespec-1.c
    trunk/gcc/testsuite/gcc.dg/c99-vla-jump-1.c
    trunk/gcc/testsuite/gcc.dg/c99-vla-jump-2.c
    trunk/gcc/testsuite/gcc.dg/c99-vla-jump-3.c
    trunk/gcc/testsuite/gcc.dg/c99-vla-jump-4.c
    trunk/gcc/testsuite/gcc.dg/c99-vla-jump-5.c
    trunk/gcc/testsuite/gcc.dg/cast-1.c
    trunk/gcc/testsuite/gcc.dg/cast-2.c
    trunk/gcc/testsuite/gcc.dg/cast-3.c
    trunk/gcc/testsuite/gcc.dg/cast-4.c
    trunk/gcc/testsuite/gcc.dg/cast-pretty-print-1.c
    trunk/gcc/testsuite/gcc.dg/comp-goto-2.c
    trunk/gcc/testsuite/gcc.dg/comp-goto-3.c
    trunk/gcc/testsuite/gcc.dg/cpp/error-1.c
    trunk/gcc/testsuite/gcc.dg/cpp/if-paren.c
    trunk/gcc/testsuite/gcc.dg/decl-7.c
    trunk/gcc/testsuite/gcc.dg/decl-8.c
    trunk/gcc/testsuite/gcc.dg/decl-nospec-1.c
    trunk/gcc/testsuite/gcc.dg/decl-nospec-2.c
    trunk/gcc/testsuite/gcc.dg/decl-nospec-3.c
    trunk/gcc/testsuite/gcc.dg/declspec-10.c
    trunk/gcc/testsuite/gcc.dg/declspec-11.c
    trunk/gcc/testsuite/gcc.dg/declspec-12.c
    trunk/gcc/testsuite/gcc.dg/declspec-13.c
    trunk/gcc/testsuite/gcc.dg/declspec-14.c
    trunk/gcc/testsuite/gcc.dg/declspec-15.c
    trunk/gcc/testsuite/gcc.dg/declspec-16.c
    trunk/gcc/testsuite/gcc.dg/declspec-17.c
    trunk/gcc/testsuite/gcc.dg/declspec-4.c
    trunk/gcc/testsuite/gcc.dg/declspec-5.c
    trunk/gcc/testsuite/gcc.dg/declspec-6.c
    trunk/gcc/testsuite/gcc.dg/declspec-7.c
    trunk/gcc/testsuite/gcc.dg/declspec-8.c
    trunk/gcc/testsuite/gcc.dg/declspec-9.c
    trunk/gcc/testsuite/gcc.dg/dfp/Wtraditional-conversion-2.c
    trunk/gcc/testsuite/gcc.dg/dfp/constants-c99.c
    trunk/gcc/testsuite/gcc.dg/dfp/keywords-c89.c
    trunk/gcc/testsuite/gcc.dg/dfp/keywords-c99.c
    trunk/gcc/testsuite/gcc.dg/dfp/keywords-reserved.c
    trunk/gcc/testsuite/gcc.dg/dfp/typespec.c
    trunk/gcc/testsuite/gcc.dg/dremf-type-compat-2.c
    trunk/gcc/testsuite/gcc.dg/dremf-type-compat-3.c
    trunk/gcc/testsuite/gcc.dg/dremf-type-compat-4.c
    trunk/gcc/testsuite/gcc.dg/empty-source-2.c
    trunk/gcc/testsuite/gcc.dg/empty-source-3.c
    trunk/gcc/testsuite/gcc.dg/enum3.c
    trunk/gcc/testsuite/gcc.dg/extra-semi-2.c
    trunk/gcc/testsuite/gcc.dg/extra-semi-3.c
    trunk/gcc/testsuite/gcc.dg/float-range-1.c
    trunk/gcc/testsuite/gcc.dg/float-range-2.c
    trunk/gcc/testsuite/gcc.dg/float-range-3.c
    trunk/gcc/testsuite/gcc.dg/float-range-5.c
    trunk/gcc/testsuite/gcc.dg/format/asm_fprintf-2.c
    trunk/gcc/testsuite/gcc.dg/format/asm_fprintf-3.c
    trunk/gcc/testsuite/gcc.dg/format/asm_fprintf-4.c
    trunk/gcc/testsuite/gcc.dg/format/asm_fprintf-5.c
    trunk/gcc/testsuite/gcc.dg/format/cast-1.c
    trunk/gcc/testsuite/gcc.dg/format/gcc_diag-3.c
    trunk/gcc/testsuite/gcc.dg/format/gcc_diag-4.c
    trunk/gcc/testsuite/gcc.dg/format/gcc_diag-6.c
    trunk/gcc/testsuite/gcc.dg/format/gcc_diag-8.c
    trunk/gcc/testsuite/gcc.dg/format/gcc_diag-9.c
    trunk/gcc/testsuite/gcc.dg/format/nul-2.c
    trunk/gcc/testsuite/gcc.dg/format/opt-1.c
    trunk/gcc/testsuite/gcc.dg/format/opt-2.c
    trunk/gcc/testsuite/gcc.dg/format/opt-3.c
    trunk/gcc/testsuite/gcc.dg/format/opt-4.c
    trunk/gcc/testsuite/gcc.dg/format/opt-5.c
    trunk/gcc/testsuite/gcc.dg/format/opt-6.c
    trunk/gcc/testsuite/gcc.dg/framework-2.c
    trunk/gcc/testsuite/gcc.dg/func-args-1.c
    trunk/gcc/testsuite/gcc.dg/func-outside-1.c
    trunk/gcc/testsuite/gcc.dg/func-outside-2.c
    trunk/gcc/testsuite/gcc.dg/gnu-cond-expr-2.c
    trunk/gcc/testsuite/gcc.dg/gnu-cond-expr-3.c
    trunk/gcc/testsuite/gcc.dg/if-empty-1.c
    trunk/gcc/testsuite/gcc.dg/init-bad-1.c
    trunk/gcc/testsuite/gcc.dg/init-bad-2.c
    trunk/gcc/testsuite/gcc.dg/init-bad-3.c
    trunk/gcc/testsuite/gcc.dg/init-desig-obs-2.c
    trunk/gcc/testsuite/gcc.dg/init-desig-obs-3.c
    trunk/gcc/testsuite/gcc.dg/init-empty-2.c
    trunk/gcc/testsuite/gcc.dg/init-empty-3.c
    trunk/gcc/testsuite/gcc.dg/inline-11.c
    trunk/gcc/testsuite/gcc.dg/inline-12.c
    trunk/gcc/testsuite/gcc.dg/inline-8.c
    trunk/gcc/testsuite/gcc.dg/inline-9.c
    trunk/gcc/testsuite/gcc.dg/inline3.c
    trunk/gcc/testsuite/gcc.dg/label-decl-1.c
    trunk/gcc/testsuite/gcc.dg/label-decl-2.c
    trunk/gcc/testsuite/gcc.dg/label-decl-3.c
    trunk/gcc/testsuite/gcc.dg/label-decl-4.c
    trunk/gcc/testsuite/gcc.dg/long-long-typespec-1.c
    trunk/gcc/testsuite/gcc.dg/lvalue-2.c
    trunk/gcc/testsuite/gcc.dg/lvalue-3.c
    trunk/gcc/testsuite/gcc.dg/nested-func-3.c
    trunk/gcc/testsuite/gcc.dg/nested-redef-1.c
    trunk/gcc/testsuite/gcc.dg/noreturn-4.c
    trunk/gcc/testsuite/gcc.dg/old-style-prom-2.c
    trunk/gcc/testsuite/gcc.dg/old-style-prom-3.c
    trunk/gcc/testsuite/gcc.dg/old-style-then-proto-1.c
    trunk/gcc/testsuite/gcc.dg/overflow-warn-1.c
    trunk/gcc/testsuite/gcc.dg/overflow-warn-2.c
    trunk/gcc/testsuite/gcc.dg/overflow-warn-3.c
    trunk/gcc/testsuite/gcc.dg/overflow-warn-4.c
    trunk/gcc/testsuite/gcc.dg/overflow-warn-6.c
    trunk/gcc/testsuite/gcc.dg/parm-forwdecl-2.c
    trunk/gcc/testsuite/gcc.dg/parm-forwdecl-3.c
    trunk/gcc/testsuite/gcc.dg/parm-impl-decl-1.c
    trunk/gcc/testsuite/gcc.dg/parm-impl-decl-2.c
    trunk/gcc/testsuite/gcc.dg/parm-incomplete-1.c
    trunk/gcc/testsuite/gcc.dg/parm-mismatch-1.c
    trunk/gcc/testsuite/gcc.dg/pointer-arith-1.c
    trunk/gcc/testsuite/gcc.dg/pointer-arith-2.c
    trunk/gcc/testsuite/gcc.dg/pointer-arith-3.c
    trunk/gcc/testsuite/gcc.dg/pointer-arith-4.c
    trunk/gcc/testsuite/gcc.dg/pointer-arith-6.c
    trunk/gcc/testsuite/gcc.dg/pointer-arith-7.c
    trunk/gcc/testsuite/gcc.dg/pointer-arith-8.c
    trunk/gcc/testsuite/gcc.dg/pr13804-1.c
    trunk/gcc/testsuite/gcc.dg/pr15698-1.c
    trunk/gcc/testsuite/gcc.dg/pr15698-2.c
    trunk/gcc/testsuite/gcc.dg/pr15698-3.c
    trunk/gcc/testsuite/gcc.dg/pr15698-4.c
    trunk/gcc/testsuite/gcc.dg/pr15698-5.c
    trunk/gcc/testsuite/gcc.dg/pr15698-6.c
    trunk/gcc/testsuite/gcc.dg/pr15698-7.c
    trunk/gcc/testsuite/gcc.dg/pr15698-8.c
    trunk/gcc/testsuite/gcc.dg/pr17188-1.c
    trunk/gcc/testsuite/gcc.dg/pr17301-1.c
    trunk/gcc/testsuite/gcc.dg/pr17301-2.c
    trunk/gcc/testsuite/gcc.dg/pr17730-1.c
    trunk/gcc/testsuite/gcc.dg/pr20368-1.c
    trunk/gcc/testsuite/gcc.dg/pr20368-2.c
    trunk/gcc/testsuite/gcc.dg/pr20368-3.c
    trunk/gcc/testsuite/gcc.dg/pr22308-1.c
    trunk/gcc/testsuite/gcc.dg/qual-component-1.c
    trunk/gcc/testsuite/gcc.dg/redecl-1.c
    trunk/gcc/testsuite/gcc.dg/redecl-11.c
    trunk/gcc/testsuite/gcc.dg/redecl-12.c
    trunk/gcc/testsuite/gcc.dg/redecl-13.c
    trunk/gcc/testsuite/gcc.dg/redecl-14.c
    trunk/gcc/testsuite/gcc.dg/redecl-15.c
    trunk/gcc/testsuite/gcc.dg/register-var-1.c
    trunk/gcc/testsuite/gcc.dg/register-var-2.c
    trunk/gcc/testsuite/gcc.dg/stmt-expr-2.c
    trunk/gcc/testsuite/gcc.dg/stmt-expr-3.c
    trunk/gcc/testsuite/gcc.dg/stmt-expr-label-1.c
    trunk/gcc/testsuite/gcc.dg/stmt-expr-label-2.c
    trunk/gcc/testsuite/gcc.dg/stmt-expr-label-3.c
    trunk/gcc/testsuite/gcc.dg/struct-empty-2.c
    trunk/gcc/testsuite/gcc.dg/struct-empty-3.c
    trunk/gcc/testsuite/gcc.dg/struct-parse-1.c
    trunk/gcc/testsuite/gcc.dg/struct-semi-1.c
    trunk/gcc/testsuite/gcc.dg/struct-semi-2.c
    trunk/gcc/testsuite/gcc.dg/struct-semi-3.c
    trunk/gcc/testsuite/gcc.dg/switch-5.c
    trunk/gcc/testsuite/gcc.dg/switch-6.c
    trunk/gcc/testsuite/gcc.dg/switch-7.c
    trunk/gcc/testsuite/gcc.dg/tls/diag-5.c
    trunk/gcc/testsuite/gcc.dg/transparent-union-1.c
    trunk/gcc/testsuite/gcc.dg/transparent-union-3.c
    trunk/gcc/testsuite/gcc.dg/typespec-1.c
    trunk/gcc/testsuite/gcc.dg/vla-init-2.c
    trunk/gcc/testsuite/gcc.dg/vla-init-3.c
    trunk/gcc/testsuite/gcc.dg/vla-init-4.c
    trunk/gcc/testsuite/gcc.dg/vla-init-5.c
    trunk/gcc/testsuite/gcc.dg/void-cast-2.c
    trunk/gcc/testsuite/gcc.dg/wvla-3.c
    trunk/gcc/testsuite/gcc.dg/wvla-7.c
    trunk/gcc/testsuite/gcc.target/i386/991209-1.c
    trunk/gcc/testsuite/gcc.target/ia64/fpreg-1.c
    trunk/gcc/testsuite/gcc.target/m68k/interrupt_thread-2.c
    trunk/gcc/testsuite/gcc.target/m68k/interrupt_thread-3.c
    trunk/gcc/testsuite/gcc.target/powerpc/altivec-types-1.c
    trunk/gcc/testsuite/lib/gcc-dg.exp
    trunk/gcc/testsuite/lib/gcc.exp


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241


^ permalink raw reply	[flat|nested] 68+ messages in thread

* [Bug testsuite/25241] DejaGNU does not distinguish between errors and warnings
  2005-12-03 10:12 [Bug testsuite/25241] New: DejaGNU does not distinguish between errors and warnings gdr at gcc dot gnu dot org
                   ` (57 preceding siblings ...)
  2007-07-12 22:58 ` manu at gcc dot gnu dot org
@ 2007-07-12 23:05 ` manu at gcc dot gnu dot org
  2008-08-22 20:10 ` [Bug testsuite/25241] [C++] " janis at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  66 siblings, 0 replies; 68+ messages in thread
From: manu at gcc dot gnu dot org @ 2007-07-12 23:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #59 from manu at gcc dot gnu dot org  2007-07-12 23:05 -------
This is fixed for the C front-end. 

The C++ front-end just needs to define the prefixes and fix all failures in the
same way that has been done for the C front-end. 

The Fortran front-end would require more changes, since their diagnostics
machinery is quite different from C/C++. However, the approach is pretty
similar: 1) enable the prefixes, 2) look for failing tests 3) figure out how to
fix them, what may require to change the diagnostic.

I will be very happy to answer questions from anyone interested in working on
this. However I am not going to work on this any more since the solution is
straightforward and I have another priorities.

This bug couldn't have been fixed without the work of Janis Johnson. I leave up
to her to keep this PR open, or close it and open one specific for the C++
front-end (there is already one for gfortran, PR 29882).


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241


^ permalink raw reply	[flat|nested] 68+ messages in thread

* [Bug testsuite/25241] [C++] DejaGNU does not distinguish between errors and warnings
  2005-12-03 10:12 [Bug testsuite/25241] New: DejaGNU does not distinguish between errors and warnings gdr at gcc dot gnu dot org
                   ` (58 preceding siblings ...)
  2007-07-12 23:05 ` manu at gcc dot gnu dot org
@ 2008-08-22 20:10 ` janis at gcc dot gnu dot org
  2008-08-26 18:30 ` janis at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  66 siblings, 0 replies; 68+ messages in thread
From: janis at gcc dot gnu dot org @ 2008-08-22 20:10 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #60 from janis at gcc dot gnu dot org  2008-08-22 20:09 -------
I'm preparing a patch to move the C++ compiler tests to the new versions of
dg-error and dg-warning.  Several of them include checks of column numbers, so
my patch uses Aldy's changes to lib/gcc-dg.exp from
http://gcc.gnu.org/ml/gcc-patches/2008-08/msg01427.html.  So far I've changed
240 tests and there are at least 100 more to go, but they're going pretty
quickly. 


-- 

janis at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aldyh at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241


^ permalink raw reply	[flat|nested] 68+ messages in thread

* [Bug testsuite/25241] [C++] DejaGNU does not distinguish between errors and warnings
  2005-12-03 10:12 [Bug testsuite/25241] New: DejaGNU does not distinguish between errors and warnings gdr at gcc dot gnu dot org
                   ` (59 preceding siblings ...)
  2008-08-22 20:10 ` [Bug testsuite/25241] [C++] " janis at gcc dot gnu dot org
@ 2008-08-26 18:30 ` janis at gcc dot gnu dot org
  2008-09-17  0:09 ` janis at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  66 siblings, 0 replies; 68+ messages in thread
From: janis at gcc dot gnu dot org @ 2008-08-26 18:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #61 from janis at gcc dot gnu dot org  2008-08-26 18:28 -------
I've got a huge patch now that modifies 359 tests to use the correct one of
dg-error, dg-warning, or dg-message, and splits combined checks into multiple
checks.  In the tests I've modified I've also added some of the text from the
message into the directive, although sometimes it's only a word or two.

The first patch is http://gcc.gnu.org/ml/gcc-patches/2008-08/msg01966.html. 
When I've received feedback about that I'll submit other patches and check them
in immediately if they are obvious or wait for feedback if that seems
appropriate.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241


^ permalink raw reply	[flat|nested] 68+ messages in thread

* [Bug testsuite/25241] [C++] DejaGNU does not distinguish between errors and warnings
  2005-12-03 10:12 [Bug testsuite/25241] New: DejaGNU does not distinguish between errors and warnings gdr at gcc dot gnu dot org
                   ` (60 preceding siblings ...)
  2008-08-26 18:30 ` janis at gcc dot gnu dot org
@ 2008-09-17  0:09 ` janis at gcc dot gnu dot org
  2008-09-17 23:25 ` janis at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  66 siblings, 0 replies; 68+ messages in thread
From: janis at gcc dot gnu dot org @ 2008-09-17  0:09 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #62 from janis at gcc dot gnu dot org  2008-09-17 00:08 -------
Subject: Bug 25241

Author: janis
Date: Wed Sep 17 00:06:57 2008
New Revision: 140405

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=140405
Log:
        PR testsuite/25241
        * testsuite/g++.dg/charset/attribute2.c: Replace dg-error with
        dg-warning or vice versa.
        * testsuite/g++.dg/conversion/dr195.C: Ditto.
        * testsuite/g++.dg/cpp0x/variadic60.C: Ditto.
        * testsuite/g++.dg/expr/cast2.C: Ditto.
        * testsuite/g++.dg/ext/anon-struct4.C: Ditto.
        * testsuite/g++.dg/ext/member-attr.C: Ditto.
        * testsuite/g++.dg/ext/utf-array.C: Ditto.
        * testsuite/g++.dg/ext/utf-array-short-wchar.C: Ditto.
        * testsuite/g++.dg/ext/utf-typedef-cxx0x.C: Ditto.
        * testsuite/g++.dg/ext/visibility/redecl1.C: Ditto.
        * testsuite/g++.dg/ext/visibility/warn4.C: Ditto.
        * testsuite/g++.dg/parse/defarg11.C: Ditto.
        * testsuite/g++.dg/template/error17.C: Ditto.
        * testsuite/g++.dg/warn/pedantic2.C: Ditto.
        * testsuite/g++.dg/warn/pr21983.C: Ditto.
        * testsuite/g++.dg/warn/return-reference2.C: Ditto.
        * testsuite/g++.old-deja/g++.bob/inherit1.C: Ditto.
        * testsuite/g++.old-deja/g++.brendan/crash13.C: Ditto.
        * testsuite/g++.old-deja/g++.brendan/crash17.C: Ditto.
        * testsuite/g++.old-deja/g++.brendan/crash52.C: Ditto.
        * testsuite/g++.old-deja/g++.brendan/crash55.C: Ditto.
        * testsuite/g++.old-deja/g++.brendan/enum7.C: Ditto.
        * testsuite/g++.old-deja/g++.brendan/operators4.C: Ditto.
        * testsuite/g++.old-deja/g++.brendan/template17.C: Ditto.
        * testsuite/g++.old-deja/g++.brendan/warnings1.C: Ditto.
        * testsuite/g++.old-deja/g++.bugs/900205_03.C: Ditto.
        * testsuite/g++.old-deja/g++.bugs/900227_01.C: Ditto.
        * testsuite/g++.old-deja/g++.ext/arrnew.C: Ditto.
        * testsuite/g++.old-deja/g++.ext/attrib4.C: Ditto.
        * testsuite/g++.old-deja/g++.jason/cond.C: Ditto.
        * testsuite/g++.old-deja/g++.jason/operator.C: Ditto.
        * testsuite/g++.old-deja/g++.jason/report.C: Ditto.
        * testsuite/g++.old-deja/g++.law/friend5.C: Ditto.
        * testsuite/g++.old-deja/g++.law/temps1.C: Ditto.
        * testsuite/g++.old-deja/g++.law/union4.C: Ditto.
        * testsuite/g++.old-deja/g++.martin/pure1.C: Ditto.
        * testsuite/g++.old-deja/g++.mike/empty.C: Ditto.
        * testsuite/g++.old-deja/g++.mike/for2.C: Ditto.
        * testsuite/g++.old-deja/g++.mike/misc9.C: Ditto.
        * testsuite/g++.old-deja/g++.mike/p10769b.C: Ditto.
        * testsuite/g++.old-deja/g++.mike/p2855.C: Ditto.
        * testsuite/g++.old-deja/g++.mike/p3060c.C: Ditto.
        * testsuite/g++.old-deja/g++.mike/p700.C: Ditto.
        * testsuite/g++.old-deja/g++.mike/p9732c.C: Ditto.
        * testsuite/g++.old-deja/g++.mike/pmf6.C: Ditto.
        * testsuite/g++.old-deja/g++.mike/warn1.C: Ditto.
        * testsuite/g++.old-deja/g++.mike/warn5.C: Ditto.
        * testsuite/g++.old-deja/g++.niklas/t141.C: Ditto.
        * testsuite/g++.old-deja/g++.other/cast6.C: Ditto.
        * testsuite/g++.old-deja/g++.other/cond5.C: Ditto.
        * testsuite/g++.old-deja/g++.other/conv8.C: Ditto.
        * testsuite/g++.old-deja/g++.other/decl5.C: Ditto.
        * testsuite/g++.old-deja/g++.other/delete2.C: Ditto.
        * testsuite/g++.old-deja/g++.other/delete4.C: Ditto.
        * testsuite/g++.old-deja/g++.other/linkage1.C: Ditto.
        * testsuite/g++.old-deja/g++.other/ptrmem8.C: Ditto.
        * testsuite/g++.old-deja/g++.other/typename1.C: Ditto.
        * testsuite/g++.old-deja/g++.pt/typename14.C: Ditto.
        * testsuite/g++.old-deja/g++.pt/typename4.C: Ditto.
        * testsuite/g++.old-deja/g++.pt/typename5.C: Ditto.
        * testsuite/g++.old-deja/g++.pt/typename7.C: Ditto.

Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/charset/attribute2.c
    trunk/gcc/testsuite/g++.dg/conversion/dr195.C
    trunk/gcc/testsuite/g++.dg/cpp0x/variadic60.C
    trunk/gcc/testsuite/g++.dg/expr/cast2.C
    trunk/gcc/testsuite/g++.dg/ext/anon-struct4.C
    trunk/gcc/testsuite/g++.dg/ext/member-attr.C
    trunk/gcc/testsuite/g++.dg/ext/utf-array-short-wchar.C
    trunk/gcc/testsuite/g++.dg/ext/utf-array.C
    trunk/gcc/testsuite/g++.dg/ext/utf-typedef-cxx0x.C
    trunk/gcc/testsuite/g++.dg/ext/visibility/redecl1.C
    trunk/gcc/testsuite/g++.dg/ext/visibility/warn4.C
    trunk/gcc/testsuite/g++.dg/parse/defarg11.C
    trunk/gcc/testsuite/g++.dg/template/error17.C
    trunk/gcc/testsuite/g++.dg/warn/pedantic2.C
    trunk/gcc/testsuite/g++.dg/warn/pr21983.C
    trunk/gcc/testsuite/g++.dg/warn/return-reference2.C
    trunk/gcc/testsuite/g++.old-deja/g++.bob/inherit1.C
    trunk/gcc/testsuite/g++.old-deja/g++.brendan/crash13.C
    trunk/gcc/testsuite/g++.old-deja/g++.brendan/crash17.C
    trunk/gcc/testsuite/g++.old-deja/g++.brendan/crash52.C
    trunk/gcc/testsuite/g++.old-deja/g++.brendan/crash55.C
    trunk/gcc/testsuite/g++.old-deja/g++.brendan/enum7.C
    trunk/gcc/testsuite/g++.old-deja/g++.brendan/operators4.C
    trunk/gcc/testsuite/g++.old-deja/g++.brendan/template17.C
    trunk/gcc/testsuite/g++.old-deja/g++.brendan/warnings1.C
    trunk/gcc/testsuite/g++.old-deja/g++.bugs/900205_03.C
    trunk/gcc/testsuite/g++.old-deja/g++.bugs/900227_01.C
    trunk/gcc/testsuite/g++.old-deja/g++.ext/arrnew.C
    trunk/gcc/testsuite/g++.old-deja/g++.ext/attrib4.C
    trunk/gcc/testsuite/g++.old-deja/g++.jason/cond.C
    trunk/gcc/testsuite/g++.old-deja/g++.jason/operator.C
    trunk/gcc/testsuite/g++.old-deja/g++.jason/report.C
    trunk/gcc/testsuite/g++.old-deja/g++.law/friend5.C
    trunk/gcc/testsuite/g++.old-deja/g++.law/temps1.C
    trunk/gcc/testsuite/g++.old-deja/g++.law/union4.C
    trunk/gcc/testsuite/g++.old-deja/g++.martin/pure1.C
    trunk/gcc/testsuite/g++.old-deja/g++.mike/empty.C
    trunk/gcc/testsuite/g++.old-deja/g++.mike/for2.C
    trunk/gcc/testsuite/g++.old-deja/g++.mike/misc9.C
    trunk/gcc/testsuite/g++.old-deja/g++.mike/p10769b.C
    trunk/gcc/testsuite/g++.old-deja/g++.mike/p2855.C
    trunk/gcc/testsuite/g++.old-deja/g++.mike/p3060c.C
    trunk/gcc/testsuite/g++.old-deja/g++.mike/p700.C
    trunk/gcc/testsuite/g++.old-deja/g++.mike/p9732c.C
    trunk/gcc/testsuite/g++.old-deja/g++.mike/pmf6.C
    trunk/gcc/testsuite/g++.old-deja/g++.mike/warn1.C
    trunk/gcc/testsuite/g++.old-deja/g++.mike/warn5.C
    trunk/gcc/testsuite/g++.old-deja/g++.niklas/t141.C
    trunk/gcc/testsuite/g++.old-deja/g++.other/cast6.C
    trunk/gcc/testsuite/g++.old-deja/g++.other/cond5.C
    trunk/gcc/testsuite/g++.old-deja/g++.other/conv8.C
    trunk/gcc/testsuite/g++.old-deja/g++.other/decl5.C
    trunk/gcc/testsuite/g++.old-deja/g++.other/delete2.C
    trunk/gcc/testsuite/g++.old-deja/g++.other/delete4.C
    trunk/gcc/testsuite/g++.old-deja/g++.other/linkage1.C
    trunk/gcc/testsuite/g++.old-deja/g++.other/ptrmem8.C
    trunk/gcc/testsuite/g++.old-deja/g++.other/typename1.C
    trunk/gcc/testsuite/g++.old-deja/g++.pt/typename14.C
    trunk/gcc/testsuite/g++.old-deja/g++.pt/typename4.C
    trunk/gcc/testsuite/g++.old-deja/g++.pt/typename5.C
    trunk/gcc/testsuite/g++.old-deja/g++.pt/typename7.C


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241


^ permalink raw reply	[flat|nested] 68+ messages in thread

* [Bug testsuite/25241] [C++] DejaGNU does not distinguish between errors and warnings
  2005-12-03 10:12 [Bug testsuite/25241] New: DejaGNU does not distinguish between errors and warnings gdr at gcc dot gnu dot org
                   ` (61 preceding siblings ...)
  2008-09-17  0:09 ` janis at gcc dot gnu dot org
@ 2008-09-17 23:25 ` janis at gcc dot gnu dot org
  2008-09-18 22:32 ` janis at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  66 siblings, 0 replies; 68+ messages in thread
From: janis at gcc dot gnu dot org @ 2008-09-17 23:25 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #63 from janis at gcc dot gnu dot org  2008-09-17 23:24 -------
Subject: Bug 25241

Author: janis
Date: Wed Sep 17 23:23:11 2008
New Revision: 140437

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=140437
Log:
        PR testsuite/25241
        * g++.old-deja/g++.brendan/crash7.C: Remove "error" or "warning" from
        message for dg-error/dg-warning.
        * g++.old-deja/g++.jason/crash11.C: Ditto.
        * g++.old-deja/g++.oliva/template1.C: Ditto.
        * g++.old-deja/g++.benjamin/tem03.C: Ditto.
        * g++.dg/rtti/no-rtti.C: Ditto.
        * g++.dg/cpp/pedantic-errors.C: Ditto.
        * g++.dg/cpp/string-2.C: Ditto.
        * g++.dg/ext/fpreg1.C: Ditto.
        * g++.dg/ext/altivec-types-1.C: Ditto.
        * g++.dg/warn/write-strings-default.C: Ditto.
        * g++.dg/warn/Wvla-2.C: Ditto.
        * g++.dg/warn/register-var-1.C: Ditto.
        * g++.dg/warn/deprecated-3.C: Ditto.
        * g++.dg/warn/pr30551-2.C: Ditto.
        * g++.dg/warn/overflow-warn-1.C: Ditto.
        * g++.dg/warn/pr30551.C: Ditto.
        * g++.dg/warn/pointer-integer-comparison.C: Ditto.
        * g++.dg/warn/pr12242.C: Ditto.
        * g++.dg/warn/write-strings.C: Ditto.
        * g++.dg/warn/overflow-warn-3.C: Ditto.
        * g++.dg/warn/overflow-warn-4.C: Ditto.
        * g++.dg/warn/overflow-warn-6.C: Ditto.
        * g++.dg/parse/crash43.C: Ditto.
        * g++.dg/parse/crash44.C: Ditto.
        * g++.dg/parse/offsetof8.C: Ditto.
        * g++.dg/gomp/pr35158.C: Ditto.
        * g++.dg/template/crash81.C: Ditto.

Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/cpp/pedantic-errors.C
    trunk/gcc/testsuite/g++.dg/cpp/string-2.C
    trunk/gcc/testsuite/g++.dg/ext/altivec-types-1.C
    trunk/gcc/testsuite/g++.dg/ext/fpreg1.C
    trunk/gcc/testsuite/g++.dg/gomp/pr35158.C
    trunk/gcc/testsuite/g++.dg/parse/crash43.C
    trunk/gcc/testsuite/g++.dg/parse/crash44.C
    trunk/gcc/testsuite/g++.dg/parse/offsetof8.C
    trunk/gcc/testsuite/g++.dg/rtti/no-rtti.C
    trunk/gcc/testsuite/g++.dg/template/crash81.C
    trunk/gcc/testsuite/g++.dg/warn/Wvla-2.C
    trunk/gcc/testsuite/g++.dg/warn/deprecated-3.C
    trunk/gcc/testsuite/g++.dg/warn/overflow-warn-1.C
    trunk/gcc/testsuite/g++.dg/warn/overflow-warn-3.C
    trunk/gcc/testsuite/g++.dg/warn/overflow-warn-4.C
    trunk/gcc/testsuite/g++.dg/warn/overflow-warn-6.C
    trunk/gcc/testsuite/g++.dg/warn/pointer-integer-comparison.C
    trunk/gcc/testsuite/g++.dg/warn/pr12242.C
    trunk/gcc/testsuite/g++.dg/warn/pr30551-2.C
    trunk/gcc/testsuite/g++.dg/warn/pr30551.C
    trunk/gcc/testsuite/g++.dg/warn/register-var-1.C
    trunk/gcc/testsuite/g++.dg/warn/write-strings-default.C
    trunk/gcc/testsuite/g++.dg/warn/write-strings.C
    trunk/gcc/testsuite/g++.old-deja/g++.benjamin/tem03.C
    trunk/gcc/testsuite/g++.old-deja/g++.brendan/crash7.C
    trunk/gcc/testsuite/g++.old-deja/g++.jason/crash11.C
    trunk/gcc/testsuite/g++.old-deja/g++.oliva/template1.C


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241


^ permalink raw reply	[flat|nested] 68+ messages in thread

* [Bug testsuite/25241] [C++] DejaGNU does not distinguish between errors and warnings
  2005-12-03 10:12 [Bug testsuite/25241] New: DejaGNU does not distinguish between errors and warnings gdr at gcc dot gnu dot org
                   ` (62 preceding siblings ...)
  2008-09-17 23:25 ` janis at gcc dot gnu dot org
@ 2008-09-18 22:32 ` janis at gcc dot gnu dot org
  2008-12-28 22:19 ` reichelt at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  66 siblings, 0 replies; 68+ messages in thread
From: janis at gcc dot gnu dot org @ 2008-09-18 22:32 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #64 from janis at gcc dot gnu dot org  2008-09-18 22:31 -------
Subject: Bug 25241

Author: janis
Date: Thu Sep 18 22:29:39 2008
New Revision: 140476

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=140476
Log:
        PR testsuite/25241
        * lib/g++.exp (g++_init): Enable overrides of dg-error, dg-warning
        for C++ tests.
        * g++.dg/conversion/ambig1.C: Clean up dg-error/dg-warning; use
        dg-message for notes.
        * g++.dg/conversion/simd1.C: Ditto.
        * g++.dg/conversion/simd3.C: Ditto.
        * g++.dg/cpp0x/rv2n.C: Ditto.
        * g++.dg/cpp0x/rv3n.C: Ditto.
        * g++.dg/cpp0x/rv4n.C: Ditto.
        * g++.dg/cpp0x/rv5n.C: Ditto.
        * g++.dg/cpp0x/rv6n.C: Ditto.
        * g++.dg/cpp0x/rv7n.C: Ditto.
        * g++.dg/cpp0x/variadic36.C: Ditto.
        * g++.dg/cpp0x/variadic59.C: Ditto.
        * g++.dg/cpp0x/variadic71.C: Ditto.
        * g++.dg/cpp0x/variadic-ex13.C: Ditto.
        * g++.dg/expr/cond9.C: Ditto.
        * g++.dg/expr/pmf-1.C: Ditto.
        * g++.dg/ext/case-range2.C: Ditto.
        * g++.dg/ext/case-range3.C: Ditto.
        * g++.dg/ext/is_class_error2.C: Ditto.
        * g++.dg/ext/label5.C: Ditto.
        * g++.dg/ext/pr27019.C: Ditto.
        * g++.dg/gomp/pr26690-1.C: Ditto.
        * g++.dg/gomp/pr26690-2.C: Ditto.
        * g++.dg/gomp/pr34694.C: Ditto.
        * g++.dg/gomp/tpl-parallel-2.C: Ditto.
        * g++.dg/inherit/base3.C: Ditto.
        * g++.dg/inherit/using6.C: Ditto.
        * g++.dg/init/brace6.C: Ditto.
        * g++.dg/init/ctor4.C: Ditto.
        * g++.dg/lookup/conv-1.C: Ditto.
        * g++.dg/lookup/new1.C: Ditto.
        * g++.dg/lookup/scoped6.C: Ditto.
        * g++.dg/lookup/using7.C: Ditto.
        * g++.dg/lookup/using9.C: Ditto.
        * g++.dg/other/abstract1.C: Ditto.
        * g++.dg/other/abstract2.C: Ditto.
        * g++.dg/other/anon5.C: Ditto.
        * g++.dg/other/crash-4.C: Ditto.
        * g++.dg/other/error10.C: Ditto.
        * g++.dg/other/error13.C: Ditto.
        * g++.dg/other/error20.C: Ditto.
        * g++.dg/other/error5.C: Ditto.
        * g++.dg/other/field1.C: Ditto.
        * g++.dg/other/offsetof5.C: Ditto.
        * g++.dg/other/semicolon.C: Ditto.
        * g++.dg/overload/ambig1.C: Ditto.
        * g++.dg/overload/arg3.C: Ditto.
        * g++.dg/overload/builtin1.C: Ditto.
        * g++.dg/overload/copy1.C: Ditto.
        * g++.dg/overload/new1.C: Ditto.
        * g++.dg/overload/template4.C: Ditto.
        * g++.dg/overload/using2.C: Ditto.
        * g++.dg/parse/bitfield2.C: Ditto.
        * g++.dg/parse/constant4.C: Ditto.
        * g++.dg/parse/crash20.C: Ditto.
        * g++.dg/parse/crash36.C: Ditto.
        * g++.dg/parse/crash5.C: Ditto.
        * g++.dg/parse/error11.C: Ditto.
        * g++.dg/parse/error12.C: Ditto.
        * g++.dg/parse/error19.C: Ditto.
        * g++.dg/parse/error28.C: Ditto.
        * g++.dg/parse/friend5.C: Ditto.
        * g++.dg/parse/invalid-op1.C: Ditto.
        * g++.dg/parse/missing-template1.C: Ditto.
        * g++.dg/parse/non-dependent2.C: Ditto.
        * g++.dg/parse/ret-type2.C: Ditto.
        * g++.dg/parse/specialization1.C: Ditto.
        * g++.dg/parse/template18.C: Ditto.
        * g++.dg/parse/template3.C: Ditto.
        * g++.dg/parse/template9.C: Ditto.
        * g++.dg/tc1/dr108.C: Ditto.
        * g++.dg/tc1/dr152.C: Ditto.
        * g++.dg/tc1/dr166.C: Ditto.
        * g++.dg/template/access11.C: Ditto.
        * g++.dg/template/access2.C: Ditto.
        * g++.dg/template/access3.C: Ditto.
        * g++.dg/template/access7.C: Ditto.
        * g++.dg/template/copy1.C: Ditto.
        * g++.dg/template/crash13.C: Ditto.
        * g++.dg/template/crash37.C: Ditto.
        * g++.dg/template/crash40.C: Ditto.
        * g++.dg/template/crash58.C: Ditto.
        * g++.dg/template/ctor5.C: Ditto.
        * g++.dg/template/dependent-expr5.C: Ditto.
        * g++.dg/template/eh2.C: Ditto.
        * g++.dg/template/error2.C: Ditto.
        * g++.dg/template/error33.C: Ditto.
        * g++.dg/template/error4.C: Ditto.
        * g++.dg/template/friend31.C: Ditto.
        * g++.dg/template/friend32.C: Ditto.
        * g++.dg/template/instantiate1.C: Ditto.
        * g++.dg/template/instantiate3.C: Ditto.
        * g++.dg/template/instantiate5.C: Ditto.
        * g++.dg/template/instantiate7.C: Ditto.
        * g++.dg/template/local6.C: Ditto.
        * g++.dg/template/lookup2.C: Ditto.
        * g++.dg/template/member5.C: Ditto.
        * g++.dg/template/memfriend15.C: Ditto.
        * g++.dg/template/memfriend16.C: Ditto.
        * g++.dg/template/memfriend17.C: Ditto.
        * g++.dg/template/memfriend7.C: Ditto.
        * g++.dg/template/meminit1.C: Ditto.
        * g++.dg/template/nested3.C: Ditto.
        * g++.dg/template/new3.C: Ditto.
        * g++.dg/template/nontype12.C: Ditto.
        * g++.dg/template/nontype13.C: Ditto.
        * g++.dg/template/nontype6.C: Ditto.
        * g++.dg/template/non-type-template-argument-1.C: Ditto.
        * g++.dg/template/overload9.C: Ditto.
        * g++.dg/template/ptrmem15.C: Ditto.
        * g++.dg/template/ptrmem17.C: Ditto.
        * g++.dg/template/ptrmem4.C: Ditto.
        * g++.dg/template/ptrmem6.C: Ditto.
        * g++.dg/template/ptrmem8.C: Ditto.
        * g++.dg/template/qualified-id1.C: Ditto.
        * g++.dg/template/qualttp20.C: Ditto.
        * g++.dg/template/qualttp3.C: Ditto.
        * g++.dg/template/qualttp4.C: Ditto.
        * g++.dg/template/qualttp5.C: Ditto.
        * g++.dg/template/qualttp6.C: Ditto.
        * g++.dg/template/qualttp7.C: Ditto.
        * g++.dg/template/qualttp8.C: Ditto.
        * g++.dg/template/recurse.C: Ditto.
        * g++.dg/template/sfinae10.C: Ditto.
        * g++.dg/template/sfinae3.C: Ditto.
        * g++.dg/template/spec22.C: Ditto.
        * g++.dg/template/spec23.C: Ditto.
        * g++.dg/template/static9.C: Ditto.
        * g++.dg/template/template-id-2.C: Ditto.
        * g++.dg/template/typename2.C: Ditto.
        * g++.dg/template/typename4.C: Ditto.
        * g++.dg/template/using14.C: Ditto.
        * g++.dg/template/using2.C: Ditto.
        * g++.dg/template/warn1.C: Ditto.
        * g++.dg/warn/incomplete1.C: Ditto.
        * g++.dg/warn/noeffect2.C: Ditto.
        * g++.dg/warn/noeffect4.C: Ditto.
        * g++.dg/warn/pr8570.C: Ditto.
        * g++.dg/warn/Wparentheses-13.C: Ditto.
        * g++.dg/warn/Wparentheses-15.C: Ditto.
        * g++.dg/warn/Wparentheses-16.C: Ditto.
        * g++.dg/warn/Wparentheses-17.C: Ditto.
        * g++.dg/warn/Wparentheses-18.C: Ditto.
        * g++.dg/warn/Wparentheses-19.C: Ditto.
        * g++.dg/warn/Wparentheses-20.C: Ditto.
        * g++.dg/warn/Wparentheses-23.C: Ditto.
        * g++.dg/warn/Wstrict-aliasing-3.C: Ditto.
        * g++.old-deja/g++.benjamin/15799.C: Ditto.
        * g++.old-deja/g++.benjamin/15800-1.C: Ditto.
        * g++.old-deja/g++.benjamin/16077.C: Ditto.
        * g++.old-deja/g++.bob/inherit2.C: Ditto.
        * g++.old-deja/g++.brendan/ambiguity1.C: Ditto.
        * g++.old-deja/g++.brendan/crash29.C: Ditto.
        * g++.old-deja/g++.brendan/crash48.C: Ditto.
        * g++.old-deja/g++.brendan/crash56.C: Ditto.
        * g++.old-deja/g++.brendan/cvt3.C: Ditto.
        * g++.old-deja/g++.brendan/overload1.C: Ditto.
        * g++.old-deja/g++.brendan/overload4.C: Ditto.
        * g++.old-deja/g++.brendan/overload9.C: Ditto.
        * g++.old-deja/g++.bugs/900127_01.C: Ditto.
        * g++.old-deja/g++.bugs/900205_04.C: Ditto.
        * g++.old-deja/g++.bugs/900330_02.C: Ditto.
        * g++.old-deja/g++.bugs/900404_03.C: Ditto.
        * g++.old-deja/g++.bugs/900514_03.C: Ditto.
        * g++.old-deja/g++.eh/ctor1.C: Ditto.
        * g++.old-deja/g++.eh/spec6.C: Ditto.
        * g++.old-deja/g++.ext/overload1.C: Ditto.
        * g++.old-deja/g++.jason/conversion11.C: Ditto.
        * g++.old-deja/g++.jason/crash3.C: Ditto.
        * g++.old-deja/g++.jason/lineno3.C: Ditto.
        * g++.old-deja/g++.jason/lineno4.C: Ditto.
        * g++.old-deja/g++.jason/opeq3.C: Ditto.
        * g++.old-deja/g++.jason/overload16.C: Ditto.
        * g++.old-deja/g++.jason/overload28.C: Ditto.
        * g++.old-deja/g++.jason/pmf5.C: Ditto.
        * g++.old-deja/g++.jason/scoping10.C: Ditto.
        * g++.old-deja/g++.jason/template30.C: Ditto.
        * g++.old-deja/g++.jason/temporary2.C: Ditto.
        * g++.old-deja/g++.jason/tredecl4.C: Ditto.
        * g++.old-deja/g++.law/arg11.C: Ditto.
        * g++.old-deja/g++.law/arg1.C: Ditto.
        * g++.old-deja/g++.law/arm9.C: Ditto.
        * g++.old-deja/g++.law/ctors11.C: Ditto.
        * g++.old-deja/g++.law/ctors17.C: Ditto.
        * g++.old-deja/g++.law/ctors5.C: Ditto.
        * g++.old-deja/g++.law/ctors9.C: Ditto.
        * g++.old-deja/g++.law/enum4.C: Ditto.
        * g++.old-deja/g++.law/missed-error2.C: Ditto.
        * g++.old-deja/g++.law/operators9.C: Ditto.
        * g++.old-deja/g++.mike/net22.C: Ditto.
        * g++.old-deja/g++.mike/net2.C: Ditto.
        * g++.old-deja/g++.mike/p11110.C: Ditto.
        * g++.old-deja/g++.mike/p1989.C: Ditto.
        * g++.old-deja/g++.mike/p2431.C: Ditto.
        * g++.old-deja/g++.mike/p438.C: Ditto.
        * g++.old-deja/g++.mike/p807a.C: Ditto.
        * g++.old-deja/g++.mike/p9068.C: Ditto.
        * g++.old-deja/g++.niklas/t120.C: Ditto.
        * g++.old-deja/g++.niklas/t121.C: Ditto.
        * g++.old-deja/g++.niklas/t128.C: Ditto.
        * g++.old-deja/g++.ns/overload2.C: Ditto.
        * g++.old-deja/g++.ns/template13.C: Ditto.
        * g++.old-deja/g++.ns/using12.C: Ditto.
        * g++.old-deja/g++.oliva/delete1.C: Ditto.
        * g++.old-deja/g++.oliva/overload1.C: Ditto.
        * g++.old-deja/g++.other/crash24.C: Ditto.
        * g++.old-deja/g++.other/crash25.C: Ditto.
        * g++.old-deja/g++.other/decl3.C: Ditto.
        * g++.old-deja/g++.other/expr1.C: Ditto.
        * g++.old-deja/g++.other/overcnv2.C: Ditto.
        * g++.old-deja/g++.other/overload11.C: Ditto.
        * g++.old-deja/g++.other/pmf3.C: Ditto.
        * g++.old-deja/g++.other/ptrmem7.C: Ditto.
        * g++.old-deja/g++.other/vaarg3.C: Ditto.
        * g++.old-deja/g++.other/volatile1.C: Ditto.
        * g++.old-deja/g++.pt/assign1.C: Ditto.
        * g++.old-deja/g++.pt/auto_ptr.C: Ditto.
        * g++.old-deja/g++.pt/const2.C: Ditto.
        * g++.old-deja/g++.pt/crash10.C: Ditto.
        * g++.old-deja/g++.pt/crash20.C: Ditto.
        * g++.old-deja/g++.pt/crash36.C: Ditto.
        * g++.old-deja/g++.pt/crash38.C: Ditto.
        * g++.old-deja/g++.pt/derived3.C: Ditto.
        * g++.old-deja/g++.pt/error2.C: Ditto.
        * g++.old-deja/g++.pt/explicit34.C: Ditto.
        * g++.old-deja/g++.pt/explicit70.C: Ditto.
        * g++.old-deja/g++.pt/friend23.C: Ditto.
        * g++.old-deja/g++.pt/ptrmem10.C: Ditto.
        * g++.old-deja/g++.pt/redecl1.C: Ditto.
        * g++.old-deja/g++.pt/spec35.C: Ditto.
        * g++.old-deja/g++.pt/t05.C: Ditto.
        * g++.old-deja/g++.pt/typename3.C: Ditto.
        * g++.old-deja/g++.pt/typename6.C: Ditto.
        * g++.old-deja/g++.pt/unify8.C: Ditto.
        * g++.old-deja/g++.pt/vaarg3.C: Ditto.
        * g++.old-deja/g++.robertl/eb109.C: Ditto.
        * g++.old-deja/g++.robertl/eb131.C: Ditto.
        * g++.old-deja/g++.robertl/eb22.C: Ditto.
        * g++.old-deja/g++.robertl/eb44.C: Ditto.
        * g++.old-deja/g++.robertl/eb4.C: Ditto.
        * g++.old-deja/g++.robertl/eb69.C: Ditto.
        * g++.dg/parse/constructor1.C: Remove "error" from dg-error, preserving
        column number.
        * g++.dg/parse/error10.C: Ditto.
        * g++.dg/parse/error13.C: Ditto.
        * g++.dg/parse/error14.C: Ditto.
        * g++.dg/parse/error15.C: Ditto.
        * g++.dg/parse/error16.C: Ditto.
        * g++.dg/parse/error17.C: Ditto.
        * g++.dg/parse/error18.C: Ditto.
        * g++.dg/parse/error1.C: Ditto.
        * g++.dg/parse/error20.C: Ditto.
        * g++.dg/parse/error21.C: Ditto.
        * g++.dg/parse/error22.C: Ditto.
        * g++.dg/parse/error23.C: Ditto.
        * g++.dg/parse/error24.C: Ditto.
        * g++.dg/parse/error25.C: Ditto.
        * g++.dg/parse/error26.C: Ditto.
        * g++.dg/parse/error27.C: Ditto.
        * g++.dg/parse/error29.C: Ditto.
        * g++.dg/parse/error2.C: Ditto.
        * g++.dg/parse/error30.C: Ditto.
        * g++.dg/parse/error31.C: Ditto.
        * g++.dg/parse/error3.C: Ditto.
        * g++.dg/parse/error4.C: Ditto.
        * g++.dg/parse/error5.C: Ditto.
        * g++.dg/parse/error6.C: Ditto.
        * g++.dg/parse/error7.C: Ditto.
        * g++.dg/parse/error8.C: Ditto.
        * g++.dg/parse/error9.C: Ditto.
        * g++.dg/parse/error-column.C: Ditto.
        * g++.dg/template/crash80.C: Ditto.
        * g++.dg/template/friend44.C: Ditto.
        * g++.dg/warn/pr26785.C: Ditto.
        * g++.old-deja/g++.brendan/crash16.C: Ditto.

Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/conversion/ambig1.C
    trunk/gcc/testsuite/g++.dg/conversion/simd1.C
    trunk/gcc/testsuite/g++.dg/conversion/simd3.C
    trunk/gcc/testsuite/g++.dg/cpp0x/rv2n.C
    trunk/gcc/testsuite/g++.dg/cpp0x/rv3n.C
    trunk/gcc/testsuite/g++.dg/cpp0x/rv4n.C
    trunk/gcc/testsuite/g++.dg/cpp0x/rv5n.C
    trunk/gcc/testsuite/g++.dg/cpp0x/rv6n.C
    trunk/gcc/testsuite/g++.dg/cpp0x/rv7n.C
    trunk/gcc/testsuite/g++.dg/cpp0x/variadic-ex13.C
    trunk/gcc/testsuite/g++.dg/cpp0x/variadic36.C
    trunk/gcc/testsuite/g++.dg/cpp0x/variadic59.C
    trunk/gcc/testsuite/g++.dg/cpp0x/variadic71.C
    trunk/gcc/testsuite/g++.dg/expr/cond9.C
    trunk/gcc/testsuite/g++.dg/expr/pmf-1.C
    trunk/gcc/testsuite/g++.dg/ext/case-range2.C
    trunk/gcc/testsuite/g++.dg/ext/case-range3.C
    trunk/gcc/testsuite/g++.dg/ext/is_class_error2.C
    trunk/gcc/testsuite/g++.dg/ext/label5.C
    trunk/gcc/testsuite/g++.dg/ext/pr27019.C
    trunk/gcc/testsuite/g++.dg/gomp/pr26690-1.C
    trunk/gcc/testsuite/g++.dg/gomp/pr26690-2.C
    trunk/gcc/testsuite/g++.dg/gomp/pr34694.C
    trunk/gcc/testsuite/g++.dg/gomp/tpl-parallel-2.C
    trunk/gcc/testsuite/g++.dg/inherit/base3.C
    trunk/gcc/testsuite/g++.dg/inherit/using6.C
    trunk/gcc/testsuite/g++.dg/init/brace6.C
    trunk/gcc/testsuite/g++.dg/init/ctor4.C
    trunk/gcc/testsuite/g++.dg/lookup/conv-1.C
    trunk/gcc/testsuite/g++.dg/lookup/new1.C
    trunk/gcc/testsuite/g++.dg/lookup/scoped6.C
    trunk/gcc/testsuite/g++.dg/lookup/using7.C
    trunk/gcc/testsuite/g++.dg/lookup/using9.C
    trunk/gcc/testsuite/g++.dg/other/abstract1.C
    trunk/gcc/testsuite/g++.dg/other/abstract2.C
    trunk/gcc/testsuite/g++.dg/other/anon5.C
    trunk/gcc/testsuite/g++.dg/other/crash-4.C
    trunk/gcc/testsuite/g++.dg/other/error10.C
    trunk/gcc/testsuite/g++.dg/other/error13.C
    trunk/gcc/testsuite/g++.dg/other/error20.C
    trunk/gcc/testsuite/g++.dg/other/error5.C
    trunk/gcc/testsuite/g++.dg/other/field1.C
    trunk/gcc/testsuite/g++.dg/other/offsetof5.C
    trunk/gcc/testsuite/g++.dg/other/semicolon.C
    trunk/gcc/testsuite/g++.dg/overload/ambig1.C
    trunk/gcc/testsuite/g++.dg/overload/arg3.C
    trunk/gcc/testsuite/g++.dg/overload/builtin1.C
    trunk/gcc/testsuite/g++.dg/overload/copy1.C
    trunk/gcc/testsuite/g++.dg/overload/new1.C
    trunk/gcc/testsuite/g++.dg/overload/template4.C
    trunk/gcc/testsuite/g++.dg/overload/using2.C
    trunk/gcc/testsuite/g++.dg/parse/bitfield2.C
    trunk/gcc/testsuite/g++.dg/parse/constant4.C
    trunk/gcc/testsuite/g++.dg/parse/constructor1.C
    trunk/gcc/testsuite/g++.dg/parse/crash20.C
    trunk/gcc/testsuite/g++.dg/parse/crash36.C
    trunk/gcc/testsuite/g++.dg/parse/crash5.C
    trunk/gcc/testsuite/g++.dg/parse/error-column.C
    trunk/gcc/testsuite/g++.dg/parse/error1.C
    trunk/gcc/testsuite/g++.dg/parse/error10.C
    trunk/gcc/testsuite/g++.dg/parse/error11.C
    trunk/gcc/testsuite/g++.dg/parse/error12.C
    trunk/gcc/testsuite/g++.dg/parse/error13.C
    trunk/gcc/testsuite/g++.dg/parse/error14.C
    trunk/gcc/testsuite/g++.dg/parse/error15.C
    trunk/gcc/testsuite/g++.dg/parse/error16.C
    trunk/gcc/testsuite/g++.dg/parse/error17.C
    trunk/gcc/testsuite/g++.dg/parse/error18.C
    trunk/gcc/testsuite/g++.dg/parse/error19.C
    trunk/gcc/testsuite/g++.dg/parse/error2.C
    trunk/gcc/testsuite/g++.dg/parse/error20.C
    trunk/gcc/testsuite/g++.dg/parse/error21.C
    trunk/gcc/testsuite/g++.dg/parse/error22.C
    trunk/gcc/testsuite/g++.dg/parse/error23.C
    trunk/gcc/testsuite/g++.dg/parse/error24.C
    trunk/gcc/testsuite/g++.dg/parse/error25.C
    trunk/gcc/testsuite/g++.dg/parse/error26.C
    trunk/gcc/testsuite/g++.dg/parse/error27.C
    trunk/gcc/testsuite/g++.dg/parse/error28.C
    trunk/gcc/testsuite/g++.dg/parse/error29.C
    trunk/gcc/testsuite/g++.dg/parse/error3.C
    trunk/gcc/testsuite/g++.dg/parse/error30.C
    trunk/gcc/testsuite/g++.dg/parse/error31.C
    trunk/gcc/testsuite/g++.dg/parse/error4.C
    trunk/gcc/testsuite/g++.dg/parse/error5.C
    trunk/gcc/testsuite/g++.dg/parse/error6.C
    trunk/gcc/testsuite/g++.dg/parse/error7.C
    trunk/gcc/testsuite/g++.dg/parse/error8.C
    trunk/gcc/testsuite/g++.dg/parse/error9.C
    trunk/gcc/testsuite/g++.dg/parse/friend5.C
    trunk/gcc/testsuite/g++.dg/parse/invalid-op1.C
    trunk/gcc/testsuite/g++.dg/parse/missing-template1.C
    trunk/gcc/testsuite/g++.dg/parse/non-dependent2.C
    trunk/gcc/testsuite/g++.dg/parse/ret-type2.C
    trunk/gcc/testsuite/g++.dg/parse/specialization1.C
    trunk/gcc/testsuite/g++.dg/parse/template18.C
    trunk/gcc/testsuite/g++.dg/parse/template3.C
    trunk/gcc/testsuite/g++.dg/parse/template9.C
    trunk/gcc/testsuite/g++.dg/tc1/dr108.C
    trunk/gcc/testsuite/g++.dg/tc1/dr152.C
    trunk/gcc/testsuite/g++.dg/tc1/dr166.C
    trunk/gcc/testsuite/g++.dg/template/access11.C
    trunk/gcc/testsuite/g++.dg/template/access2.C
    trunk/gcc/testsuite/g++.dg/template/access3.C
    trunk/gcc/testsuite/g++.dg/template/access7.C
    trunk/gcc/testsuite/g++.dg/template/copy1.C
    trunk/gcc/testsuite/g++.dg/template/crash13.C
    trunk/gcc/testsuite/g++.dg/template/crash37.C
    trunk/gcc/testsuite/g++.dg/template/crash40.C
    trunk/gcc/testsuite/g++.dg/template/crash58.C
    trunk/gcc/testsuite/g++.dg/template/crash80.C
    trunk/gcc/testsuite/g++.dg/template/ctor5.C
    trunk/gcc/testsuite/g++.dg/template/dependent-expr5.C
    trunk/gcc/testsuite/g++.dg/template/eh2.C
    trunk/gcc/testsuite/g++.dg/template/error2.C
    trunk/gcc/testsuite/g++.dg/template/error33.C
    trunk/gcc/testsuite/g++.dg/template/error4.C
    trunk/gcc/testsuite/g++.dg/template/friend31.C
    trunk/gcc/testsuite/g++.dg/template/friend32.C
    trunk/gcc/testsuite/g++.dg/template/friend44.C
    trunk/gcc/testsuite/g++.dg/template/instantiate1.C
    trunk/gcc/testsuite/g++.dg/template/instantiate3.C
    trunk/gcc/testsuite/g++.dg/template/instantiate5.C
    trunk/gcc/testsuite/g++.dg/template/instantiate7.C
    trunk/gcc/testsuite/g++.dg/template/local6.C
    trunk/gcc/testsuite/g++.dg/template/lookup2.C
    trunk/gcc/testsuite/g++.dg/template/member5.C
    trunk/gcc/testsuite/g++.dg/template/memfriend15.C
    trunk/gcc/testsuite/g++.dg/template/memfriend16.C
    trunk/gcc/testsuite/g++.dg/template/memfriend17.C
    trunk/gcc/testsuite/g++.dg/template/memfriend7.C
    trunk/gcc/testsuite/g++.dg/template/meminit1.C
    trunk/gcc/testsuite/g++.dg/template/nested3.C
    trunk/gcc/testsuite/g++.dg/template/new3.C
    trunk/gcc/testsuite/g++.dg/template/non-type-template-argument-1.C
    trunk/gcc/testsuite/g++.dg/template/nontype12.C
    trunk/gcc/testsuite/g++.dg/template/nontype13.C
    trunk/gcc/testsuite/g++.dg/template/nontype6.C
    trunk/gcc/testsuite/g++.dg/template/overload9.C
    trunk/gcc/testsuite/g++.dg/template/ptrmem15.C
    trunk/gcc/testsuite/g++.dg/template/ptrmem17.C
    trunk/gcc/testsuite/g++.dg/template/ptrmem4.C
    trunk/gcc/testsuite/g++.dg/template/ptrmem6.C
    trunk/gcc/testsuite/g++.dg/template/ptrmem8.C
    trunk/gcc/testsuite/g++.dg/template/qualified-id1.C
    trunk/gcc/testsuite/g++.dg/template/qualttp20.C
    trunk/gcc/testsuite/g++.dg/template/qualttp3.C
    trunk/gcc/testsuite/g++.dg/template/qualttp4.C
    trunk/gcc/testsuite/g++.dg/template/qualttp5.C
    trunk/gcc/testsuite/g++.dg/template/qualttp6.C
    trunk/gcc/testsuite/g++.dg/template/qualttp7.C
    trunk/gcc/testsuite/g++.dg/template/qualttp8.C
    trunk/gcc/testsuite/g++.dg/template/recurse.C
    trunk/gcc/testsuite/g++.dg/template/sfinae10.C
    trunk/gcc/testsuite/g++.dg/template/sfinae3.C
    trunk/gcc/testsuite/g++.dg/template/spec22.C
    trunk/gcc/testsuite/g++.dg/template/spec23.C
    trunk/gcc/testsuite/g++.dg/template/static9.C
    trunk/gcc/testsuite/g++.dg/template/template-id-2.C
    trunk/gcc/testsuite/g++.dg/template/typename2.C
    trunk/gcc/testsuite/g++.dg/template/typename4.C
    trunk/gcc/testsuite/g++.dg/template/using14.C
    trunk/gcc/testsuite/g++.dg/template/using2.C
    trunk/gcc/testsuite/g++.dg/template/warn1.C
    trunk/gcc/testsuite/g++.dg/warn/Wparentheses-13.C
    trunk/gcc/testsuite/g++.dg/warn/Wparentheses-15.C
    trunk/gcc/testsuite/g++.dg/warn/Wparentheses-16.C
    trunk/gcc/testsuite/g++.dg/warn/Wparentheses-17.C
    trunk/gcc/testsuite/g++.dg/warn/Wparentheses-18.C
    trunk/gcc/testsuite/g++.dg/warn/Wparentheses-19.C
    trunk/gcc/testsuite/g++.dg/warn/Wparentheses-20.C
    trunk/gcc/testsuite/g++.dg/warn/Wparentheses-23.C
    trunk/gcc/testsuite/g++.dg/warn/Wstrict-aliasing-3.C
    trunk/gcc/testsuite/g++.dg/warn/incomplete1.C
    trunk/gcc/testsuite/g++.dg/warn/noeffect2.C
    trunk/gcc/testsuite/g++.dg/warn/noeffect4.C
    trunk/gcc/testsuite/g++.dg/warn/pr26785.C
    trunk/gcc/testsuite/g++.dg/warn/pr8570.C
    trunk/gcc/testsuite/g++.old-deja/g++.benjamin/15799.C
    trunk/gcc/testsuite/g++.old-deja/g++.benjamin/15800-1.C
    trunk/gcc/testsuite/g++.old-deja/g++.benjamin/16077.C
    trunk/gcc/testsuite/g++.old-deja/g++.bob/inherit2.C
    trunk/gcc/testsuite/g++.old-deja/g++.brendan/ambiguity1.C
    trunk/gcc/testsuite/g++.old-deja/g++.brendan/crash16.C
    trunk/gcc/testsuite/g++.old-deja/g++.brendan/crash29.C
    trunk/gcc/testsuite/g++.old-deja/g++.brendan/crash48.C
    trunk/gcc/testsuite/g++.old-deja/g++.brendan/crash56.C
    trunk/gcc/testsuite/g++.old-deja/g++.brendan/cvt3.C
    trunk/gcc/testsuite/g++.old-deja/g++.brendan/overload1.C
    trunk/gcc/testsuite/g++.old-deja/g++.brendan/overload4.C
    trunk/gcc/testsuite/g++.old-deja/g++.brendan/overload9.C
    trunk/gcc/testsuite/g++.old-deja/g++.bugs/900127_01.C
    trunk/gcc/testsuite/g++.old-deja/g++.bugs/900205_04.C
    trunk/gcc/testsuite/g++.old-deja/g++.bugs/900330_02.C
    trunk/gcc/testsuite/g++.old-deja/g++.bugs/900404_03.C
    trunk/gcc/testsuite/g++.old-deja/g++.bugs/900514_03.C
    trunk/gcc/testsuite/g++.old-deja/g++.eh/ctor1.C
    trunk/gcc/testsuite/g++.old-deja/g++.eh/spec6.C
    trunk/gcc/testsuite/g++.old-deja/g++.ext/overload1.C
    trunk/gcc/testsuite/g++.old-deja/g++.jason/conversion11.C
    trunk/gcc/testsuite/g++.old-deja/g++.jason/crash3.C
    trunk/gcc/testsuite/g++.old-deja/g++.jason/lineno3.C
    trunk/gcc/testsuite/g++.old-deja/g++.jason/lineno4.C
    trunk/gcc/testsuite/g++.old-deja/g++.jason/opeq3.C
    trunk/gcc/testsuite/g++.old-deja/g++.jason/overload16.C
    trunk/gcc/testsuite/g++.old-deja/g++.jason/overload28.C
    trunk/gcc/testsuite/g++.old-deja/g++.jason/pmf5.C
    trunk/gcc/testsuite/g++.old-deja/g++.jason/scoping10.C
    trunk/gcc/testsuite/g++.old-deja/g++.jason/template30.C
    trunk/gcc/testsuite/g++.old-deja/g++.jason/temporary2.C
    trunk/gcc/testsuite/g++.old-deja/g++.jason/tredecl4.C
    trunk/gcc/testsuite/g++.old-deja/g++.law/arg1.C
    trunk/gcc/testsuite/g++.old-deja/g++.law/arg11.C
    trunk/gcc/testsuite/g++.old-deja/g++.law/arm9.C
    trunk/gcc/testsuite/g++.old-deja/g++.law/ctors11.C
    trunk/gcc/testsuite/g++.old-deja/g++.law/ctors17.C
    trunk/gcc/testsuite/g++.old-deja/g++.law/ctors5.C
    trunk/gcc/testsuite/g++.old-deja/g++.law/ctors9.C
    trunk/gcc/testsuite/g++.old-deja/g++.law/enum4.C
    trunk/gcc/testsuite/g++.old-deja/g++.law/missed-error2.C
    trunk/gcc/testsuite/g++.old-deja/g++.law/operators9.C
    trunk/gcc/testsuite/g++.old-deja/g++.mike/net2.C
    trunk/gcc/testsuite/g++.old-deja/g++.mike/net22.C
    trunk/gcc/testsuite/g++.old-deja/g++.mike/p11110.C
    trunk/gcc/testsuite/g++.old-deja/g++.mike/p1989.C
    trunk/gcc/testsuite/g++.old-deja/g++.mike/p2431.C
    trunk/gcc/testsuite/g++.old-deja/g++.mike/p438.C
    trunk/gcc/testsuite/g++.old-deja/g++.mike/p807a.C
    trunk/gcc/testsuite/g++.old-deja/g++.mike/p9068.C
    trunk/gcc/testsuite/g++.old-deja/g++.niklas/t120.C
    trunk/gcc/testsuite/g++.old-deja/g++.niklas/t121.C
    trunk/gcc/testsuite/g++.old-deja/g++.niklas/t128.C
    trunk/gcc/testsuite/g++.old-deja/g++.ns/overload2.C
    trunk/gcc/testsuite/g++.old-deja/g++.ns/template13.C
    trunk/gcc/testsuite/g++.old-deja/g++.ns/using12.C
    trunk/gcc/testsuite/g++.old-deja/g++.oliva/delete1.C
    trunk/gcc/testsuite/g++.old-deja/g++.oliva/overload1.C
    trunk/gcc/testsuite/g++.old-deja/g++.other/crash24.C
    trunk/gcc/testsuite/g++.old-deja/g++.other/crash25.C
    trunk/gcc/testsuite/g++.old-deja/g++.other/decl3.C
    trunk/gcc/testsuite/g++.old-deja/g++.other/expr1.C
    trunk/gcc/testsuite/g++.old-deja/g++.other/overcnv2.C
    trunk/gcc/testsuite/g++.old-deja/g++.other/overload11.C
    trunk/gcc/testsuite/g++.old-deja/g++.other/pmf3.C
    trunk/gcc/testsuite/g++.old-deja/g++.other/ptrmem7.C
    trunk/gcc/testsuite/g++.old-deja/g++.other/vaarg3.C
    trunk/gcc/testsuite/g++.old-deja/g++.other/volatile1.C
    trunk/gcc/testsuite/g++.old-deja/g++.pt/assign1.C
    trunk/gcc/testsuite/g++.old-deja/g++.pt/auto_ptr.C
    trunk/gcc/testsuite/g++.old-deja/g++.pt/const2.C
    trunk/gcc/testsuite/g++.old-deja/g++.pt/crash10.C
    trunk/gcc/testsuite/g++.old-deja/g++.pt/crash20.C
    trunk/gcc/testsuite/g++.old-deja/g++.pt/crash36.C
    trunk/gcc/testsuite/g++.old-deja/g++.pt/crash38.C
    trunk/gcc/testsuite/g++.old-deja/g++.pt/derived3.C
    trunk/gcc/testsuite/g++.old-deja/g++.pt/error2.C
    trunk/gcc/testsuite/g++.old-deja/g++.pt/explicit34.C
    trunk/gcc/testsuite/g++.old-deja/g++.pt/explicit70.C
    trunk/gcc/testsuite/g++.old-deja/g++.pt/friend23.C
    trunk/gcc/testsuite/g++.old-deja/g++.pt/ptrmem10.C
    trunk/gcc/testsuite/g++.old-deja/g++.pt/redecl1.C
    trunk/gcc/testsuite/g++.old-deja/g++.pt/spec35.C
    trunk/gcc/testsuite/g++.old-deja/g++.pt/t05.C
    trunk/gcc/testsuite/g++.old-deja/g++.pt/typename3.C
    trunk/gcc/testsuite/g++.old-deja/g++.pt/typename6.C
    trunk/gcc/testsuite/g++.old-deja/g++.pt/unify8.C
    trunk/gcc/testsuite/g++.old-deja/g++.pt/vaarg3.C
    trunk/gcc/testsuite/g++.old-deja/g++.robertl/eb109.C
    trunk/gcc/testsuite/g++.old-deja/g++.robertl/eb131.C
    trunk/gcc/testsuite/g++.old-deja/g++.robertl/eb22.C
    trunk/gcc/testsuite/g++.old-deja/g++.robertl/eb4.C
    trunk/gcc/testsuite/g++.old-deja/g++.robertl/eb44.C
    trunk/gcc/testsuite/g++.old-deja/g++.robertl/eb69.C
    trunk/gcc/testsuite/lib/g++.exp


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241


^ permalink raw reply	[flat|nested] 68+ messages in thread

* [Bug testsuite/25241] [C++] DejaGNU does not distinguish between errors and warnings
  2005-12-03 10:12 [Bug testsuite/25241] New: DejaGNU does not distinguish between errors and warnings gdr at gcc dot gnu dot org
                   ` (63 preceding siblings ...)
  2008-09-18 22:32 ` janis at gcc dot gnu dot org
@ 2008-12-28 22:19 ` reichelt at gcc dot gnu dot org
  2009-01-06 17:51 ` janis at gcc dot gnu dot org
  2009-01-10 22:37 ` reichelt at gcc dot gnu dot org
  66 siblings, 0 replies; 68+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2008-12-28 22:19 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #65 from reichelt at gcc dot gnu dot org  2008-12-28 22:16 -------
Janis, Manuel, is this fixed now?


-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |reichelt at gcc dot gnu dot
                   |                            |org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241


^ permalink raw reply	[flat|nested] 68+ messages in thread

* [Bug testsuite/25241] [C++] DejaGNU does not distinguish between errors and warnings
  2005-12-03 10:12 [Bug testsuite/25241] New: DejaGNU does not distinguish between errors and warnings gdr at gcc dot gnu dot org
                   ` (64 preceding siblings ...)
  2008-12-28 22:19 ` reichelt at gcc dot gnu dot org
@ 2009-01-06 17:51 ` janis at gcc dot gnu dot org
  2009-01-10 22:37 ` reichelt at gcc dot gnu dot org
  66 siblings, 0 replies; 68+ messages in thread
From: janis at gcc dot gnu dot org @ 2009-01-06 17:51 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #66 from janis at gcc dot gnu dot org  2009-01-06 17:51 -------
This is fixed for C and C++ compiler tests.  We could close this PR and if
someone wants similar support for other languages they can open a new PR.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241


^ permalink raw reply	[flat|nested] 68+ messages in thread

* [Bug testsuite/25241] [C++] DejaGNU does not distinguish between errors and warnings
  2005-12-03 10:12 [Bug testsuite/25241] New: DejaGNU does not distinguish between errors and warnings gdr at gcc dot gnu dot org
                   ` (65 preceding siblings ...)
  2009-01-06 17:51 ` janis at gcc dot gnu dot org
@ 2009-01-10 22:37 ` reichelt at gcc dot gnu dot org
  66 siblings, 0 replies; 68+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2009-01-10 22:37 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #67 from reichelt at gcc dot gnu dot org  2009-01-10 22:37 -------
Fixed by Janis' and Manuel's patches.


-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.4.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241


^ permalink raw reply	[flat|nested] 68+ messages in thread

end of thread, other threads:[~2009-01-10 22:37 UTC | newest]

Thread overview: 68+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-03 10:12 [Bug testsuite/25241] New: DejaGNU does not distinguish between errors and warnings gdr at gcc dot gnu dot org
2005-12-03 16:39 ` [Bug testsuite/25241] " pinskia at gcc dot gnu dot org
2006-11-27 22:12 ` janis at gcc dot gnu dot org
2007-01-27 16:49 ` manu at gcc dot gnu dot org
2007-01-30 20:36 ` manu at gcc dot gnu dot org
2007-01-30 21:02 ` joseph at codesourcery dot com
2007-01-30 21:10 ` manu at gcc dot gnu dot org
2007-01-30 22:14 ` joseph at codesourcery dot com
2007-01-31  2:04 ` janis at gcc dot gnu dot org
2007-01-31  2:28 ` manu at gcc dot gnu dot org
2007-01-31  6:44 ` gdr at cs dot tamu dot edu
2007-01-31 17:34 ` janis at gcc dot gnu dot org
2007-01-31 18:11 ` manu at gcc dot gnu dot org
2007-01-31 18:34 ` janis at gcc dot gnu dot org
2007-01-31 19:11 ` joseph at codesourcery dot com
2007-01-31 21:15 ` gdr at cs dot tamu dot edu
2007-01-31 22:24 ` manu at gcc dot gnu dot org
2007-02-02 12:17 ` manu at gcc dot gnu dot org
2007-02-02 13:14 ` manu at gcc dot gnu dot org
2007-02-03  1:29 ` janis at gcc dot gnu dot org
2007-02-03 22:58 ` janis at gcc dot gnu dot org
2007-02-28  0:31 ` manu at gcc dot gnu dot org
2007-02-28  9:57 ` manu at gcc dot gnu dot org
2007-03-01 21:36 ` manu at gcc dot gnu dot org
2007-03-01 22:54 ` janis at gcc dot gnu dot org
2007-03-01 23:25 ` manu at gcc dot gnu dot org
2007-03-13  0:29 ` manu at gcc dot gnu dot org
2007-03-13  0:34 ` janis at gcc dot gnu dot org
2007-03-13  0:44 ` manu at gcc dot gnu dot org
2007-03-13  0:49 ` manu at gcc dot gnu dot org
2007-03-22 22:37 ` manu at gcc dot gnu dot org
2007-03-23 20:51 ` janis at gcc dot gnu dot org
2007-03-23 21:15 ` janis at gcc dot gnu dot org
2007-03-23 21:52 ` manu at gcc dot gnu dot org
2007-03-23 22:00 ` manu at gcc dot gnu dot org
2007-03-23 22:06 ` manu at gcc dot gnu dot org
2007-03-23 22:13 ` manu at gcc dot gnu dot org
2007-03-23 22:49 ` janis at gcc dot gnu dot org
2007-03-23 23:52 ` janis at gcc dot gnu dot org
2007-03-24  0:28 ` manu at gcc dot gnu dot org
2007-03-24 11:10 ` manu at gcc dot gnu dot org
2007-03-24 17:55 ` manu at gcc dot gnu dot org
2007-03-26 19:49 ` manu at gcc dot gnu dot org
2007-03-29  0:12 ` janis at gcc dot gnu dot org
2007-03-30 11:25 ` manu at gcc dot gnu dot org
2007-03-30 20:14 ` manu at gcc dot gnu dot org
2007-05-15  0:35 ` janis at gcc dot gnu dot org
2007-05-15 15:16 ` manu at gcc dot gnu dot org
2007-05-15 18:30 ` janis at gcc dot gnu dot org
2007-05-17  1:52 ` manu at gcc dot gnu dot org
2007-06-04 21:12 ` manu at gcc dot gnu dot org
2007-06-05 22:30 ` manu at gcc dot gnu dot org
2007-06-06 20:49 ` manu at gcc dot gnu dot org
2007-06-07 21:02 ` manu at gcc dot gnu dot org
2007-06-30 13:03 ` manu at gcc dot gnu dot org
2007-06-30 13:07 ` manu at gcc dot gnu dot org
2007-07-08 14:50 ` manu at gcc dot gnu dot org
2007-07-10  9:17 ` manu at gcc dot gnu dot org
2007-07-12 22:58 ` manu at gcc dot gnu dot org
2007-07-12 23:05 ` manu at gcc dot gnu dot org
2008-08-22 20:10 ` [Bug testsuite/25241] [C++] " janis at gcc dot gnu dot org
2008-08-26 18:30 ` janis at gcc dot gnu dot org
2008-09-17  0:09 ` janis at gcc dot gnu dot org
2008-09-17 23:25 ` janis at gcc dot gnu dot org
2008-09-18 22:32 ` janis at gcc dot gnu dot org
2008-12-28 22:19 ` reichelt at gcc dot gnu dot org
2009-01-06 17:51 ` janis at gcc dot gnu dot org
2009-01-10 22:37 ` reichelt at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).