debugging for egcs

Mike Stump mrs@wrs.com
Tue Feb 24 20:44:00 GMT 1998


> Date: Tue, 24 Feb 1998 13:54:16 -0700
> From: Jeffrey A Law <law@hurl.cygnus.com>

> The c-torture framework does not need the source annotated with
> additional information.  The C++ tests do.

They don't require it.  For example, here is conv1.C:

--------------------
enum E { C };
 
E foo() {
  return C;
}
 
main() {
  if (foo() != C)
    return 1;
}
--------------------

As you can see, nothing funny, nothing special.  Though, to be fair to
your comment, putting in testsuite directives is useful and done with
regularity.  I put them in half (43%) of the time.



More information about the Gcc mailing list