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: fix handling function pointer types without a name
2011-12-23
Ali Gholami Rudi
n
c
c: fix ha
n
dling func
t
ion pointe
r
types
w
ithou
t
a
.
.
.
commit
|
commitdiff
|
tree
2011-12-09
A
li G
h
olami R
u
di
g
e
n:
c
omplain if MAXJMPS is
reached
commit
|
commitdiff
|
tree
2011-12-09
A
li Gholami Rudi
gen:
s
implify b
r
anch instruct
i
ons
b
y
r
em
o
ving o_filljmp()
commit
|
commitdiff
|
tree
2011-12-08
Ali Gho
l
ami Rudi
ncc: support k&r styl
e
function definitions
commit
|
commitdiff
|
tree
2011-12-08
Al
i
Gholami Rudi
out: use rel
.
* name
for relocation sec
t
i
o
ns on
x
8
6
.
.
.
commit
|
commitdiff
|
tree
2011-12-07
Ali Gholami Rudi
ncc: sup
p
ort
(expr, expr) expre
s
s
ion
commit
|
commitdiff
|
tree
2011-12-07
Ali Gholami
Rud
i
cpp: fix
e
va
l
uating integer constants
commit
|
commitdiff
|
tree
2011-11-10
Ali G
h
o
l
ami Rud
i
ou
t
: add a workaround f
o
r bad l
i
nker
s
commit
|
commitdiff
|
tree
2011-11-08
A
li Gholami R
u
d
i
Makef
i
le: default to x86 b
u
ild
commit
|
commitdiff
|
tree
2011-11-08
Ali Ghola
m
i Rudi
ncc:
d
efine __i386__ for x86 builds
commit
|
commitdiff
|
tree
2011-11-08
Ali Gho
l
ami
R
udi
merge the x
8
6 port to master bran
c
h
commit
|
commitdiff
|
tree
2011-10-17
A
l
i G
h
o
lami Rudi
ncc
:
bet
t
er cha
r
array ini
t
iali
z
at
i
on
commit
|
commitdiff
|
tree
2011-10-17
Ali Gh
o
lam
i
Rudi
out: ass
u
re 8-byte alignme
n
t of da
t
a and bss
s
e
ction
.
.
.
commit
|
commitdiff
|
tree
2011-06-16
Ali Gh
o
lami Rud
i
t
a
b: fix tab_de
l
(); ot
h
erwise #undef won't work
commit
|
commitdiff
|
tree
2011-06-05
Ali
Gh
o
lami Rudi
n
c
c
: call ts
_
de() in ts_pop_de()
commit
|
commitdiff
|
tree
2011-06-04
Ali Ghol
a
mi Rudi
ncc: handl
e
switch stmt where default
label ap
p
ears
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
A
l
i
Gholami R
u
di
ncc: don't overwrite global nam
e
s
by stat
i
c
funct
i
on
.
.
.
commit
|
commitdiff
|
tree
2011-05-26
Ali Gholami
Rudi
cp
p
: fi
x
handli
n
g c
o
mments an
d
strings inside
m
a
cros
commit
|
commitdiff
|
tree
2011-05-24
Al
i
Gholami Rud
i
ncc: han
d
l
e
empty static i
n
itia
l
ize
r
s
commit
|
commitdiff
|
tree
2011-05-24
Ali Gholami Rudi
cpp: igno
r
e com
m
ents insi
d
e string
m
acros
commit
|
commitdiff
|
tree
2011-05-24
Ali Gholami Rudi
neatcc: a
d
d a nc
c
invoca
t
ion scri
p
t
commit
|
commitdiff
|
tree
2011-05-24
A
li Ghol
a
m
i Rudi
more verbose
e
rror messages
f
or
missing files
commit
|
commitdiff
|
tree
2011-05-24
Ali
G
holami Rudi
cpp: do
n
't
search /usr/in
c
lude
f
or
h
eaders by
d
efau
l
t
commit
|
commitdiff
|
tree
2011-05-22
A
l
i Gholami Rudi
cpp: merge cur++'
s
i
n
r
e
a
d
arg()
commit
|
commitdiff
|
tree
2011-05-22
Ali Gholami
Rudi
gen
:
fix
reg_fortmp(
)
i
ndent
a
tion
commit
|
commitdiff
|
tree
2011-05-19
Ali Gh
o
lami Rudi
ncc:
handle o
v
e
rla
p
pi
n
g c
o
n
d
itional
e
xpressions
commit
|
commitdiff
|
tree
2011-05-19
Ali Ghola
m
i R
u
di
ncc: handle sizeof
x
+
2
commit
|
commitdiff
|
tree
2011-05-11
Ali Gholami Rudi
ncc: make sure
t->addr == 0 before calling
o
_pop
n
um()
commit
|
commitdiff
|
tree
2011-05-11
Ali Ghol
a
mi Rudi
ncc: ign
o
re the semic
o
l
o
n after do-w
h
ile
commit
|
commitdiff
|
tree
2011-05-09
Ali Ghol
a
mi
R
udi
ncc:
switch default labels when not appea
r
ing at
t
he end
commit
|
commitdiff
|
tree
2011-05-08
Ali Gh
o
l
a
mi Rudi
ncc: opas
s
ig
n
should use the time of l
h
s
commit
|
commitdiff
|
tree
2011-05-08
Ali Gho
l
a
mi Rudi
ncc: move nogen to ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
A
li Gholami Rudi
n
c
c
: always
in
i
tializ
e
o
u
tput fi
l
ename
commit
|
commitdiff
|
tree
2011-05-08
Al
i
G
h
o
l
ami Rudi
R
E
ADME: ignored
keywords are now
b
uilt into ncc
.
c
commit
|
commitdiff
|
tree
2011-05-08
Ali Gholami Rudi
nc
c
: support
-o out
commit
|
commitdiff
|
tree
2011-05-08
A
l
i Gholami Rudi
ncc: handle extern functi
o
n d
e
cla
r
ations inside fu
n
c
tions
commit
|
commitdiff
|
tree
2011-05-06
Ali Gholami Rudi
n
cc: handle extern variable dec
l
ara
t
ions inside
f
unctions
commit
|
commitdiff
|
tree
2011-05-04
Ali Ghol
a
m
i
R
udi
ncc: move macros lik
e
__STDC__ to ncc
.
c
commit
|
commitdiff
|
tree
2011-05-04
Ali G
h
olami R
u
di
tok
:
h
a
n
d
le // commen
t
s
commit
|
commitdiff
|
tree
2011-05-04
A
li Gholami Rudi
ncc: ignore the keywo
r
ds neat
c
c doesn'
t
care about
commit
|
commitdiff
|
tree
2011-05-01
Ali Gho
l
ami R
u
di
gen: reset l
a
st_cmp in i
_
prolog()
commit
|
commitdiff
|
tree
2011-04-29
Ali Ghol
a
m
i
Rudi
gen: bac
k
-port cmp
+
b
c
c
o
ptimiz
a
tion again
commit
|
commitdiff
|
tree
2011-04-29
Ali Ghola
m
i R
u
d
i
gen: move opcodes to arch section
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami
R
udi
gen:
r
enam
e
FORK_REG
t
o REG
_
F
O
RK
commit
|
commitdiff
|
tree
2011-04-29
Ali Ghola
m
i Rudi
gen: pass only O_* con
s
tants to i
_
*() functions
commit
|
commitdiff
|
tree
2011-04-29
Ali Ghola
m
i Rudi
g
e
n: han
d
le sym+off function calls
commit
|
commitdiff
|
tree
2011-04-29
Ali Gholami Rudi
gen: move
architecture-specific functions to the en
d
.
.
.
commit
|
commitdiff
|
tree
2011-04-01
Ali Gholami R
u
d
i
gen: use i
_
set() in i_
l
no
t
()
commit
|
commitdiff
|
tree
2011-04-01
Ali Gh
o
lami Rud
i
g
e
n: pas
s
the number of arguments to
o
_func_be
g
()
commit
|
commitdiff
|
tree
2011-03-31
A
l
i Gholam
i
Rudi
gen: encode
0
xf0000000 as an immediate
commit
|
commitdiff
|
tree
2011-03-31
Ali Gholami Rudi
g
e
n: swap th
e
immediate i
f
needed for == and !=
commit
|
commitdiff
|
tree
2011-03-31
Ali Ghol
a
mi Rudi
gen: encode cmp+immediate ins
t
ructio
n
s
commit
|
commitdiff
|
tree
2011-03-31
A
l
i
G
h
o
lami
Rudi
g
en: put the immediate in the opcode if poss
i
bl
e
commit
|
commitdiff
|
tree
2011-03-30
Ali
G
holami R
u
di
gen:
r
em
o
v
e
cmp+branch optimization;
m
oved to opt br
a
nch
commit
|
commitdiff
|
tree
2011-03-30
Ali Ghol
a
mi
Rudi
cpp:
handle functi
o
n mac
r
os wi
t
h no arguments
commit
|
commitdiff
|
tree
2011-03-28
Ali
G
holam
i
R
ud
i
g
e
n
:
r
e
n
a
m
e dat
_
bss() and dat_da
t
() to
b
egin
wi
t
h o_
commit
|
commitdiff
|
tree
2011-03-28
Ali Ghol
a
mi Rudi
gen: gr
o
up funct
i
on
s
in gen
.
h
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami R
u
di
gen: reset last_set after cmp+b opt
i
miz
a
tion
commit
|
commitdiff
|
tree
2011-03-28
Ali Gholami Rud
i
g
e
n:
f
i
x
~ opera
t
or i
m
plementati
o
n
commit
|
commitdiff
|
tree
2011-03-27
Ali Gholami R
u
di
ncc: dere
f
eren
c
e function
p
ointers like any other va
r
iabl
e
s
commit
|
commitdiff
|
tree
2011-03-27
Ali
Gholami Rudi
gen: don't remove
t
he la
s
t return j
u
mp
commit
|
commitdiff
|
tree
2011-03-27
Ali Gh
o
l
ami
R
udi
gen: don't le
t
o_c
a
s
t
() change
d
ereferenced type
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami Ru
d
i
n
c
c: use
tok_jmp
(
) instead of tok_(see|get)()
i
n enum_create(
)
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami
R
u
di
gen: handle lar
g
e of
f
sets for str
commit
|
commitdiff
|
tree
2011-03-25
Ali Gholami R
u
di
ge
n
: replace TMP_REG
*
macros with reg_
f
ortmp()
commit
|
commitdiff
|
tree
2011-03-23
Ali Gholami Rudi
gen: chang
e
o_nogen()/o_
d
o
gen() to be recursive
commit
|
commitdiff
|
tree
2011-03-23
Ali Gho
l
ami
R
udi
gen: don't g
e
nera
t
e excess j
u
mps for th
e
last return
commit
|
commitdiff
|
tree
2011-03-23
A
li Gholami Rudi
gen: don't add
d
uplicate
data to nu
m
b
er
pool
commit
|
commitdiff
|
tree
2011-03-20
Ali Gh
o
l
am
i
Rudi
g
e
n: call t
m
p_to(
)
i
n
fo
r
loading rh
s
in o_assing()
commit
|
commitdiff
|
tree
2011-03-20
Ali Gholami R
u
di
gen: ignore O_SIGNED when checkin
g
the opcode
commit
|
commitdiff
|
tree
2011-03-17
Ali Gholami Rudi
gen: fi
x
si
g
ned divisi
o
n t
o
negate the
remainder
commit
|
commitdiff
|
tree
2011-03-16
Ali Gholami Rudi
gen: me
r
ge decrement and
c
heck
i
n i_memcp
y
() and i_memset(
)
commit
|
commitdiff
|
tree
2011-03-15
A
l
i G
h
olami R
u
di
gen: don
'
t save variable r
e
gi
s
te
r
s before cal
l
s
commit
|
commitdiff
|
tree
2011-03-15
A
l
i Gh
o
lam
i
R
udi
gen:
add
s
oftware div/mod impl
e
mentation
commit
|
commitdiff
|
tree
2011-03-15
Al
i
Gholami
R
udi
ncc
:
s
e
t
O_SIGN for most binary operati
o
ns
commit
|
commitdiff
|
tree
2011-03-15
Ali Gholami Rudi
nc
c
: d
e
referenc
e
t
h
e not expres
s
i
o
n of cexprs
commit
|
commitdiff
|
tree
2011-03-15
Ali
G
h
olam
i
Rudi
pe
r
fo
r
m sign
e
d ope
r
ations if O_SI
G
NE
D
bit is set
commit
|
commitdiff
|
tree
2011-03-14
A
li Gholami Rudi
cpp: de
f
ine __arm__
commit
|
commitdiff
|
tree
2011-03-14
Al
i
G
h
ola
m
i Rudi
n
c
c: don't cast
t
h
e retu
r
n v
a
l
u
e for voi
d
functions
commit
|
commitdiff
|
tree
2011-03-14
Ali Gholam
i
Rudi
gen: more
c
omp
a
ct
v
ersion of memcpy() a
n
d memset()
commit
|
commitdiff
|
tree
2011-03-14
A
li Gholami Rudi
gen: don't ou
t
put r
e
locations when o_nogen() is
c
alled
commit
|
commitdiff
|
tree
2011-03-13
Ali
Ghola
m
i Rud
i
n
e
atcc arm port
commit
|
commitdiff
|
tree
2011-03-08
Ali Gholami Rudi
clea
n
up the interface between ncc
.
c, gen
.
c and o
u
t
.
c
commit
|
commitdiff
|
tree
2011-02-19
Ali
G
holami
Rudi
npp: r
e
move comme
n
ts after preproc
e
ssi
n
g
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami Rudi
cpp: don't
r
e
move
non-macro number signs
commit
|
commitdiff
|
tree
2011-02-19
Ali Gholami Rud
i
npp:
allow us
i
ng neatc
c
's pre
p
ro
c
es
s
o
r as
a st
a
ndalone
.
.
.
commit
|
commitdiff
|
tree
2011-01-18
Ali Gho
l
ami Rudi
c
p
p: do
n
't skip no
n
-eol macro backslashes
commit
|
commitdiff
|
tree
2010-12-18
Al
i
Gholami Rudi
gen: fix op_rs() opti
m
ization fu
n
c
tion
commit
|
commitdiff
|
tree
2010-12-18
Ali G
h
ola
m
i
Rudi
gen:
u
s
e
bet
t
e
r names
for opc
o
des
commit
|
commitdiff
|
tree
2010-12-11
Ali
G
ho
l
ami Rudi
cp
p
:
define __i386__; __x
8
6_64__
is n
o
l
onge
r
s
u
ppor
t
ed
commit
|
commitdiff
|
tree
2010-11-20
Ali Ghola
m
i Rudi
gen: lo
a
d
the
firs
t
tmp
before call
i
ng TMP_REG2()
commit
|
commitdiff
|
tree
2010-09-16
Al
i
Gholami Rudi
add README
commit
|
commitdiff
|
tree
2010-08-13
Ali Gholami Rudi
ncc: fix nam
e
->name st
r
initialize
r
commit
|
commitdiff
|
tree
2010-08-13
A
l
i Ghol
a
mi Rudi
all
o
w ext
e
rn
arr
a
y
decla
r
ations without s
i
z
e
commit
|
commitdiff
|
tree
2010-07-29
Al
i
Ghola
m
i
Rudi
cpp:
in
c
lu
d
e s
t
ddef
.
h
f
o
r
using offsetof(
)
commit
|
commitdiff
|
tree
2010-07-28
A
li Gholami
Rudi
tok: pars
e
u
p
p
ercase hex nu
m
bers
commit
|
commitdiff
|
tree
2010-07-25
A
li Gholami Rudi
n
c
c:
f
ix se
t
ting F_IN
I
T
for ea
c
h defined na
m
e
commit
|
commitdiff
|
tree
2010-07-14
Ali Gholami Rudi
cpp
:
handle nest
e
d macro calls l
i
ke M(M(1))
commit
|
commitdiff
|
tree
2010-07-14
Al
i
Ghola
m
i Rudi
tok:
d
on't
g
o
b
eyon
d
bu
f
len for 3-char
t
okens
commit
|
commitdiff
|
tree
2010-07-14
A
li Gholami
R
udi
t
ab
.
h:
u
s
e the s
t
and
a
rd offsetof()
commit
|
commitdiff
|
tree
next