GCC Bugzilla – Attachment 15711 Details for
Bug 36415
[4.3 Regression] internal compiler error: in extract_insn, at recog.c:1990
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Reduced testcase
testcase-min.ii (text/x-c++src), 2.61 KB, created by
Aurelien Jarno
on 2008-06-02 05:10:10 UTC
(
hide
)
Description:
Reduced testcase
Filename:
MIME Type:
Creator:
Aurelien Jarno
Created:
2008-06-02 05:10:10 UTC
Size:
2.61 KB
patch
obsolete
>extern "C" >{ > typedef int int8_t __attribute__ ((__mode__ (__QI__))); > typedef int int32_t __attribute__ ((__mode__ (__SI__))); >} >typedef unsigned short int uint16_t; >typedef unsigned int uint32_t; >typedef int8_t UBool; >typedef uint16_t UChar; >typedef int32_t UChar32; >typedef void *UClassID; >typedef enum UErrorCode >{ >} UErrorCode; >namespace icu_3_4 >{ > class UMemory > { > }; > class UObject:public UMemory > { > }; > class Replaceable:public UObject > { > }; > class UnicodeString:public Replaceable > { > public: > inline const UChar *getBuffer () const; > }; > class UVector; > class UVector32; > struct REStackFrame; > struct Regex8BitSet; > class RegexPattern:public UObject > { > public: > UVector32 * fCompiledPat; > UVector *fSets; > Regex8BitSet *fSets8; > }; > class RegexMatcher:public UObject > { > virtual UBool find (); > static UClassID getStaticClassID (); > REStackFrame *resetStack (); > const RegexPattern *fPattern; > const UnicodeString *fInput; > }; > class UnicodeFunctor:public UObject > { > }; > class UnicodeMatcher > { > }; > class UnicodeFilter:public UnicodeFunctor, public UnicodeMatcher > { > }; >} >namespace icu_3_4 >{ > class UnicodeSet:public UnicodeFilter > { > }; > class UVector:public UObject > { > public: > void *elementAt (int32_t index) const; > }; > class UVector32:public UObject > { > public: > int32_t * getBuffer () const; > int32_t *reserveBlock (int32_t size, UErrorCode & status); > }; > inline int32_t *UVector32::reserveBlock (int32_t size, UErrorCode & status) > { > } > enum > { > URX_BACKTRACK = 1, > }; > struct REStackFrame > { > int32_t fInputIdx; > int32_t fPatIdx; > }; > struct Regex8BitSet:public UMemory > { > inline Regex8BitSet (); > inline UBool contains (UChar32 c); > int8_t d[32]; > }; > inline Regex8BitSet::Regex8BitSet () > { > } > inline UBool Regex8BitSet::contains (UChar32 c) > { > return ((d[c >> 3] & 1 << (c & 7)) != 0); > } > UBool RegexMatcher::find () > { > int32_t op; > int32_t opType; > int32_t opValue; > int32_t *pat = fPattern->fCompiledPat->getBuffer (); > UVector *sets = fPattern->fSets; > const UChar *inputBuf = fInput->getBuffer (); > REStackFrame *fp = resetStack (); > { > op = pat[fp->fPatIdx]; > opType = ((uint32_t) (op) >> 24); > opValue = ((op) & 0xffffff); > switch (opType) > { > case URX_BACKTRACK: > { > UChar32 c; > { > (c) = (inputBuf)[(fp->fInputIdx)++]; > Regex8BitSet *s8 = &fPattern->fSets8[opValue]; > if (s8->contains (c)) > UnicodeSet *s = (UnicodeSet *) sets->elementAt (opValue); > } > } > } > } > } > UClassID RegexMatcher::getStaticClassID () > { > } >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 36415
: 15711