[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Tinycc-devel] Compiling tcc with the Intel compiler
From: |
Robert Starr |
Subject: |
[Tinycc-devel] Compiling tcc with the Intel compiler |
Date: |
Thu, 22 Oct 2009 11:09:12 +0300 |
A build of
tinycc-2b0fc44f03de59b2a9538f33a1116d886d1aa239.tar.gz using the Intel
compiler. I had to use the Intel compiler since my installed gcc (gcc
version 4.3.2) fails with an internal error. Anyhow, here's the
detailed report from the Intel (version 11) C compiler:
(tinycc)% make
/opt/intel/Compiler/11.0/083/bin/intel64/icc -o tcc tcc.c
-DTCC_TARGET_X86_64 -O2 -g -Wall -fno-strict-aliasing
-Wno-pointer-sign -Wno-sign-compare -D_FORTIFY_SOURCE=0 -lm -ldl
icc: command line warning #10156: ignoring option '-W'; no argument required
icc: command line warning #10156: ignoring option '-W'; no argument required
x86_64-asm.h(439): remark #271: trailing comma is nonstandard
DEF_ASM_OP2(pxor, 0x0fef, 0, OPC_MODRM, OPT_EA | OPT_MMX, OPT_MMX )
^
x86_64-gen.c(57): remark #271: trailing comma is nonstandard
TREG_MEM = 0x10,
^
x86_64-gen.c(108): remark #1418: external function definition with no
prior declaration
void g(int c)
^
x86_64-gen.c(114): remark #2259: non-pointer conversion from "int" to
"unsigned char" may lose significant bits
cur_text_section->data[ind] = c;
^
x86_64-gen.c(118): remark #1418: external function definition with no
prior declaration
void o(unsigned int c)
^
x86_64-gen.c(126): remark #1418: external function definition with no
prior declaration
void gen_le32(int c)
^
x86_64-gen.c(134): remark #1418: external function definition with no
prior declaration
void gen_le64(int64_t c)
^
x86_64-gen.c(147): remark #1418: external function definition with no
prior declaration
void gsym_addr(int t, int a)
^
x86_64-gen.c(158): remark #1418: external function definition with no
prior declaration
void gsym(int t)
^
x86_64-gen.c(299): remark #1418: external function definition with no
prior declaration
void load(int r, SValue *sv)
^
x86_64-gen.c(424): remark #1418: external function definition with no
prior declaration
void store(int r, SValue *v)
^
x86_64-gen.c(552): remark #1418: external function definition with no
prior declaration
void gfunc_call(int nb_args)
^
x86_64-gen.c(760): remark #1418: external function definition with no
prior declaration
void gfunc_prolog(CType *func_type)
^
x86_64-gen.c(908): remark #1418: external function definition with no
prior declaration
void gfunc_epilog(void)
^
x86_64-gen.c(942): remark #1418: external function definition with no
prior declaration
int gjmp(int t)
^
x86_64-gen.c(948): remark #1418: external function definition with no
prior declaration
void gjmp_addr(int a)
^
x86_64-gen.c(961): remark #1418: external function definition with no
prior declaration
int gtst(int inv, int t)
^
x86_64-gen.c(1006): remark #1418: external function definition with no
prior declaration
void gen_opi(int op)
^
x86_64-gen.c(1157): remark #2259: non-pointer conversion from "int" to
"unsigned short" may lose significant bits
vtop->r = r;
^
x86_64-gen.c(1165): remark #1418: external function definition with no
prior declaration
void gen_opl(int op)
^
x86_64-gen.c(1173): remark #1418: external function definition with no
prior declaration
void gen_opf(int op)
^
x86_64-gen.c(1379): remark #1418: external function definition with no
prior declaration
void gen_cvt_itof(int t)
^
x86_64-gen.c(1421): remark #1418: external function definition with no
prior declaration
void gen_cvt_ftof(int t)
^
x86_64-gen.c(1472): remark #1418: external function definition with no
prior declaration
void gen_cvt_ftoi(int t)
^
x86_64-gen.c(1501): remark #2259: non-pointer conversion from "int" to
"unsigned short" may lose significant bits
vtop->r = r;
^
x86_64-gen.c(1505): remark #1418: external function definition with no
prior declaration
void ggoto(void)
^
tccpp.c(173): warning #589: transfer of control bypasses initialization of:
variable "q" (declared at line 186)
goto addv;
^
tccpp.c(176): warning #589: transfer of control bypasses initialization of:
variable "q" (declared at line 186)
goto addv;
^
tccpp.c(197): remark #2259: non-pointer conversion from "int" to
"char" may lose significant bits
*p++ = v;
^
tccpp.c(203): remark #181: argument is incompatible with corresponding
format string conversion
sprintf(p, "L.%u", v - SYM_FIRST_ANOM);
^
tccpp.c(540): remark #1418: external function definition with no prior
declaration
void preprocess_skip(void)
^
tccpp.c(632): remark #1418: external function definition with no prior
declaration
void save_parse_state(ParseState *s)
^
tccpp.c(641): remark #1418: external function definition with no prior
declaration
void restore_parse_state(ParseState *s)
^
tccpp.c(1096): warning #556: a value of type "const char *" cannot be
assigned to an entity of type "const unsigned char *"
s = filename;
^
tccpp.c(1138): remark #2259: non-pointer conversion from "int" to
"char" may lose significant bits
e->type = type;
^
tccpp.c(1235): remark #2259: non-pointer conversion from "int" to
"char" may lose significant bits
*q++ = ch;
^
tccpp.c(1349): remark #2259: non-pointer conversion from "int" to
"char" may lose significant bits
f->inc_type = c;
^
tccpp.c(1454): remark #2259: non-pointer conversion from "int" to
"char" may lose significant bits
*q++ = ch;
^
tccpp.c(1598): remark #1418: external function definition with no
prior declaration
void bn_lshift(unsigned int *bn, int shift, int or_val)
^
tccpp.c(1609): remark #1418: external function definition with no
prior declaration
void bn_zero(unsigned int *bn)
^
tccpp.c(1619): remark #1418: external function definition with no
prior declaration
void parse_number(const char *p)
^
tccpp.c(1631): remark #2259: non-pointer conversion from "int" to
"char" may lose significant bits
*q++ = t;
^
tccpp.c(1663): remark #2259: non-pointer conversion from "int" to
"char" may lose significant bits
*q++ = ch;
^
tccpp.c(1764): remark #2259: non-pointer conversion from "int" to
"char" may lose significant bits
*q++ = ch;
^
tccpp.c(1770): remark #2259: non-pointer conversion from "int" to
"char" may lose significant bits
*q++ = ch;
^
tccpp.c(1777): remark #2259: non-pointer conversion from "int" to
"char" may lose significant bits
*q++ = ch;
^
tccpp.c(1782): remark #2259: non-pointer conversion from "int" to
"char" may lose significant bits
*q++ = ch;
^
tccpp.c(1790): remark #2259: non-pointer conversion from "int" to
"char" may lose significant bits
*q++ = ch;
^
tccpp.c(2066): warning #167: argument of type "uint8_t={unsigned char}
*" is incompatible with parameter of type "const char *"
ts = tok_alloc_new(pts, p1, len);
^
tccpp.c(2657): warning #556: a value of type "uint8_t={unsigned char}
*" cannot be assigned to an entity of type "char *"
p = file->buf_ptr;
^
tccpp.c(2668): warning #556: a value of type "char *" cannot be
assigned to an entity of type "uint8_t={unsigned char} *"
file->buf_ptr = p;
^
tccpp.c(2817): warning #170: pointer points outside of underlying object
vtop = vstack - 1;
^
tccpp.c(2822): remark #1418: external function definition with no
prior declaration
void preprocess_new()
^
tccpp.c(2830): remark #2259: non-pointer conversion from "int" to
"unsigned char" may lose significant bits
isidnum_table[i-CH_EOF] = isid(i) || isnum(i);
^
tccpp.c(2826): remark #593: variable "ts" was set but never used
TokenSym *ts;
^
tccgen.c(21): remark #1418: external function definition with no prior
declaration
void swap(int *p, int *q)
^
tccgen.c(29): remark #1418: external function definition with no prior
declaration
void vsetc(CType *type, int r, CValue *vc)
^
tccgen.c(45): remark #2259: non-pointer conversion from "int" to
"unsigned short" may lose significant bits
vtop->r = r;
^
tccgen.c(149): remark #1418: external function definition with no
prior declaration
void vseti(int r, int v)
^
tccgen.c(165): remark #1418: external function definition with no
prior declaration
void vpushv(SValue *v)
^
tccgen.c(231): remark #2259: non-pointer conversion from "int" to
"unsigned short" may lose significant bits
p->r = (p->r & ~(VT_VALMASK | VT_BOUNDED)) | VT_LLOCAL;
^
tccgen.c(233): remark #2259: non-pointer conversion from "int" to
"unsigned short" may lose significant bits
p->r = lvalue_type(p->type.t) | VT_LOCAL;
^
tccgen.c(325): remark #2259: non-pointer conversion from "int" to
"unsigned short" may lose significant bits
sv.r = s;
^
tccgen.c(332): remark #1418: external function definition with no
prior declaration
void gaddrof(void)
^
tccgen.c(337): remark #2259: non-pointer conversion from "int" to
"unsigned short" may lose significant bits
vtop->r = (vtop->r & ~(VT_VALMASK | VT_LVAL_TYPE)) |
VT_LOCAL | VT_LVAL;
^
tccgen.c(524): remark #2259: non-pointer conversion from "int" to
"unsigned short" may lose significant bits
vtop->r = r;
^
tccgen.c(567): remark #1418: external function definition with no
prior declaration
int rc_fret(int t)
^
tccgen.c(578): remark #1418: external function definition with no
prior declaration
int reg_fret(int t)
^
tccgen.c(589): remark #1418: external function definition with no
prior declaration
void lexpand(void)
^
tccgen.c(632): remark #1418: external function definition with no
prior declaration
void lbuild(int t)
^
tccgen.c(643): remark #1418: external function definition with no
prior declaration
void vrotb(int n)
^
tccgen.c(704): remark #1418: external function definition with no
prior declaration
void gv_dup(void)
^
tccgen.c(739): remark #2259: non-pointer conversion from "int" to
"unsigned short" may lose significant bits
sv.r = r;
^
tccgen.c(745): remark #2259: non-pointer conversion from "int" to
"unsigned short" may lose significant bits
vtop->r = r1;
^
tccgen.c(988): remark #1418: external function definition with no
prior declaration
void gen_opic(int op)
^
tccgen.c(1127): remark #1418: external function definition with no
prior declaration
void gen_opif(int op)
^
tccgen.c(1152): remark #2259: non-pointer conversion from "long
double" to "double" may lose significant bits
if (!ieee_finite(f1) || !ieee_finite(f2))
^
tccgen.c(1152): remark #2259: non-pointer conversion from "long
double" to "double" may lose significant bits
if (!ieee_finite(f1) || !ieee_finite(f2))
^
tccgen.c(1160): remark #1572: floating-point equality and inequality
comparisons are unreliable
if (f2 == 0.0) {
^
tccgen.c(1173): remark #2259: non-pointer conversion from "long
double" to "float" may lose significant bits
v1->c.f = f1;
^
tccgen.c(1175): remark #2259: non-pointer conversion from "long
double" to "double" may lose significant bits
v1->c.d = f1;
^
tccgen.c(1408): remark #1418: external function definition with no
prior declaration
void gen_cvt_itof1(int t)
^
tccgen.c(1424): remark #2259: non-pointer conversion from "int" to
"unsigned short" may lose significant bits
vtop->r = reg_fret(t);
^
tccgen.c(1432): remark #1418: external function definition with no
prior declaration
void gen_cvt_ftoi1(int t)
^
tccgen.c(1537): remark #1572: floating-point equality and inequality
comparisons are unreliable
vtop->c.i = (vtop->c.ld != 0);
^
tccgen.c(1658): remark #2259: non-pointer conversion from "int" to
"unsigned short" may lose significant bits
vtop->r = (vtop->r & ~VT_LVAL_TYPE)
^
tccgen.c(2128): remark #2259: non-pointer conversion from "int" to
"unsigned short" may lose significant bits
vtop[-1].r = t | VT_LVAL;
^
tccgen.c(2149): remark #2259: non-pointer conversion from "int" to
"unsigned short" may lose significant bits
vtop->r |= delayed_cast;
^
tccgen.c(2154): remark #1418: external function definition with no
prior declaration
void inc(int post, int c)
^
tccgen.c(2891): remark #2259: non-pointer conversion from "int" to
"unsigned short" may lose significant bits
vtop->r |= lvalue_type(vtop->type.t);
^
tccgen.c(3174): remark #1599: declaration hides variable "type"
(declared at line 2958)
CType type;
^
tccgen.c(3308): remark #2259: non-pointer conversion from "int" to
"unsigned short" may lose significant bits
vtop->r |= lvalue_type(vtop->type.t);
^
tccgen.c(3361): remark #2259: non-pointer conversion from "int" to
"unsigned short" may lose significant bits
ret.r = reg_fret(ret.type.t);
^
tccgen.c(3716): remark #2259: non-pointer conversion from "int" to
"unsigned short" may lose significant bits
vtop->r = r2;
^
tccgen.c(4365): remark #869: parameter "t" was never referenced
static void init_putz(CType *t, Section *sec, unsigned long c, int size)
^
tccgen.c(4818): remark #1418: external function definition with no
prior declaration
void put_func_debug(Sym *sym)
^
x86_64-asm.c(261): remark #2259: non-pointer conversion from "int" to
"int8_t={signed char}" may lose significant bits
op->reg = reg & 7;
^
x86_64-asm.c(270): remark #2259: non-pointer conversion from "int" to
"int8_t={signed char}" may lose significant bits
op->reg = tok - TOK_ASM_dr0;
^
x86_64-asm.c(273): remark #2259: non-pointer conversion from "int" to
"int8_t={signed char}" may lose significant bits
op->reg = tok - TOK_ASM_es;
^
x86_64-asm.c(286): remark #2259: non-pointer conversion from "int" to
"int8_t={signed char}" may lose significant bits
op->reg = reg;
^
x86_64-asm.c(333): remark #2259: non-pointer conversion from "int" to
"int8_t={signed char}" may lose significant bits
op->reg = asm_parse_reg();
^
x86_64-asm.c(338): remark #2259: non-pointer conversion from "int" to
"int8_t={signed char}" may lose significant bits
op->reg2 = asm_parse_reg();
^
x86_64-asm.c(342): remark #2259: non-pointer conversion from "int" to
"uint8_t={unsigned char}" may lose significant bits
op->shift = get_reg_shift(s1);
^
x86_64-asm.c(523): remark #1599: declaration hides variable "op1"
(declared at line 448)
int op1, op2;
^
x86_64-asm.c(943): remark #2259: non-pointer conversion from "int" to
"uint8_t={unsigned char}" may lose significant bits
regs_allocated[TREG_RAX] |= reg_mask;
^
x86_64-asm.c(944): remark #2259: non-pointer conversion from "int" to
"uint8_t={unsigned char}" may lose significant bits
regs_allocated[TREG_RDX] |= reg_mask;
^
x86_64-asm.c(985): remark #2259: non-pointer conversion from "int" to
"uint8_t={unsigned char}" may lose significant bits
regs_allocated[reg] |= reg_mask;
^
x86_64-asm.c(1194): remark #2259: non-pointer conversion from "int" to
"unsigned short" may lose significant bits
sv.r = (sv.r & ~VT_VALMASK) | VT_LOCAL;
^
x86_64-asm.c(1217): remark #2259: non-pointer conversion from "int" to
"unsigned short" may lose significant bits
sv.r = (sv.r & ~VT_VALMASK) | VT_LOCAL;
^
x86_64-asm.c(1220): remark #2259: non-pointer conversion from "int" to
"unsigned short" may lose significant bits
sv.r = (sv.r & ~VT_VALMASK) | out_reg;
^
tccasm.c(21): remark #869: parameter "s1" was never referenced
static int asm_get_local_label_name(TCCState *s1, unsigned int n)
^
tccasm.c(310): remark #869: parameter "s1" was never referenced
static void use_section1(TCCState *s1, Section *sec)
^
tccasm.c(427): remark #1599: declaration hides variable "size"
(declared at line 326)
int repeat, size, val, i, j;
^
tccasm.c(452): remark #2259: non-pointer conversion from "int" to
"uint8_t={unsigned char}" may lose significant bits
repeat_buf[0] = val;
^
tccasm.c(453): remark #2259: non-pointer conversion from "int" to
"uint8_t={unsigned char}" may lose significant bits
repeat_buf[1] = val >> 8;
^
tccasm.c(454): remark #2259: non-pointer conversion from "int" to
"uint8_t={unsigned char}" may lose significant bits
repeat_buf[2] = val >> 16;
^
tccasm.c(455): remark #2259: non-pointer conversion from "int" to
"uint8_t={unsigned char}" may lose significant bits
repeat_buf[3] = val >> 24;
^
tccasm.c(469): remark #1599: declaration hides variable "n" (declared
at line 326)
unsigned long n;
^
tccasm.c(500): remark #1599: declaration hides variable "size"
(declared at line 326)
int i, size, t;
^
tccasm.c(565): remark #1599: declaration hides variable "sec"
(declared at line 327)
Section *sec;
^
tccasm.c(738): warning #556: a value of type "char *" cannot be
assigned to an entity of type "uint8_t={unsigned char} *"
bf->buf_ptr = str;
^
tccasm.c(739): warning #556: a value of type "char *" cannot be
assigned to an entity of type "uint8_t={unsigned char} *"
bf->buf_end = str + len;
^
tccasm.c(828): remark #2259: non-pointer conversion from "int" to
"unsigned short" may lose significant bits
sv.r = op->reg;
^
tccasm.c(801): remark #869: parameter "nb_outputs" was never referenced
int nb_outputs,
^
tccasm.c(917): remark #593: variable "nb_inputs" was set but never used
int nb_inputs, nb_outputs, nb_operands, i, must_subst, out_reg;
^
tccelf.c(71): warning #556: a value of type "unsigned char *" cannot
be assigned to an entity of type "char *"
strtab = s->link->data;
^
tccelf.c(86): warning #167: argument of type "char *" is incompatible
with parameter of type "const unsigned char *"
h = elf_hash(strtab + sym->st_name) % nb_buckets;
^
tccelf.c(116): remark #2259: non-pointer conversion from "int" to
"unsigned char" may lose significant bits
sym->st_info = info;
^
tccelf.c(117): remark #2259: non-pointer conversion from "int" to
"unsigned char" may lose significant bits
sym->st_other = other;
^
tccelf.c(118): remark #2259: non-pointer conversion from "int" to
"Elf64_Section={uint16_t={unsigned short}}" may lose significant bits
sym->st_shndx = shndx;
^
tccelf.c(129): warning #167: argument of type "const char *" is
incompatible with parameter of type "const unsigned char *"
h = elf_hash(name) % nbuckets;
^
tccelf.c(159): warning #167: argument of type "const char *" is
incompatible with parameter of type "const unsigned char *"
h = elf_hash(name) % nbuckets;
^
tccelf.c(163): warning #556: a value of type "unsigned char *" cannot
be assigned to an entity of type "const char *"
name1 = s->link->data + sym->st_name;
^
tccelf.c(172): remark #869: parameter "s" was never referenced
void *tcc_get_symbol(TCCState *s, const char *name)
^
tccelf.c(183): remark #1418: external function definition with no
prior declaration
void *tcc_get_symbol_err(TCCState *s, const char *name)
^
tccelf.c(203): remark #2259: non-pointer conversion from "int" to
"unsigned char" may lose significant bits
sym_vis = ELFW(ST_VISIBILITY)(other);
^
tccelf.c(215): remark #2259: non-pointer conversion from "int" to
"unsigned char" may lose significant bits
esym_vis = ELFW(ST_VISIBILITY)(esym->st_other);
^
tccelf.c(221): remark #2259: non-pointer conversion from "int" to
"unsigned char" may lose significant bits
new_vis = (esym_vis < sym_vis) ? esym_vis : sym_vis;
^
tccelf.c(223): remark #2259: non-pointer conversion from "int" to
"unsigned char" may lose significant bits
esym->st_other = (esym->st_other & ~ELFW(ST_VISIBILITY)(-1))
^
tccelf.c(252): remark #2259: non-pointer conversion from "int" to
"unsigned char" may lose significant bits
esym->st_info = ELFW(ST_INFO)(sym_bind, sym_type);
^
tccelf.c(253): remark #2259: non-pointer conversion from "int" to
"Elf64_Section={uint16_t={unsigned short}}" may lose significant bits
esym->st_shndx = sh_num;
^
tccelf.c(256): remark #2259: non-pointer conversion from "int" to
"unsigned char" may lose significant bits
esym->st_other = other;
^
tccelf.c(316): remark #2259: non-pointer conversion from "int" to
"unsigned char" may lose significant bits
sym->n_type = type;
^
tccelf.c(317): remark #2259: non-pointer conversion from "int" to
"unsigned char" may lose significant bits
sym->n_other = other;
^
tccelf.c(318): remark #2259: non-pointer conversion from "int" to
"unsigned short" may lose significant bits
sym->n_desc = desc;
^
tccelf.c(323): remark #869: parameter "sec" was never referenced
unsigned long value, Section *sec, int sym_index)
^
tccelf.c(421): remark #2259: non-pointer conversion from "int" to
"Elf64_Section={uint16_t={unsigned short}}" may lose significant bits
sym->st_shndx = bss_section->sh_num;
^
tccelf.c(442): warning #556: a value of type "unsigned char *" cannot
be assigned to an entity of type "const char *"
name = strtab_section->data + sym->st_name;
^
tccelf.c(446): warning #556: a value of type "unsigned char *" cannot
be assigned to an entity of type "const char *"
name = symtab_section->link->data + sym->st_name;
^
tccelf.c(841): remark #2259: non-pointer conversion from
"uint32_t={unsigned int}" to "unsigned char" may lose significant bits
p[0] = val;
^
tccelf.c(842): remark #2259: non-pointer conversion from
"uint32_t={unsigned int}" to "unsigned char" may lose significant bits
p[1] = val >> 8;
^
tccelf.c(843): remark #2259: non-pointer conversion from
"uint32_t={unsigned int}" to "unsigned char" may lose significant bits
p[2] = val >> 16;
^
tccelf.c(844): remark #2259: non-pointer conversion from
"uint32_t={unsigned int}" to "unsigned char" may lose significant bits
p[3] = val >> 24;
^
tccelf.c(907): warning #556: a value of type "unsigned char *" cannot
be assigned to an entity of type "const char *"
name = symtab_section->link->data + sym->st_name;
^
tccelf.c(937): remark #2259: non-pointer conversion from "int" to
"uint8_t={unsigned char}" may lose significant bits
p[1] = modrm + 0x10;
^
tccelf.c(940): remark #2259: non-pointer conversion from "int" to
"uint8_t={unsigned char}" may lose significant bits
p[7] = modrm;
^
tccelf.c(946): remark #2259: non-pointer conversion from "int" to
"uint8_t={unsigned char}" may lose significant bits
p[1] = modrm;
^
tccelf.c(1010): remark #593: variable "symtab" was set but never used
Section *s, *symtab;
^
tccelf.c(1333): remark #1418: external function definition with no
prior declaration
int elf_output_file(TCCState *s1, const char *filename)
^
tccelf.c(1413): warning #556: a value of type "unsigned char *" cannot
be assigned to an entity of type "const char *"
name = symtab_section->link->data + sym->st_name;
^
tccelf.c(1423): remark #1599: declaration hides variable "offset"
(declared at line 1339)
unsigned long offset;
^
tccelf.c(1449): warning #556: a value of type "unsigned char *" cannot
be assigned to an entity of type "const char *"
name = symtab_section->link->data + sym->st_name;
^
tccelf.c(1467): warning #556: a value of type "unsigned char *" cannot
be assigned to an entity of type "const char *"
name = s1->dynsymtab_section->link->data +
esym->st_name;
^
tccelf.c(1509): warning #556: a value of type "unsigned char *" cannot
be assigned to an entity of type "const char *"
name = symtab_section->link->data + sym->st_name;
^
tccelf.c(1850): remark #2259: non-pointer conversion from "int" to
"Elf64_Half={uint16_t={unsigned short}}" may lose significant bits
ehdr.e_phnum = phnum;
^
tccelf.c(1965): remark #2259: non-pointer conversion from "int" to
"Elf64_Half={uint16_t={unsigned short}}" may lose significant bits
ehdr.e_shnum = shnum;
^
tccelf.c(1966): remark #2259: non-pointer conversion from "int" to
"Elf64_Half={uint16_t={unsigned short}}" may lose significant bits
ehdr.e_shstrndx = shnum - 1;
^
tccelf.c(2133): warning #556: a value of type "unsigned char *" cannot
be assigned to an entity of type "char *"
sh_name = strsec + sh->sh_name;
^
tccelf.c(2251): warning #556: a value of type "unsigned char *" cannot
be assigned to an entity of type "char *"
name = strtab + sym->st_name;
^
tccelf.c(2262): remark #2259: non-pointer conversion from "int" to
"Elf64_Section={uint16_t={unsigned short}}" may lose significant bits
sym->st_shndx = sm->s->sh_num;
^
tccelf.c(2267): warning #556: a value of type "unsigned char *" cannot
be assigned to an entity of type "char *"
name = strtab + sym->st_name;
^
tccelf.c(2290): remark #1599: declaration hides variable "sym_index"
(declared at line 2062)
unsigned sym_index;
^
tccelf.c(2357): warning #556: a value of type "const uint8_t={unsigned
char} *" cannot be assigned to an entity of type "const char *"
ar_names = ar_index + nsyms * 4;
^
tccelf.c(2494): warning #556: a value of type "unsigned char *" cannot
be assigned to an entity of type "const char *"
soname = dynstr + dt->d_un.d_val;
^
tccelf.c(2523): warning #556: a value of type "unsigned char *" cannot
be assigned to an entity of type "const char *"
name = dynstr + sym->st_name;
^
tccelf.c(2532): warning #556: a value of type "unsigned char *" cannot
be assigned to an entity of type "const char *"
name = dynstr + dt->d_un.d_val;
^
tccelf.c(2655): remark #2259: non-pointer conversion from "int" to
"char" may lose significant bits
*q++ = ch;
^
tccelf.c(2560): remark #869: parameter "s1" was never referenced
static int ld_next(TCCState *s1, char *name, int name_size)
^
tccelf.c(2754): remark #111: statement is unreachable
return 0;
^
libtcc.c(454): remark #869: parameter "s1" was never referenced
void *resolve_sym(TCCState *s1, const char *sym)
^
libtcc.c(485): remark #2259: non-pointer conversion from "int" to
"char" may lose significant bits
*q++ = c;
^
libtcc.c(518): remark #1418: external function definition with no
prior declaration
void set_pages_executable(void *ptr, unsigned long length)
^
libtcc.c(841): remark #2259: non-pointer conversion from "int" to
"Elf64_Section={uint16_t={unsigned short}}" may lose significant bits
esym->st_shndx = sh_num;
^
libtcc.c(842): remark #2259: non-pointer conversion from "int" to
"unsigned char" may lose significant bits
esym->st_other |= other;
^
libtcc.c(759): remark #593: variable "attr" was set but never used
int sym_type, sym_bind, sh_num, info, other, attr;
^
libtcc.c(876): remark #1418: external function definition with no
prior declaration
void error1(TCCState *s1, int is_warning, const char *fmt, va_list ap)
^
libtcc.c(1006): remark #2259: non-pointer conversion from "int" to
"unsigned char" may lose significant bits
((unsigned char *)cstr->data)[size - 1] = ch;
^
libtcc.c(1350): warning #556: a value of type "char *" cannot be
assigned to an entity of type "uint8_t={unsigned char} *"
bf->buf_ptr = buf;
^
libtcc.c(1351): warning #556: a value of type "char *" cannot be
assigned to an entity of type "uint8_t={unsigned char} *"
bf->buf_end = buf + len;
^
libtcc.c(1368): warning #167: argument of type "unsigned char *" is
incompatible with parameter of type "char *"
pstrcpy(bf->buffer, IO_BUF_SIZE, sym);
^
libtcc.c(1369): warning #167: argument of type "unsigned char *" is
incompatible with parameter of type "char *"
pstrcat(bf->buffer, IO_BUF_SIZE, " ");
^
libtcc.c(1373): warning #167: argument of type "unsigned char *" is
incompatible with parameter of type "char *"
pstrcat(bf->buffer, IO_BUF_SIZE, value);
^
libtcc.c(1378): warning #167: argument of type "unsigned char *" is
incompatible with parameter of type "const char *"
bf->buf_end = bf->buffer + strlen(bf->buffer);
^
libtcc.c(1394): remark #869: parameter "s1" was never referenced
void tcc_undefine_symbol(TCCState *s1, const char *sym)
^
libtcc.c(1440): warning #556: a value of type "unsigned char *" cannot
be assigned to an entity of type "const char *"
str = stabstr_section->data + sym->n_strx;
^
libtcc.c(1466): warning #556: a value of type "unsigned char *" cannot
be assigned to an entity of type "const char *"
str = stabstr_section->data + sym->n_strx;
^
libtcc.c(1480): warning #556: a value of type "unsigned char *" cannot
be assigned to an entity of type "const char *"
str = stabstr_section->data + sym->n_strx;
^
libtcc.c(1494): remark #1599: declaration hides variable "sym"
(declared at line 1411)
ElfW(Sym) *sym, *sym_end;
^
libtcc.c(1494): remark #1599: declaration hides variable "sym_end"
(declared at line 1411)
ElfW(Sym) *sym, *sym_end;
^
libtcc.c(1506): warning #167: argument of type "unsigned char *" is
incompatible with parameter of type "const char *"
strtab_section->data + sym->st_name);
^
libtcc.c(1606): remark #1418: external function definition with no
prior declaration
void rt_error(ucontext_t *uc, const char *fmt, ...)
^
libtcc.c(1767): warning #556: a value of type "void *" cannot be
assigned to an entity of type "int (*)(int, char **)"
prog_main = tcc_get_symbol_err(s1, "main");
^
libtcc.c(1807): remark #1418: external function definition with no
prior declaration
void tcc_memstats(void)
^
libtcc.c(2186): remark #869: parameter "s" was never referenced
int tcc_add_symbol(TCCState *s, const char *name, void *val)
^
libtcc.c(2347): remark #869: parameter "s" was never referenced
void tcc_print_stats(TCCState *s, int64_t total_time)
^
tcc.c(27): remark #1418: external function definition with no prior declaration
void help(void)
^
tcc.c(118): remark #271: trailing comma is nonstandard
TCC_OPTION_x,
^
tcc.c(216): remark #1418: external function definition with no prior declaration
int parse_args(TCCState *s, int argc, char **argv)
^
tccpp.c(2744): (col. 9) remark: BLOCK WAS VECTORIZED.
tccpp.c(2742): (col. 9) remark: BLOCK WAS VECTORIZED.
tccpp.c(2540): (col. 13) remark: BLOCK WAS VECTORIZED.
tccpp.c(2541): (col. 13) remark: BLOCK WAS VECTORIZED.
tccpp.c(2584): (col. 17) remark: BLOCK WAS VECTORIZED.
tccpp.c(2592): (col. 20) remark: BLOCK WAS VECTORIZED.
tccpp.c(2592): (col. 20) remark: BLOCK WAS VECTORIZED.
tccpp.c(2592): (col. 20) remark: BLOCK WAS VECTORIZED.
tccpp.c(2592): (col. 20) remark: BLOCK WAS VECTORIZED.
tccpp.c(2342): (col. 13) remark: BLOCK WAS VECTORIZED.
tccpp.c(2694): (col. 18) remark: BLOCK WAS VECTORIZED.
tccpp.c(2694): (col. 18) remark: BLOCK WAS VECTORIZED.
tccpp.c(2694): (col. 18) remark: BLOCK WAS VECTORIZED.
tccpp.c(2703): (col. 9) remark: BLOCK WAS VECTORIZED.
tccpp.c(1206): (col. 5) remark: BLOCK WAS VECTORIZED.
tccpp.c(1372): (col. 9) remark: BLOCK WAS VECTORIZED.
tccpp.c(1214): (col. 9) remark: BLOCK WAS VECTORIZED.
tccpp.c(1428): (col. 17) remark: BLOCK WAS VECTORIZED.
tccpp.c(1210): (col. 9) remark: BLOCK WAS VECTORIZED.
tccpp.c(1482): (col. 9) remark: BLOCK WAS VECTORIZED.
tccpp.c(975): (col. 13) remark: BLOCK WAS VECTORIZED.
tccpp.c(978): (col. 17) remark: BLOCK WAS VECTORIZED.
tccpp.c(981): (col. 17) remark: BLOCK WAS VECTORIZED.
tccpp.c(601): (col. 17) remark: BLOCK WAS VECTORIZED.
tccpp.c(1033): (col. 5) remark: BLOCK WAS VECTORIZED.
tccpp.c(1035): (col. 9) remark: BLOCK WAS VECTORIZED.
tccpp.c(1039): (col. 13) remark: BLOCK WAS VECTORIZED.
tccpp.c(1046): (col. 17) remark: BLOCK WAS VECTORIZED.
tccpp.c(1055): (col. 13) remark: BLOCK WAS VECTORIZED.
tccpp.c(1058): (col. 13) remark: BLOCK WAS VECTORIZED.
tccpp.c(1077): (col. 9) remark: BLOCK WAS VECTORIZED.
tccasm.c(972): (col. 5) remark: LOOP WAS VECTORIZED.
tccelf.c(1893): (col. 17) remark: LOOP WAS VECTORIZED.
libtcc.c(1388): (col. 5) remark: BLOCK WAS VECTORIZED.
tcc.c(285): (col. 21) remark: BLOCK WAS VECTORIZED.
/opt/intel/Compiler/11.0/083/bin/intel64/icc -o libtcc1.o -c
lib/libtcc1.c -O2 -Wall
lib/libtcc1.c(491): remark #1418: external function definition with no
prior declaration
float __floatundisf(unsigned long long a)
^
lib/libtcc1.c(506): remark #1418: external function definition with no
prior declaration
double __floatundidf(unsigned long long a)
^
lib/libtcc1.c(521): remark #1418: external function definition with no
prior declaration
long double __floatundixf(unsigned long long a)
^
lib/libtcc1.c(536): remark #1418: external function definition with no
prior declaration
unsigned long long __fixunssfdi (float a1)
^
lib/libtcc1.c(560): remark #1418: external function definition with no
prior declaration
unsigned long long __fixunsdfdi (double a1)
^
lib/libtcc1.c(585): remark #1418: external function definition with no
prior declaration
unsigned long long __fixunsxfdi (long double a1)
^
/opt/intel/Compiler/11.0/083/bin/intel64/icc -o alloca86_64.o -c
lib/alloca86_64.S
<command-line>: warning: "__GNUC_PATCHLEVEL__" redefined
<built-in>: warning: this is the location of the previous definition
ar rcs libtcc1.a libtcc1.o alloca86_64.o
/opt/intel/Compiler/11.0/083/bin/intel64/icc -o libtcc.o -c libtcc.c
-DTCC_TARGET_X86_64 -O2 -g -Wall -fno-strict-aliasing
-Wno-pointer-sign -Wno-sign-compare -D_FORTIFY_SOURCE=0
icc: command line warning #10156: ignoring option '-W'; no argument required
icc: command line warning #10156: ignoring option '-W'; no argument required
x86_64-asm.h(439): remark #271: trailing comma is nonstandard
DEF_ASM_OP2(pxor, 0x0fef, 0, OPC_MODRM, OPT_EA | OPT_MMX, OPT_MMX )
^
libtcc.c(124): remark #1419: external declaration in primary source file
char *get_tok_str(int v, CValue *cv);
^
libtcc.c(141): remark #1419: external declaration in primary source file
int gv(int rc);
^
libtcc.c(142): remark #1419: external declaration in primary source file
void gv2(int rc1, int rc2);
^
libtcc.c(143): remark #1419: external declaration in primary source file
void move_reg(int r, int s);
^
libtcc.c(144): remark #1419: external declaration in primary source file
void save_regs(int n);
^
libtcc.c(145): remark #1419: external declaration in primary source file
void save_reg(int r);
^
libtcc.c(146): remark #1419: external declaration in primary source file
void vpop(void);
^
libtcc.c(147): remark #1419: external declaration in primary source file
void vswap(void);
^
libtcc.c(148): remark #1419: external declaration in primary source file
void vdup(void);
^
libtcc.c(149): remark #1419: external declaration in primary source file
int get_reg(int rc);
^
libtcc.c(150): remark #1419: external declaration in primary source file
int get_reg_ex(int rc,int rc2);
^
libtcc.c(152): remark #1419: external declaration in primary source file
void gen_op(int op);
^
libtcc.c(153): remark #1419: external declaration in primary source file
void force_charshort_cast(int t);
^
libtcc.c(155): remark #1419: external declaration in primary source file
void vstore(void);
^
libtcc.c(170): remark #1419: external declaration in primary source file
int ieee_finite(double d);
^
libtcc.c(171): remark #1419: external declaration in primary source file
void vpushi(int v);
^
libtcc.c(172): remark #1419: external declaration in primary source file
void vpushll(long long v);
^
libtcc.c(173): remark #1419: external declaration in primary source file
void vrott(int n);
^
libtcc.c(174): remark #1419: external declaration in primary source file
void vnrott(int n);
^
libtcc.c(175): remark #1419: external declaration in primary source file
void lexpand_nr(void);
^
libtcc.c(177): remark #1419: external declaration in primary source file
void vset(CType *type, int r, int v);
^
libtcc.c(178): remark #1419: external declaration in primary source file
void type_to_str(char *buf, int buf_size,
^
libtcc.c(212): remark #1419: external declaration in primary source file
int tcc_output_coff(TCCState *s1, FILE *f);
^
libtcc.c(215): remark #1419: external declaration in primary source file
int pe_load_file(struct TCCState *s1, const char *filename, int fd);
^
libtcc.c(216): remark #1419: external declaration in primary source file
int pe_output_file(struct TCCState *s1, const char *filename);
^
libtcc.c(237): remark #1419: external declaration in primary source file
Section *new_section(TCCState *s1, const char *name, int sh_type,
int sh_flags);
^
libtcc.c(241): remark #1419: external declaration in primary source file
Section *find_section(TCCState *s1, const char *name);
^
libtcc.c(271): remark #1419: external declaration in primary source file
BufferedFile *tcc_open(TCCState *s1, const char *filename);
^
libtcc.c(272): remark #1419: external declaration in primary source file
void tcc_close(BufferedFile *bf);
^
libtcc.c(275): remark #1419: external declaration in primary source file
void expect(const char *msg);
^
libtcc.c(276): remark #1419: external declaration in primary source file
void skip(int c);
^
libtcc.c(278): remark #1419: external declaration in primary source file
void *resolve_sym(TCCState *s1, const char *sym);
^
x86_64-gen.c(57): remark #271: trailing comma is nonstandard
TREG_MEM = 0x10,
^
x86_64-gen.c(108): remark #1418: external function definition with no
prior declaration
void g(int c)
^
x86_64-gen.c(114): remark #2259: non-pointer conversion from "int" to
"unsigned char" may lose significant bits
cur_text_section->data[ind] = c;
^
x86_64-gen.c(118): remark #1418: external function definition with no
prior declaration
void o(unsigned int c)
^
x86_64-gen.c(126): remark #1418: external function definition with no
prior declaration
void gen_le32(int c)
^
x86_64-gen.c(134): remark #1418: external function definition with no
prior declaration
void gen_le64(int64_t c)
^
x86_64-gen.c(147): remark #1418: external function definition with no
prior declaration
void gsym_addr(int t, int a)
^
x86_64-gen.c(158): remark #1418: external function definition with no
prior declaration
void gsym(int t)
^
x86_64-gen.c(299): remark #1418: external function definition with no
prior declaration
void load(int r, SValue *sv)
^
x86_64-gen.c(424): remark #1418: external function definition with no
prior declaration
void store(int r, SValue *v)
^
x86_64-gen.c(552): remark #1418: external function definition with no
prior declaration
void gfunc_call(int nb_args)
^
x86_64-gen.c(760): remark #1418: external function definition with no
prior declaration
void gfunc_prolog(CType *func_type)
^
x86_64-gen.c(908): remark #1418: external function definition with no
prior declaration
void gfunc_epilog(void)
^
x86_64-gen.c(942): remark #1418: external function definition with no
prior declaration
int gjmp(int t)
^
x86_64-gen.c(948): remark #1418: external function definition with no
prior declaration
void gjmp_addr(int a)
^
x86_64-gen.c(961): remark #1418: external function definition with no
prior declaration
int gtst(int inv, int t)
^
x86_64-gen.c(1006): remark #1418: external function definition with no
prior declaration
void gen_opi(int op)
^
x86_64-gen.c(1157): remark #2259: non-pointer conversion from "int" to
"unsigned short" may lose significant bits
vtop->r = r;
^
x86_64-gen.c(1165): remark #1418: external function definition with no
prior declaration
void gen_opl(int op)
^
x86_64-gen.c(1173): remark #1418: external function definition with no
prior declaration
void gen_opf(int op)
^
x86_64-gen.c(1379): remark #1418: external function definition with no
prior declaration
void gen_cvt_itof(int t)
^
x86_64-gen.c(1421): remark #1418: external function definition with no
prior declaration
void gen_cvt_ftof(int t)
^
x86_64-gen.c(1472): remark #1418: external function definition with no
prior declaration
void gen_cvt_ftoi(int t)
^
x86_64-gen.c(1501): remark #2259: non-pointer conversion from "int" to
"unsigned short" may lose significant bits
vtop->r = r;
^
x86_64-gen.c(1505): remark #1418: external function definition with no
prior declaration
void ggoto(void)
^
tccpp.c(173): warning #589: transfer of control bypasses initialization of:
variable "q" (declared at line 186)
goto addv;
^
tccpp.c(176): warning #589: transfer of control bypasses initialization of:
variable "q" (declared at line 186)
goto addv;
^
tccpp.c(197): remark #2259: non-pointer conversion from "int" to
"char" may lose significant bits
*p++ = v;
^
tccpp.c(203): remark #181: argument is incompatible with corresponding
format string conversion
sprintf(p, "L.%u", v - SYM_FIRST_ANOM);
^
tccpp.c(540): remark #1418: external function definition with no prior
declaration
void preprocess_skip(void)
^
tccpp.c(632): remark #1418: external function definition with no prior
declaration
void save_parse_state(ParseState *s)
^
tccpp.c(641): remark #1418: external function definition with no prior
declaration
void restore_parse_state(ParseState *s)
^
tccpp.c(1096): warning #556: a value of type "const char *" cannot be
assigned to an entity of type "const unsigned char *"
s = filename;
^
tccpp.c(1138): remark #2259: non-pointer conversion from "int" to
"char" may lose significant bits
e->type = type;
^
tccpp.c(1235): remark #2259: non-pointer conversion from "int" to
"char" may lose significant bits
*q++ = ch;
^
tccpp.c(1349): remark #2259: non-pointer conversion from "int" to
"char" may lose significant bits
f->inc_type = c;
^
tccpp.c(1454): remark #2259: non-pointer conversion from "int" to
"char" may lose significant bits
*q++ = ch;
^
tccpp.c(1598): remark #1418: external function definition with no
prior declaration
void bn_lshift(unsigned int *bn, int shift, int or_val)
^
tccpp.c(1609): remark #1418: external function definition with no
prior declaration
void bn_zero(unsigned int *bn)
^
tccpp.c(1619): remark #1418: external function definition with no
prior declaration
void parse_number(const char *p)
^
tccpp.c(1631): remark #2259: non-pointer conversion from "int" to
"char" may lose significant bits
*q++ = t;
^
tccpp.c(1663): remark #2259: non-pointer conversion from "int" to
"char" may lose significant bits
*q++ = ch;
^
tccpp.c(1764): remark #2259: non-pointer conversion from "int" to
"char" may lose significant bits
*q++ = ch;
^
tccpp.c(1770): remark #2259: non-pointer conversion from "int" to
"char" may lose significant bits
*q++ = ch;
^
tccpp.c(1777): remark #2259: non-pointer conversion from "int" to
"char" may lose significant bits
*q++ = ch;
^
tccpp.c(1782): remark #2259: non-pointer conversion from "int" to
"char" may lose significant bits
*q++ = ch;
^
tccpp.c(1790): remark #2259: non-pointer conversion from "int" to
"char" may lose significant bits
*q++ = ch;
^
tccpp.c(2066): warning #167: argument of type "uint8_t={unsigned char}
*" is incompatible with parameter of type "const char *"
ts = tok_alloc_new(pts, p1, len);
^
tccpp.c(2657): warning #556: a value of type "uint8_t={unsigned char}
*" cannot be assigned to an entity of type "char *"
p = file->buf_ptr;
^
tccpp.c(2668): warning #556: a value of type "char *" cannot be
assigned to an entity of type "uint8_t={unsigned char} *"
file->buf_ptr = p;
^
tccpp.c(2817): warning #170: pointer points outside of underlying object
vtop = vstack - 1;
^
tccpp.c(2822): remark #1418: external function definition with no
prior declaration
void preprocess_new()
^
tccpp.c(2830): remark #2259: non-pointer conversion from "int" to
"unsigned char" may lose significant bits
isidnum_table[i-CH_EOF] = isid(i) || isnum(i);
^
tccpp.c(2826): remark #593: variable "ts" was set but never used
TokenSym *ts;
^
tccgen.c(21): remark #1418: external function definition with no prior
declaration
void swap(int *p, int *q)
^
tccgen.c(29): remark #1418: external function definition with no prior
declaration
void vsetc(CType *type, int r, CValue *vc)
^
tccgen.c(45): remark #2259: non-pointer conversion from "int" to
"unsigned short" may lose significant bits
vtop->r = r;
^
tccgen.c(149): remark #1418: external function definition with no
prior declaration
void vseti(int r, int v)
^
tccgen.c(165): remark #1418: external function definition with no
prior declaration
void vpushv(SValue *v)
^
tccgen.c(231): remark #2259: non-pointer conversion from "int" to
"unsigned short" may lose significant bits
p->r = (p->r & ~(VT_VALMASK | VT_BOUNDED)) | VT_LLOCAL;
^
tccgen.c(233): remark #2259: non-pointer conversion from "int" to
"unsigned short" may lose significant bits
p->r = lvalue_type(p->type.t) | VT_LOCAL;
^
tccgen.c(325): remark #2259: non-pointer conversion from "int" to
"unsigned short" may lose significant bits
sv.r = s;
^
tccgen.c(332): remark #1418: external function definition with no
prior declaration
void gaddrof(void)
^
tccgen.c(337): remark #2259: non-pointer conversion from "int" to
"unsigned short" may lose significant bits
vtop->r = (vtop->r & ~(VT_VALMASK | VT_LVAL_TYPE)) |
VT_LOCAL | VT_LVAL;
^
tccgen.c(524): remark #2259: non-pointer conversion from "int" to
"unsigned short" may lose significant bits
vtop->r = r;
^
tccgen.c(567): remark #1418: external function definition with no
prior declaration
int rc_fret(int t)
^
tccgen.c(578): remark #1418: external function definition with no
prior declaration
int reg_fret(int t)
^
tccgen.c(589): remark #1418: external function definition with no
prior declaration
void lexpand(void)
^
tccgen.c(632): remark #1418: external function definition with no
prior declaration
void lbuild(int t)
^
tccgen.c(643): remark #1418: external function definition with no
prior declaration
void vrotb(int n)
^
tccgen.c(704): remark #1418: external function definition with no
prior declaration
void gv_dup(void)
^
tccgen.c(739): remark #2259: non-pointer conversion from "int" to
"unsigned short" may lose significant bits
sv.r = r;
^
tccgen.c(745): remark #2259: non-pointer conversion from "int" to
"unsigned short" may lose significant bits
vtop->r = r1;
^
tccgen.c(988): remark #1418: external function definition with no
prior declaration
void gen_opic(int op)
^
tccgen.c(1127): remark #1418: external function definition with no
prior declaration
void gen_opif(int op)
^
tccgen.c(1152): remark #2259: non-pointer conversion from "long
double" to "double" may lose significant bits
if (!ieee_finite(f1) || !ieee_finite(f2))
^
tccgen.c(1152): remark #2259: non-pointer conversion from "long
double" to "double" may lose significant bits
if (!ieee_finite(f1) || !ieee_finite(f2))
^
tccgen.c(1160): remark #1572: floating-point equality and inequality
comparisons are unreliable
if (f2 == 0.0) {
^
tccgen.c(1173): remark #2259: non-pointer conversion from "long
double" to "float" may lose significant bits
v1->c.f = f1;
^
tccgen.c(1175): remark #2259: non-pointer conversion from "long
double" to "double" may lose significant bits
v1->c.d = f1;
^
tccgen.c(1408): remark #1418: external function definition with no
prior declaration
void gen_cvt_itof1(int t)
^
tccgen.c(1424): remark #2259: non-pointer conversion from "int" to
"unsigned short" may lose significant bits
vtop->r = reg_fret(t);
^
tccgen.c(1432): remark #1418: external function definition with no
prior declaration
void gen_cvt_ftoi1(int t)
^
tccgen.c(1537): remark #1572: floating-point equality and inequality
comparisons are unreliable
vtop->c.i = (vtop->c.ld != 0);
^
tccgen.c(1658): remark #2259: non-pointer conversion from "int" to
"unsigned short" may lose significant bits
vtop->r = (vtop->r & ~VT_LVAL_TYPE)
^
tccgen.c(2128): remark #2259: non-pointer conversion from "int" to
"unsigned short" may lose significant bits
vtop[-1].r = t | VT_LVAL;
^
tccgen.c(2149): remark #2259: non-pointer conversion from "int" to
"unsigned short" may lose significant bits
vtop->r |= delayed_cast;
^
tccgen.c(2154): remark #1418: external function definition with no
prior declaration
void inc(int post, int c)
^
tccgen.c(2891): remark #2259: non-pointer conversion from "int" to
"unsigned short" may lose significant bits
vtop->r |= lvalue_type(vtop->type.t);
^
tccgen.c(3174): remark #1599: declaration hides variable "type"
(declared at line 2958)
CType type;
^
tccgen.c(3308): remark #2259: non-pointer conversion from "int" to
"unsigned short" may lose significant bits
vtop->r |= lvalue_type(vtop->type.t);
^
tccgen.c(3361): remark #2259: non-pointer conversion from "int" to
"unsigned short" may lose significant bits
ret.r = reg_fret(ret.type.t);
^
tccgen.c(3716): remark #2259: non-pointer conversion from "int" to
"unsigned short" may lose significant bits
vtop->r = r2;
^
tccgen.c(4365): remark #869: parameter "t" was never referenced
static void init_putz(CType *t, Section *sec, unsigned long c, int size)
^
tccgen.c(4818): remark #1418: external function definition with no
prior declaration
void put_func_debug(Sym *sym)
^
x86_64-asm.c(261): remark #2259: non-pointer conversion from "int" to
"int8_t={signed char}" may lose significant bits
op->reg = reg & 7;
^
x86_64-asm.c(270): remark #2259: non-pointer conversion from "int" to
"int8_t={signed char}" may lose significant bits
op->reg = tok - TOK_ASM_dr0;
^
x86_64-asm.c(273): remark #2259: non-pointer conversion from "int" to
"int8_t={signed char}" may lose significant bits
op->reg = tok - TOK_ASM_es;
^
x86_64-asm.c(286): remark #2259: non-pointer conversion from "int" to
"int8_t={signed char}" may lose significant bits
op->reg = reg;
^
x86_64-asm.c(333): remark #2259: non-pointer conversion from "int" to
"int8_t={signed char}" may lose significant bits
op->reg = asm_parse_reg();
^
x86_64-asm.c(338): remark #2259: non-pointer conversion from "int" to
"int8_t={signed char}" may lose significant bits
op->reg2 = asm_parse_reg();
^
x86_64-asm.c(342): remark #2259: non-pointer conversion from "int" to
"uint8_t={unsigned char}" may lose significant bits
op->shift = get_reg_shift(s1);
^
x86_64-asm.c(523): remark #1599: declaration hides variable "op1"
(declared at line 448)
int op1, op2;
^
x86_64-asm.c(943): remark #2259: non-pointer conversion from "int" to
"uint8_t={unsigned char}" may lose significant bits
regs_allocated[TREG_RAX] |= reg_mask;
^
x86_64-asm.c(944): remark #2259: non-pointer conversion from "int" to
"uint8_t={unsigned char}" may lose significant bits
regs_allocated[TREG_RDX] |= reg_mask;
^
x86_64-asm.c(985): remark #2259: non-pointer conversion from "int" to
"uint8_t={unsigned char}" may lose significant bits
regs_allocated[reg] |= reg_mask;
^
x86_64-asm.c(1194): remark #2259: non-pointer conversion from "int" to
"unsigned short" may lose significant bits
sv.r = (sv.r & ~VT_VALMASK) | VT_LOCAL;
^
x86_64-asm.c(1217): remark #2259: non-pointer conversion from "int" to
"unsigned short" may lose significant bits
sv.r = (sv.r & ~VT_VALMASK) | VT_LOCAL;
^
x86_64-asm.c(1220): remark #2259: non-pointer conversion from "int" to
"unsigned short" may lose significant bits
sv.r = (sv.r & ~VT_VALMASK) | out_reg;
^
tccasm.c(21): remark #869: parameter "s1" was never referenced
static int asm_get_local_label_name(TCCState *s1, unsigned int n)
^
tccasm.c(310): remark #869: parameter "s1" was never referenced
static void use_section1(TCCState *s1, Section *sec)
^
tccasm.c(427): remark #1599: declaration hides variable "size"
(declared at line 326)
int repeat, size, val, i, j;
^
tccasm.c(452): remark #2259: non-pointer conversion from "int" to
"uint8_t={unsigned char}" may lose significant bits
repeat_buf[0] = val;
^
tccasm.c(453): remark #2259: non-pointer conversion from "int" to
"uint8_t={unsigned char}" may lose significant bits
repeat_buf[1] = val >> 8;
^
tccasm.c(454): remark #2259: non-pointer conversion from "int" to
"uint8_t={unsigned char}" may lose significant bits
repeat_buf[2] = val >> 16;
^
tccasm.c(455): remark #2259: non-pointer conversion from "int" to
"uint8_t={unsigned char}" may lose significant bits
repeat_buf[3] = val >> 24;
^
tccasm.c(469): remark #1599: declaration hides variable "n" (declared
at line 326)
unsigned long n;
^
tccasm.c(500): remark #1599: declaration hides variable "size"
(declared at line 326)
int i, size, t;
^
tccasm.c(565): remark #1599: declaration hides variable "sec"
(declared at line 327)
Section *sec;
^
tccasm.c(738): warning #556: a value of type "char *" cannot be
assigned to an entity of type "uint8_t={unsigned char} *"
bf->buf_ptr = str;
^
tccasm.c(739): warning #556: a value of type "char *" cannot be
assigned to an entity of type "uint8_t={unsigned char} *"
bf->buf_end = str + len;
^
tccasm.c(828): remark #2259: non-pointer conversion from "int" to
"unsigned short" may lose significant bits
sv.r = op->reg;
^
tccasm.c(801): remark #869: parameter "nb_outputs" was never referenced
int nb_outputs,
^
tccasm.c(917): remark #593: variable "nb_inputs" was set but never used
int nb_inputs, nb_outputs, nb_operands, i, must_subst, out_reg;
^
tccelf.c(71): warning #556: a value of type "unsigned char *" cannot
be assigned to an entity of type "char *"
strtab = s->link->data;
^
tccelf.c(86): warning #167: argument of type "char *" is incompatible
with parameter of type "const unsigned char *"
h = elf_hash(strtab + sym->st_name) % nb_buckets;
^
tccelf.c(116): remark #2259: non-pointer conversion from "int" to
"unsigned char" may lose significant bits
sym->st_info = info;
^
tccelf.c(117): remark #2259: non-pointer conversion from "int" to
"unsigned char" may lose significant bits
sym->st_other = other;
^
tccelf.c(118): remark #2259: non-pointer conversion from "int" to
"Elf64_Section={uint16_t={unsigned short}}" may lose significant bits
sym->st_shndx = shndx;
^
tccelf.c(129): warning #167: argument of type "const char *" is
incompatible with parameter of type "const unsigned char *"
h = elf_hash(name) % nbuckets;
^
tccelf.c(159): warning #167: argument of type "const char *" is
incompatible with parameter of type "const unsigned char *"
h = elf_hash(name) % nbuckets;
^
tccelf.c(163): warning #556: a value of type "unsigned char *" cannot
be assigned to an entity of type "const char *"
name1 = s->link->data + sym->st_name;
^
tccelf.c(172): remark #869: parameter "s" was never referenced
void *tcc_get_symbol(TCCState *s, const char *name)
^
tccelf.c(183): remark #1418: external function definition with no
prior declaration
void *tcc_get_symbol_err(TCCState *s, const char *name)
^
tccelf.c(203): remark #2259: non-pointer conversion from "int" to
"unsigned char" may lose significant bits
sym_vis = ELFW(ST_VISIBILITY)(other);
^
tccelf.c(215): remark #2259: non-pointer conversion from "int" to
"unsigned char" may lose significant bits
esym_vis = ELFW(ST_VISIBILITY)(esym->st_other);
^
tccelf.c(221): remark #2259: non-pointer conversion from "int" to
"unsigned char" may lose significant bits
new_vis = (esym_vis < sym_vis) ? esym_vis : sym_vis;
^
tccelf.c(223): remark #2259: non-pointer conversion from "int" to
"unsigned char" may lose significant bits
esym->st_other = (esym->st_other & ~ELFW(ST_VISIBILITY)(-1))
^
tccelf.c(252): remark #2259: non-pointer conversion from "int" to
"unsigned char" may lose significant bits
esym->st_info = ELFW(ST_INFO)(sym_bind, sym_type);
^
tccelf.c(253): remark #2259: non-pointer conversion from "int" to
"Elf64_Section={uint16_t={unsigned short}}" may lose significant bits
esym->st_shndx = sh_num;
^
tccelf.c(256): remark #2259: non-pointer conversion from "int" to
"unsigned char" may lose significant bits
esym->st_other = other;
^
tccelf.c(316): remark #2259: non-pointer conversion from "int" to
"unsigned char" may lose significant bits
sym->n_type = type;
^
tccelf.c(317): remark #2259: non-pointer conversion from "int" to
"unsigned char" may lose significant bits
sym->n_other = other;
^
tccelf.c(318): remark #2259: non-pointer conversion from "int" to
"unsigned short" may lose significant bits
sym->n_desc = desc;
^
tccelf.c(323): remark #869: parameter "sec" was never referenced
unsigned long value, Section *sec, int sym_index)
^
tccelf.c(421): remark #2259: non-pointer conversion from "int" to
"Elf64_Section={uint16_t={unsigned short}}" may lose significant bits
sym->st_shndx = bss_section->sh_num;
^
tccelf.c(442): warning #556: a value of type "unsigned char *" cannot
be assigned to an entity of type "const char *"
name = strtab_section->data + sym->st_name;
^
tccelf.c(446): warning #556: a value of type "unsigned char *" cannot
be assigned to an entity of type "const char *"
name = symtab_section->link->data + sym->st_name;
^
tccelf.c(841): remark #2259: non-pointer conversion from
"uint32_t={unsigned int}" to "unsigned char" may lose significant bits
p[0] = val;
^
tccelf.c(842): remark #2259: non-pointer conversion from
"uint32_t={unsigned int}" to "unsigned char" may lose significant bits
p[1] = val >> 8;
^
tccelf.c(843): remark #2259: non-pointer conversion from
"uint32_t={unsigned int}" to "unsigned char" may lose significant bits
p[2] = val >> 16;
^
tccelf.c(844): remark #2259: non-pointer conversion from
"uint32_t={unsigned int}" to "unsigned char" may lose significant bits
p[3] = val >> 24;
^
tccelf.c(907): warning #556: a value of type "unsigned char *" cannot
be assigned to an entity of type "const char *"
name = symtab_section->link->data + sym->st_name;
^
tccelf.c(937): remark #2259: non-pointer conversion from "int" to
"uint8_t={unsigned char}" may lose significant bits
p[1] = modrm + 0x10;
^
tccelf.c(940): remark #2259: non-pointer conversion from "int" to
"uint8_t={unsigned char}" may lose significant bits
p[7] = modrm;
^
tccelf.c(946): remark #2259: non-pointer conversion from "int" to
"uint8_t={unsigned char}" may lose significant bits
p[1] = modrm;
^
tccelf.c(1010): remark #593: variable "symtab" was set but never used
Section *s, *symtab;
^
tccelf.c(1333): remark #1418: external function definition with no
prior declaration
int elf_output_file(TCCState *s1, const char *filename)
^
tccelf.c(1413): warning #556: a value of type "unsigned char *" cannot
be assigned to an entity of type "const char *"
name = symtab_section->link->data + sym->st_name;
^
tccelf.c(1423): remark #1599: declaration hides variable "offset"
(declared at line 1339)
unsigned long offset;
^
tccelf.c(1449): warning #556: a value of type "unsigned char *" cannot
be assigned to an entity of type "const char *"
name = symtab_section->link->data + sym->st_name;
^
tccelf.c(1467): warning #556: a value of type "unsigned char *" cannot
be assigned to an entity of type "const char *"
name = s1->dynsymtab_section->link->data +
esym->st_name;
^
tccelf.c(1509): warning #556: a value of type "unsigned char *" cannot
be assigned to an entity of type "const char *"
name = symtab_section->link->data + sym->st_name;
^
tccelf.c(1850): remark #2259: non-pointer conversion from "int" to
"Elf64_Half={uint16_t={unsigned short}}" may lose significant bits
ehdr.e_phnum = phnum;
^
tccelf.c(1965): remark #2259: non-pointer conversion from "int" to
"Elf64_Half={uint16_t={unsigned short}}" may lose significant bits
ehdr.e_shnum = shnum;
^
tccelf.c(1966): remark #2259: non-pointer conversion from "int" to
"Elf64_Half={uint16_t={unsigned short}}" may lose significant bits
ehdr.e_shstrndx = shnum - 1;
^
tccelf.c(2133): warning #556: a value of type "unsigned char *" cannot
be assigned to an entity of type "char *"
sh_name = strsec + sh->sh_name;
^
tccelf.c(2251): warning #556: a value of type "unsigned char *" cannot
be assigned to an entity of type "char *"
name = strtab + sym->st_name;
^
tccelf.c(2262): remark #2259: non-pointer conversion from "int" to
"Elf64_Section={uint16_t={unsigned short}}" may lose significant bits
sym->st_shndx = sm->s->sh_num;
^
tccelf.c(2267): warning #556: a value of type "unsigned char *" cannot
be assigned to an entity of type "char *"
name = strtab + sym->st_name;
^
tccelf.c(2290): remark #1599: declaration hides variable "sym_index"
(declared at line 2062)
unsigned sym_index;
^
tccelf.c(2357): warning #556: a value of type "const uint8_t={unsigned
char} *" cannot be assigned to an entity of type "const char *"
ar_names = ar_index + nsyms * 4;
^
tccelf.c(2494): warning #556: a value of type "unsigned char *" cannot
be assigned to an entity of type "const char *"
soname = dynstr + dt->d_un.d_val;
^
tccelf.c(2523): warning #556: a value of type "unsigned char *" cannot
be assigned to an entity of type "const char *"
name = dynstr + sym->st_name;
^
tccelf.c(2532): warning #556: a value of type "unsigned char *" cannot
be assigned to an entity of type "const char *"
name = dynstr + dt->d_un.d_val;
^
tccelf.c(2655): remark #2259: non-pointer conversion from "int" to
"char" may lose significant bits
*q++ = ch;
^
tccelf.c(2560): remark #869: parameter "s1" was never referenced
static int ld_next(TCCState *s1, char *name, int name_size)
^
tccelf.c(2754): remark #111: statement is unreachable
return 0;
^
libtcc.c(454): remark #869: parameter "s1" was never referenced
void *resolve_sym(TCCState *s1, const char *sym)
^
libtcc.c(485): remark #2259: non-pointer conversion from "int" to
"char" may lose significant bits
*q++ = c;
^
libtcc.c(518): remark #1418: external function definition with no
prior declaration
void set_pages_executable(void *ptr, unsigned long length)
^
libtcc.c(841): remark #2259: non-pointer conversion from "int" to
"Elf64_Section={uint16_t={unsigned short}}" may lose significant bits
esym->st_shndx = sh_num;
^
libtcc.c(842): remark #2259: non-pointer conversion from "int" to
"unsigned char" may lose significant bits
esym->st_other |= other;
^
libtcc.c(759): remark #593: variable "attr" was set but never used
int sym_type, sym_bind, sh_num, info, other, attr;
^
libtcc.c(876): remark #1418: external function definition with no
prior declaration
void error1(TCCState *s1, int is_warning, const char *fmt, va_list ap)
^
libtcc.c(1006): remark #2259: non-pointer conversion from "int" to
"unsigned char" may lose significant bits
((unsigned char *)cstr->data)[size - 1] = ch;
^
libtcc.c(1350): warning #556: a value of type "char *" cannot be
assigned to an entity of type "uint8_t={unsigned char} *"
bf->buf_ptr = buf;
^
libtcc.c(1351): warning #556: a value of type "char *" cannot be
assigned to an entity of type "uint8_t={unsigned char} *"
bf->buf_end = buf + len;
^
libtcc.c(1368): warning #167: argument of type "unsigned char *" is
incompatible with parameter of type "char *"
pstrcpy(bf->buffer, IO_BUF_SIZE, sym);
^
libtcc.c(1369): warning #167: argument of type "unsigned char *" is
incompatible with parameter of type "char *"
pstrcat(bf->buffer, IO_BUF_SIZE, " ");
^
libtcc.c(1373): warning #167: argument of type "unsigned char *" is
incompatible with parameter of type "char *"
pstrcat(bf->buffer, IO_BUF_SIZE, value);
^
libtcc.c(1378): warning #167: argument of type "unsigned char *" is
incompatible with parameter of type "const char *"
bf->buf_end = bf->buffer + strlen(bf->buffer);
^
libtcc.c(1394): remark #869: parameter "s1" was never referenced
void tcc_undefine_symbol(TCCState *s1, const char *sym)
^
libtcc.c(1440): warning #556: a value of type "unsigned char *" cannot
be assigned to an entity of type "const char *"
str = stabstr_section->data + sym->n_strx;
^
libtcc.c(1466): warning #556: a value of type "unsigned char *" cannot
be assigned to an entity of type "const char *"
str = stabstr_section->data + sym->n_strx;
^
libtcc.c(1480): warning #556: a value of type "unsigned char *" cannot
be assigned to an entity of type "const char *"
str = stabstr_section->data + sym->n_strx;
^
libtcc.c(1494): remark #1599: declaration hides variable "sym"
(declared at line 1411)
ElfW(Sym) *sym, *sym_end;
^
libtcc.c(1494): remark #1599: declaration hides variable "sym_end"
(declared at line 1411)
ElfW(Sym) *sym, *sym_end;
^
libtcc.c(1506): warning #167: argument of type "unsigned char *" is
incompatible with parameter of type "const char *"
strtab_section->data + sym->st_name);
^
libtcc.c(1606): remark #1418: external function definition with no
prior declaration
void rt_error(ucontext_t *uc, const char *fmt, ...)
^
libtcc.c(1767): warning #556: a value of type "void *" cannot be
assigned to an entity of type "int (*)(int, char **)"
prog_main = tcc_get_symbol_err(s1, "main");
^
libtcc.c(1807): remark #1418: external function definition with no
prior declaration
void tcc_memstats(void)
^
libtcc.c(2186): remark #869: parameter "s" was never referenced
int tcc_add_symbol(TCCState *s, const char *name, void *val)
^
libtcc.c(2347): remark #869: parameter "s" was never referenced
void tcc_print_stats(TCCState *s, int64_t total_time)
^
libtcc.c(1388): (col. 5) remark: BLOCK WAS VECTORIZED.
tccpp.c(1033): (col. 5) remark: BLOCK WAS VECTORIZED.
tccpp.c(1035): (col. 9) remark: BLOCK WAS VECTORIZED.
tccpp.c(1039): (col. 13) remark: BLOCK WAS VECTORIZED.
tccpp.c(1046): (col. 17) remark: BLOCK WAS VECTORIZED.
tccpp.c(1055): (col. 13) remark: BLOCK WAS VECTORIZED.
tccpp.c(1058): (col. 13) remark: BLOCK WAS VECTORIZED.
tccpp.c(1077): (col. 9) remark: BLOCK WAS VECTORIZED.
tccpp.c(2744): (col. 9) remark: BLOCK WAS VECTORIZED.
tccpp.c(2742): (col. 9) remark: BLOCK WAS VECTORIZED.
tccpp.c(2540): (col. 13) remark: BLOCK WAS VECTORIZED.
tccpp.c(2541): (col. 13) remark: BLOCK WAS VECTORIZED.
tccpp.c(2584): (col. 17) remark: BLOCK WAS VECTORIZED.
tccpp.c(2592): (col. 20) remark: BLOCK WAS VECTORIZED.
tccpp.c(2592): (col. 20) remark: BLOCK WAS VECTORIZED.
tccpp.c(2592): (col. 20) remark: BLOCK WAS VECTORIZED.
tccpp.c(2592): (col. 20) remark: BLOCK WAS VECTORIZED.
tccpp.c(2342): (col. 13) remark: BLOCK WAS VECTORIZED.
tccpp.c(2694): (col. 18) remark: BLOCK WAS VECTORIZED.
tccpp.c(2694): (col. 18) remark: BLOCK WAS VECTORIZED.
tccpp.c(2694): (col. 18) remark: BLOCK WAS VECTORIZED.
tccpp.c(2703): (col. 9) remark: BLOCK WAS VECTORIZED.
tccpp.c(1206): (col. 5) remark: BLOCK WAS VECTORIZED.
tccpp.c(1372): (col. 9) remark: BLOCK WAS VECTORIZED.
tccpp.c(1214): (col. 9) remark: BLOCK WAS VECTORIZED.
tccpp.c(1428): (col. 17) remark: BLOCK WAS VECTORIZED.
tccpp.c(1210): (col. 9) remark: BLOCK WAS VECTORIZED.
tccpp.c(1482): (col. 9) remark: BLOCK WAS VECTORIZED.
tccpp.c(975): (col. 13) remark: BLOCK WAS VECTORIZED.
tccpp.c(978): (col. 17) remark: BLOCK WAS VECTORIZED.
tccpp.c(981): (col. 17) remark: BLOCK WAS VECTORIZED.
tccpp.c(601): (col. 17) remark: BLOCK WAS VECTORIZED.
tccasm.c(972): (col. 5) remark: LOOP WAS VECTORIZED.
tccelf.c(1893): (col. 17) remark: LOOP WAS VECTORIZED.
ar rcs libtcc.a libtcc.o
texi2html -monolithic -number tcc-doc.texi
make: texi2html: Command not found
make: [tcc-doc.html] Error 127 (ignored)
/opt/intel/Compiler/11.0/083/bin/intel64/icc -o libtcc_test
tests/libtcc_test.c libtcc.a -I. -O2 -g -Wall -fno-strict-aliasing
-Wno-pointer-sign -Wno-sign-compare -D_FORTIFY_SOURCE=0 -lm -ldl
icc: command line warning #10156: ignoring option '-W'; no argument required
icc: command line warning #10156: ignoring option '-W'; no argument required
tests/libtcc_test.c(13): remark #1418: external function definition
with no prior declaration
int add(int a, int b)
^
tests/libtcc_test.c(72): warning #556: a value of type "void *" cannot
be assigned to an entity of type "int (*)(int)"
func = tcc_get_symbol(s, "foo");
^
(tinycc)% gcc -V
gcc: '-V' option must have argument
(tinycc)% gcc -v
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info
--with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap
--enable-shared --enable-threads=posix --enable-checking=release
--with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada
--enable-java-awt=gtk --disable-dssi --enable-plugin
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre
--enable-libgcj-multifile --enable-java-maintainer-mode
--with-ecj-jar=/usr/share/java/eclipse-ecj.jar
--disable-libjava-multilib --with-cpu=generic
--build=x86_64-redhat-linux
- [Tinycc-devel] Compiling tcc with the Intel compiler,
Robert Starr <=