This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: gcc told me to report a bug
- From: Nicola Pero <nicola at brainstorm dot co dot uk>
- To: Stan Shebs <shebs at apple dot com>, ovidiu at cup dot hp dot com, gcc-patches at gcc dot gnu dot org
- Cc: Jay McCarthy <jay at c-i-s dot com>, bug-gcc at gnu dot org
- Date: Wed, 5 Dec 2001 12:09:17 +0000 (GMT)
- Subject: Re: gcc told me to report a bug
On 5 Dec 2001, Jay McCarthy wrote:
> attached are three files:
> the original source file - OFRegularExpression.m.bz2
> file created by --save-temps - OFRegularExpression.mi.bz2
> gcc commandline output - gcc.output.bz2
I studied this bug report and extracted a bf-21.m testcase (of the same
sort of the other bf-*.m testcases), which crashes GCC on compilation (at
least I tried it crashes 2.95.2, 3.0, 3.1).
The testcase is simple enough to start actually working on it and fixing
it (the original bug report was pretty complex).
Ok to commit the new testcase to the gcc testsuite ?
/gcc/gcc/testsuite/objc/execute/bf-21.m:
========================================
#include <objc/objc.h>
#include <objc/objc-api.h>
#include <objc/Object.h>
typedef enum
{
A, B
} enumeration;
@interface MyObject
{
enumeration g:4;
}
@end
@implementation MyObject
@end
#include "bf-common.h"