This is the mail archive of the gcc-help@gcc.gnu.org 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]

compiling insn-attrtab.c


Hi,
I want to modify the generated file insn-attrtab.c.  but when i try to
compile this, it is giving the following errors.

In file included from rtl.h:28,
                 from insn-attrtab.c:8:
real.h:53: error: `SIZEOF_LONG' undeclared here (not in a function)
In file included from rtl.h:28,
                 from insn-attrtab.c:8:
real.h:87:5: division by zero in #if
real.h:87:5: division by zero in #if
real.h:90:6: division by zero in #if
real.h:90:6: division by zero in #if
real.h:93:7: division by zero in #if
real.h:93:7: division by zero in #if
real.h:96:8: division by zero in #if
real.h:96:8: division by zero in #if
real.h:99:9: division by zero in #if
real.h:99:9: division by zero in #if
real.h:102:10: division by zero in #if
real.h:102:10: division by zero in #if
real.h:105:9: #error "REAL_WIDTH > 6 not supported"
In file included from insn-attrtab.c:8:
rtl.h:2060: warning: parameter has incomplete type
rtl.h:2060: warning: parameter has incomplete type
rtl.h:2061: warning: parameter has incomplete type
rtl.h:2061: warning: parameter has incomplete type
rtl.h:2079: warning: parameter has incomplete type
In file included from insn-attrtab.c:11:
recog.h:39: error: field `cl' has incomplete type
recog.h:95: warning: parameter has incomplete type
In file included from regs.h:27,
                 from insn-attrtab.c:12:
hard-reg-set.h:397: error: `FIRST_PSEUDO_REGISTER' undeclared here (not in
a function)
hard-reg-set.h:461: error: `N_REG_CLASSES' undeclared here (not in a
function)
In file included from basic-block.h:32,
                 from regs.h:28,
                 from insn-attrtab.c:12:
function.h:217: error: syntax error before "CUMULATIVE_ARGS"
function.h:217: warning: no semicolon at end of struct or union
function.h:381: error: syntax error before ':' token
function.h:385: error: syntax error before ':' token
function.h:388: error: syntax error before ':' token
function.h:391: error: syntax error before ':' token
function.h:395: error: syntax error before ':' token
function.h:399: error: syntax error before ':' token
function.h:402: error: syntax error before ':' token
function.h:406: error: syntax error before ':' token
function.h:410: error: syntax error before ':' token
function.h:416: error: syntax error before ':' token
function.h:423: error: syntax error before ':' token
function.h:426: error: syntax error before ':' token
function.h:430: error: syntax error before ':' token
function.h:433: error: syntax error before ':' token
function.h:442: error: syntax error before ':' token
function.h:445: error: syntax error before ':' token
function.h:448: error: syntax error before ':' token
function.h:451: error: syntax error before ':' token
function.h:454: error: syntax error before ':' token
function.h:459: error: syntax error before ':' token
function.h:463: error: syntax error before ':' token
function.h:572: error: syntax error before '*' token
function.h:574: error: syntax error before '*' token
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md: In
function `bypass_p':
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md:189:
error: `ix86_tune' undeclared (first use in this function)
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md:189:
error: (Each undeclared identifier is reported only once
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md:189:
error: for each function it appears in.)
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md: In
function `insn_default_latency':
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md:189:
error: `ix86_tune' undeclared (first use in this function)
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/sse.md:180:
error: `TARGET_SSE_TYPELESS_STORES' undeclared (first use in this
function)
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md:2647:
error: `TARGET_SSE_LOAD0_BY_PXOR' undeclared (first use in this function)
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md:2663:
error: `TARGET_SSE_PARTIAL_REG_DEPENDENCY' undeclared (first use in this
function)
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md:2353:
error: `TARGET_SSE_SPLIT_REGS' undeclared (first use in this function)
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md:1486:
error: `TARGET_PARTIAL_REG_STALL' undeclared (first use in this function)
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md:1488:
error: `TARGET_QIMODE_MATH' undeclared (first use in this function)
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md:1493:
error: `TARGET_MOVX' undeclared (first use in this function)
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md:1313:
error: `TARGET_HIMODE_MATH' undeclared (first use in this function)
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md: In
function `internal_dfa_insn_code':
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md:189:
error: `ix86_tune' undeclared (first use in this function)
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/sse.md:180:
error: `TARGET_SSE_TYPELESS_STORES' undeclared (first use in this
function)
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md:2647:
error: `TARGET_SSE_LOAD0_BY_PXOR' undeclared (first use in this function)
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md:2663:
error: `TARGET_SSE_PARTIAL_REG_DEPENDENCY' undeclared (first use in this
function)
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md:2353:
error: `TARGET_SSE_SPLIT_REGS' undeclared (first use in this function)
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md:1486:
error: `TARGET_PARTIAL_REG_STALL' undeclared (first use in this function)
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md:1488:
error: `TARGET_QIMODE_MATH' undeclared (first use in this function)
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md:1493:
error: `TARGET_MOVX' undeclared (first use in this function)
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md:1313:
error: `TARGET_HIMODE_MATH' undeclared (first use in this function)
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md: In
function `get_attr_athlon_decode':
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md:189:
error: `ix86_tune' undeclared (first use in this function)
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md: In
function `get_attr_imm_disp':
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md:1486:
error: `TARGET_PARTIAL_REG_STALL' undeclared (first use in this function)
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md:1488:
error: `TARGET_QIMODE_MATH' undeclared (first use in this function)
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md:1493:
error: `TARGET_MOVX' undeclared (first use in this function)
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md: In
function `get_attr_length_immediate':
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md:1486:
error: `TARGET_PARTIAL_REG_STALL' undeclared (first use in this function)
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md:1488:
error: `TARGET_QIMODE_MATH' undeclared (first use in this function)
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md:1493:
error: `TARGET_MOVX' undeclared (first use in this function)
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md:1313:
error: `TARGET_HIMODE_MATH' undeclared (first use in this function)
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md: In
function `get_attr_memory':
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md:1486:
error: `TARGET_PARTIAL_REG_STALL' undeclared (first use in this function)
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md:1488:
error: `TARGET_QIMODE_MATH' undeclared (first use in this function)
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md:1493:
error: `TARGET_MOVX' undeclared (first use in this function)
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md:1313:
error: `TARGET_HIMODE_MATH' undeclared (first use in this function)
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md: In
function `get_attr_modrm':
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md:189:
error: `ix86_tune' undeclared (first use in this function)
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md:1486:
error: `TARGET_PARTIAL_REG_STALL' undeclared (first use in this function)
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md:1488:
error: `TARGET_QIMODE_MATH' undeclared (first use in this function)
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md:1493:
error: `TARGET_MOVX' undeclared (first use in this function)
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md: In
function `get_attr_mode':
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md:1493:
error: `TARGET_MOVX' undeclared (first use in this function)
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md:1508:
error: `TARGET_PARTIAL_REG_DEPENDENCY' undeclared (first use in this
function)
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md:1514:
error: `TARGET_PARTIAL_REG_STALL' undeclared (first use in this function)
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md:1516:
error: `TARGET_QIMODE_MATH' undeclared (first use in this function)
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md:1313:
error: `TARGET_HIMODE_MATH' undeclared (first use in this function)
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md:2331:
error: `TARGET_SSE_LOAD0_BY_PXOR' undeclared (first use in this function)
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md:2351:
error: `TARGET_SSE_PARTIAL_REG_DEPENDENCY' undeclared (first use in this
function)
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md:2353:
error: `TARGET_SSE_SPLIT_REGS' undeclared (first use in this function)
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/sse.md:95: error:
`TARGET_SSE_TYPELESS_STORES' undeclared (first use in this function)
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md: In
function `get_attr_pent_pair':
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md:1486:
error: `TARGET_PARTIAL_REG_STALL' undeclared (first use in this function)
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md:1488:
error: `TARGET_QIMODE_MATH' undeclared (first use in this function)
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md:1493:
error: `TARGET_MOVX' undeclared (first use in this function)
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md:1313:
error: `TARGET_HIMODE_MATH' undeclared (first use in this function)
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md: In
function `get_attr_pent_prefix':
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md:189:
error: `ix86_tune' undeclared (first use in this function)
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md:2647:
error: `TARGET_SSE_LOAD0_BY_PXOR' undeclared (first use in this function)
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md:2663:
error: `TARGET_SSE_PARTIAL_REG_DEPENDENCY' undeclared (first use in this
function)
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md:2673:
error: `TARGET_SSE_SPLIT_REGS' undeclared (first use in this function)
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md:1311:
error: `TARGET_PARTIAL_REG_STALL' undeclared (first use in this function)
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md:1313:
error: `TARGET_HIMODE_MATH' undeclared (first use in this function)
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md:1319:
error: `TARGET_MOVX' undeclared (first use in this function)
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md: In
function `get_attr_prefix_rex':
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md:1493:
error: `TARGET_MOVX' undeclared (first use in this function)
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md:1508:
error: `TARGET_PARTIAL_REG_DEPENDENCY' undeclared (first use in this
function)
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md:1514:
error: `TARGET_PARTIAL_REG_STALL' undeclared (first use in this function)
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md:1516:
error: `TARGET_QIMODE_MATH' undeclared (first use in this function)
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md: In
function `get_attr_prefix_0f':
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md:1311:
error: `TARGET_PARTIAL_REG_STALL' undeclared (first use in this function)
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md:1313:
error: `TARGET_HIMODE_MATH' undeclared (first use in this function)
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md:1319:
error: `TARGET_MOVX' undeclared (first use in this function)
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md:189:
error: `ix86_tune' undeclared (first use in this function)
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md: In
function `get_attr_prefix_rep':
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md:2663:
error: `TARGET_SSE_PARTIAL_REG_DEPENDENCY' undeclared (first use in this
function)
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md:2673:
error: `TARGET_SSE_SPLIT_REGS' undeclared (first use in this function)
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/sse.md: In
function `get_attr_prefix_data16':
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/sse.md:180:
error: `TARGET_SSE_TYPELESS_STORES' undeclared (first use in this
function)
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md:2647:
error: `TARGET_SSE_LOAD0_BY_PXOR' undeclared (first use in this function)
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md:2663:
error: `TARGET_SSE_PARTIAL_REG_DEPENDENCY' undeclared (first use in this
function)
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md: In
function `get_attr_type':
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md:1486:
error: `TARGET_PARTIAL_REG_STALL' undeclared (first use in this function)
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md:1488:
error: `TARGET_QIMODE_MATH' undeclared (first use in this function)
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md:1493:
error: `TARGET_MOVX' undeclared (first use in this function)
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md:1313:
error: `TARGET_HIMODE_MATH' undeclared (first use in this function)
/users/pg05/pavankumar/Install/gcc-4.1.1/gcc/config/i386/i386.md:10527:
error: `TARGET_DOUBLE_WITH_ADD' undeclared (first use in this function)





Pavan,
Home: http://www.cse.iitb.ac.in/~pavankumar







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