repo.or.cz
/
neatcc
/
cc.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
ncc: ignore the semicolon after do-while
2010-06-18
Ali Gholami Rudi
cpp: save macro names
i
n a hash tabl
e
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
ncc:
d
i
v
i
de (ptr - ptr) re
s
ult
only if
size > 1
commit
|
commitdiff
|
tree
2010-06-18
Ali Ghol
a
mi Rudi
gen: use movsx
d
only when sr
c
i
s
signed
commit
|
commitdiff
|
tree
2010-06-18
A
l
i G
h
olami Rudi
tok: 0x1
s
hould be unsigned
commit
|
commitdiff
|
tree
2010-06-18
A
l
i
G
h
o
lami Rudi
g
en: fi
x
the conditions
f
o
r
m
ovxx operat
i
o
n
s
commit
|
commitdiff
|
tree
2010-06-18
A
li Gholami Rud
i
n
c
c: fix getting
i
'
s
type in
+
+i
commit
|
commitdiff
|
tree
2010-06-18
A
li G
h
olami Rudi
ncc: handle ptr opera
t
ions
on structs ptrs
commit
|
commitdiff
|
tree
2010-06-18
A
li Gholami
R
udi
nc
c
:
f
ix
calling function point
e
rs with
a
rguments
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rud
i
ncc: don't take case exprs as labels
commit
|
commitdiff
|
tree
2010-06-18
A
li Gholami Rud
i
gen: don't gener
a
te code after o_n
o
gen(
)
in oi()
commit
|
commitdiff
|
tree
2010-06-18
Ali Gholami Rudi
all tmp
s
should be
t
h
e
s
ame i
n
conditional bran
c
hes
commit
|
commitdiff
|
tree
2010-06-17
A
l
i Gholami Rudi
gen: fi
x
lo
a
ding ba
c
k tm
p
s in
m
em
without deref
commit
|
commitdiff
|
tree
2010-06-17
A
li Ghol
a
mi Rudi
let tok_num
(
)
return the bt
commit
|
commitdiff
|
tree
2010-06-17
Al
i
G
hola
m
i Rudi
g
en: relocation address
s
ize is alwa
y
s 4 for now
commit
|
commitdiff
|
tree
2010-06-16
Ali
G
h
olami Rudi
g
en: f
i
x SYM_PTR() ma
c
r
o
commit
|
commitdiff
|
tree
2010-06-16
Ali Gholami
R
udi
ge
n
: fix
!
!expr
commit
|
commitdiff
|
tree
2010-06-15
Ali G
h
olami Rudi
ncc
:
l
e
t
shift amoun
t
be
a
n unsign
e
d
commit
|
commitdiff
|
tree
2010-06-15
A
l
i Gh
o
l
a
mi Rudi
gen
:
cl
e
anup t
m
p handling
and
f
i
x regs
array in o_swap()
commit
|
commitdiff
|
tree
2010-06-14
A
li Gholam
i
Rudi
ncc: align struct members
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholam
i
Ru
d
i
gen: mark c
o
pied
register
a
s t
h
e owner in o_
t
mpcopy()
commit
|
commitdiff
|
tree
2010-06-14
Ali Gholami
Rudi
gen: fix "i
f
(
!expr)"
commit
|
commitdiff
|
tree
2010-06-14
Al
i
Gholami
Rudi
n
c
c
:
fix
p
o
inter ari
t
hm
e
t
i
c on struct ptrs
commit
|
commitdiff
|
tree
2010-06-14
Al
i
Gh
o
lami Rudi
sho
w
an e
r
ror msg if n
o
i
nput file
commit
|
commitdiff
|
tree
2010-06-13
Al
i
G
ho
l
ami Rudi
tok: accept uppercase hex di
g
its
commit
|
commitdiff
|
tree
2010-06-13
A
li Gho
l
ami Rudi
show
syntax error
lo
c
ation
commit
|
commitdiff
|
tree
2010-06-12
Ali Gholami Rudi
gen: fix ig
n
oring
r
e
g
op1() retur
n
value
commit
|
commitdiff
|
tree
2010-06-11
Ali
G
h
ol
a
mi Rud
i
gen
:
don't change
tmp->
b
t when s
t
oring an lvalue
commit
|
commitdiff
|
tree
2010-06-11
Ali Gholami Rudi
gen: exte
n
d eax
to edx for mul/div op
commit
|
commitdiff
|
tree
2010-06-11
Ali Gholami Rudi
ncc:
arrays shou
l
d
be proc
e
ss
e
d in the reversed
o
rder
commit
|
commitdiff
|
tree
2010-06-10
Ali Gho
l
ami Rud
i
gen: fix th
e
order
of MOVSXD's operands
commit
|
commitdiff
|
tree
2010-06-10
A
l
i Gho
l
ami Rud
i
g
en: fix freein
g
re
g
isters before c
a
ll
commit
|
commitdiff
|
tree
2010-06-10
A
l
i G
h
o
l
ami Rudi
inv
a
lidate last_
c
mp
if tmps are changed
commit
|
commitdiff
|
tree
2010-06-10
A
li Gholami Rudi
derefe
r
enc
e
both sides of
a co
n
dition
a
l
expr
e
s
sion
commit
|
commitdiff
|
tree
2010-06-10
Ali Ghola
m
i Rudi
cpp: check buffer stac
k
instead of
c
ppeval
v
ariable
commit
|
commitdiff
|
tree
2010-06-09
Ali
Gho
l
ami Rudi
cp
p
: prevent recursive macros
commit
|
commitdiff
|
tree
2010-06-09
Ali Gh
o
lami
Ru
d
i
cp
p
: m
u
lti
-
argument macros
commit
|
commitdiff
|
tree
2010-06-08
Ali Gholami Rudi
cpp: spa
c
e
b
e
t
w
een ma
c
r
o
and '(
'
commit
|
commitdiff
|
tree
2010-06-08
Ali Gholami Rudi
nc
c
: exit if
n
u
mber of elements exc
e
eds its max
commit
|
commitdiff
|
tree
2010-06-08
Ali Ghol
a
mi
R
udi
ncc: only add used
exte
r
nal s
y
mbols to elf sy
m
tab
commit
|
commitdiff
|
tree
2010-06-08
Ali
Gholami Rudi
handl
e
#if and #el
i
f
commit
|
commitdiff
|
tree
2010-06-08
Ali Gholami Ru
d
i
handle #ifdef
,
#ifndef, #else
and #endif
commit
|
commitdiff
|
tree
2010-06-08
Ali G
h
o
lami Ru
d
i
s
upport #un
d
ef NAME
commit
|
commitdiff
|
tree
2010-06-08
Ali Gholami Rudi
a
llow -Dname=va
l
opt
i
on
commit
|
commitdiff
|
tree
2010-06-08
Ali Gholami Rudi
cpp: handle functi
o
n macros
commit
|
commitdiff
|
tree
2010-06-07
Ali Gholami Rudi
hand
l
e
-I
include
p
a
ths
commit
|
commitdiff
|
tree
2010-06-06
A
li
G
holami Rudi
cpp:
basic
i
n
clude macros
commit
|
commitdiff
|
tree
2010-06-06
Ali Gho
l
a
m
i Rudi
add a basi
c
preproc
e
ss
o
r
commit
|
commitdiff
|
tree
2010-06-05
Ali Gholami Rudi
ncc: fix marking undefined funct
i
ons
as fu
n
ctions
commit
|
commitdiff
|
tree
2010-06-04
Ali Gholami
Rudi
for
s
tateme
n
ts w
i
t
h
n
o con
d
ition
commit
|
commitdiff
|
tree
2010-06-04
Ali Gholam
i
Rudi
tok: '\12' and '\
x
3b'
commit
|
commitdiff
|
tree
2010-06-04
A
l
i Gho
l
ami Rudi
tok: support
nu
m
bers with ul
p
o
stfix
commit
|
commitdiff
|
tree
2010-06-04
Ali Gholami
R
udi
to
k
:
s = "a" "b";
commit
|
commitdiff
|
tree
2010-06-03
Ali
Gh
o
lami Rudi
tok: read
s
t
r
and num
as they
a
re seen
commit
|
commitdiff
|
tree
2010-06-03
A
li G
h
o
l
am
i
Rudi
array->field
commit
|
commitdiff
|
tree
2010-06-03
Ali
Gholami Rudi
gen:
fix o_tmpcopy()
when
copy
i
ng regs
commit
|
commitdiff
|
tree
2010-06-03
A
l
i G
h
o
l
ami
Rudi
suppo
r
t
initializer
for static va
r
iable
s
commit
|
commitdiff
|
tree
2010-06-02
A
l
i Gholam
i
R
udi
int a[]
=
{1, 2};
commit
|
commitdiff
|
tree
2010-06-01
Ali Gholami
R
udi
h
andle
.
.
.
argume
n
t
commit
|
commitdiff
|
tree
2010-06-01
Ali
Gholami Rudi
hand
l
e ar
r
ay ar
g
s
commit
|
commitdiff
|
tree
2010-06-01
Ali
G
ho
l
a
mi Ru
d
i
handle extern va
r
ia
b
les
commit
|
commitdiff
|
tree
2010-06-01
Ali G
h
olam
i
Rudi
fun
c
tion pointer arguments
commit
|
commitdiff
|
tree
2010-05-31
A
l
i Gholami Rudi
accept si
g
ned
token
commit
|
commitdiff
|
tree
2010-05-31
Ali
G
holami Rudi
h
a
ndle sizeof(*
p
)
wher
e
p is void *
commit
|
commitdiff
|
tree
2010-05-30
Ali Gholami Rudi
nc
c
: handle un
n
amed st
r
uct
s
commit
|
commitdiff
|
tree
2010-05-30
Ali Gh
o
la
m
i
Rudi
ncc: handle forw
a
rd struct
p
t
r usage
commit
|
commitdiff
|
tree
2010-05-28
Ali Gho
l
ami R
u
di
ncc: char a[4] = "abc";
commit
|
commitdiff
|
tree
2010-05-28
A
li Gho
l
ami
R
u
d
i
support goto statement
commit
|
commitdiff
|
tree
2010-05-28
A
l
i Gho
l
ami Rudi
gen: han
d
le more than 6 arg
s
commit
|
commitdiff
|
tree
2010-05-28
A
l
i
Gholami R
u
di
gen: op
t
imi
z
e
c
onstant operat
i
ons on loc
a
l
addr
e
sses
commit
|
commitdiff
|
tree
2010-05-28
A
li
G
hol
a
mi Rudi
ncc
:
i
nt a[2]
[
2]
=
{
1, 2, 3};
commit
|
commitdiff
|
tree
2010-05-28
Ali Gholam
i
R
u
di
handle initializer for l
o
c
al
vari
a
bles
commit
|
commitdiff
|
tree
2010-05-27
Ali Gholami Ru
d
i
handle struct as
s
ignm
e
nt
commit
|
commitdiff
|
tree
2010-05-27
Ali Gholami Rudi
nc
c
: use forwar
d
function
decla
r
a
t
ions
commit
|
commitdiff
|
tree
2010-05-27
Ali Gholami
R
udi
gen: fix c
a
sting n
u
ms to signed types
commit
|
commitdiff
|
tree
2010-05-27
Ali Gholam
i
Rudi
out:
use zero st_
n
ame for unnamed symbols
commit
|
commitdiff
|
tree
2010-05-26
Ali
Gholami R
u
di
n
c
c: cast return v
a
lue
commit
|
commitdiff
|
tree
2010-05-26
Ali
G
holami Rudi
mark static symbols as S
T
B
_LO
C
AL
commit
|
commitdiff
|
tree
2010-05-25
Ali G
h
olami
R
udi
ncc: h
a
ndle static variables
commit
|
commitdiff
|
tree
2010-05-25
Ali Gholam
i
Ru
d
i
ncc: type_
b
td
e
() is no
lon
g
er used
commit
|
commitdiff
|
tree
2010-05-24
A
li Gholami
Rudi
n
cc: h
a
n
dle multi-dimensi
o
nal ar
r
a
y
s
commit
|
commitdiff
|
tree
2010-05-24
Ali Gholami
R
udi
gen: op
t
imize l
o
a
ding s
m
all long immedi
a
tes
commit
|
commitdiff
|
tree
2010-05-23
A
li Gholami Rudi
ncc
:
u
s
e n
a
m
es defined closest t
o
the us
a
ge
commit
|
commitdiff
|
tree
2010-05-23
Ali Gholami Rudi
support function
p
o
i
n
t
ers
commit
|
commitdiff
|
tree
2010-05-23
A
l
i
Gh
o
lami Rudi
gen: fix constant ca
s
t
s
commit
|
commitdiff
|
tree
2010-05-22
Ali Gholami Rudi
suppo
r
t ca
s
ts
commit
|
commitdiff
|
tree
2010-05-21
Al
i
Gholami Rudi
add switch stmt sup
p
ort
commit
|
commitdiff
|
tree
2010-05-21
A
li Gho
l
ami Rudi
add do-w
h
il
e
s
upport
commit
|
commitdiff
|
tree
2010-05-21
Ali Gholami
R
udi
support break and con
t
inue
commit
|
commitdiff
|
tree
2010-05-21
Al
i
G
h
olami
R
udi
add typedef sup
p
ort
commit
|
commitdiff
|
tree
2010-05-21
A
li Gholami R
u
d
i
support e
n
um ty
p
es
commit
|
commitdiff
|
tree
2010-05-21
Ali Gh
o
lam
i
Rudi
hand
l
e
a
rray definit
i
o
n
s with const ex
p
r size
commit
|
commitdiff
|
tree
2010-05-21
Ali Gholam
i
Rudi
inline constant expres
s
ions
commit
|
commitdiff
|
tree
2010-05-21
Ali Gholami Rudi
han
d
le
m
ultiple
o_noge
n
()s
commit
|
commitdiff
|
tree
2010-05-20
Ali Gholam
i
Rudi
g
e
n:
z
ero
o
ut eax
b
efo
r
e calli
n
g
commit
|
commitdiff
|
tree
2010-05-20
Ali G
h
o
l
ami
Rudi
g
e
n: fi
x
argument order in o
_
call()
commit
|
commitdiff
|
tree
2010-05-20
Ali Gholami Rudi
add union suppo
r
t
commit
|
commitdiff
|
tree
2010-05-20
A
l
i
Gholami Rudi
h
a
ndle si
z
e
of op
e
rator
commit
|
commitdiff
|
tree
2010-05-20
Ali Gholami Rudi
supp
o
rt normal
s
t
ru
c
ts
commit
|
commitdiff
|
tree
2010-05-19
A
l
i
Gholami R
u
di
ncc: parse recursi
v
e
s like f()()
commit
|
commitdiff
|
tree
2010-05-18
Ali Gholami Rudi
ncc: handle poi
n
t
ers in x
+
+
an
d
x
+=
y
commit
|
commitdiff
|
tree
next