gcc told me to report a bug

Nicola Pero nicola@brainstorm.co.uk
Wed Dec 5 04:36:00 GMT 2001


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"



More information about the Gcc-bugs mailing list