This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/29384] New: internal compiler error: in insn_default_length, at insn-attrtab.c:1134


I am currently using GCC compiler (3.4.4) on Mips target, with following

mipsisa32-elf-gcc -mips16 -msoft-float -EB -fdata-sections -fno-exceptions -MD
-g -G0 -I. -I... -Wall -Wpointer-arith -Winline
 -Wundef  -c  ... -c -o c:xxx.c

and during compilation process, the following error appears (I have checked
previous bug on 
yhe same bug and I hope I will be luckier)

../../../../../app/mmi/common/mmiGenre.c: In function `mmiGenreInit':
../../../../../app/mmi/common/mmiGenre.c:92: error: unrecognizable insn:
(insn 14 13 15 ../../../../../app/mmi/common/mmiGenre.c:81 (set (reg/f:SI 2 $2
        (mem/u:SI (label_ref 0) [0 S4 A32])) -1 (nil)
    (expr_list:REG_EQUAL (symbol_ref:SI ("*isInit.0") [flags 0x2] <var_decl
0xe1c900 isInit>)
../../../../../app/mmi/common/mmiGenre.c:92: internal compiler error: in
insn_default_length, at insn-attrtab.c:1134
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:> for instructions.
make[3]: *** [../../../../bordeaux2/mojo2/Debug/app/mmi/common/mmiGenre.o]
Error 1

Source code is the following one:

#define MMI_GENRE_START(country, genreNum)
#define MMI_GENRE_END(country)
#define MMI_GENRE_TYPE(country, genreName, nibbleId) strId =
eMMISTR_GENRE_##genreName; \
    countryRef = eGENRE_COUNTRY_INDEX_##country; \
    for(i = 0; i < MMI_GENRE_MAX_NUM; i++) \
        if(gMmiGenre[countryRef][i].name == 0) \
            gMmiGenre[countryRef][i].name = strId;\
            gMmiGenre[countryRef][i].nibble[0] = nibbleId;\
            break; \
        if(strId == gMmiGenre[countryRef][i].name) \
        { \
            uint32 j = 0; \
            while(j < MMI_GENRE_MAX_NUM) \
                if(gMmiGenre[countryRef][i].nibble[j] == 0)\
                    gMmiGenre[countryRef][i].nibble[j] = nibbleId;\

void mmiGenreInit()
    static boolean isInit = FALSE;
    EMmiStringId strId;
    uint32 i = 0;
    ECountryId countryRef;
    #define GENRE_DEF

                #ifdef GENRE_DEF
                MMI_GENRE_START(UK, 8)
                MMI_GENRE_TYPE(UK, MOVIE, 0x01)
                MMI_GENRE_TYPE(UK, NEWS, 0x02)
                MMI_GENRE_TYPE(UK, NEWS, 0x07)
                MMI_GENRE_TYPE(UK, NEWS, 0x08)
                MMI_GENRE_TYPE(UK, ENTERTAINMENT, 0x03)
                MMI_GENRE_TYPE(UK, ENTERTAINMENT, 0x06)
                MMI_GENRE_TYPE(UK, SPORTS, 0x04)
                MMI_GENRE_TYPE(UK, CHILDRENS, 0x05)
                MMI_GENRE_TYPE(UK, EDUCATION, 0x09)
                MMI_GENRE_TYPE(UK, LIFESTYLE, 0x0A)
                MMI_GENRE_TYPE(UK, DRAMA, 0x0f)

    #undef GENRE_DEF
    #undef MMI_GENRE_START
    #undef MMI_GENRE_END
    #undef MMI_GENRE_TYPE
    isInit = TRUE;

           Summary: internal compiler error: in insn_default_length, at
           Product: gcc
           Version: 3.4.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: kavonfr at yahoo dot fr

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]