2004-05-13 08:41:07 +02:00
|
|
|
|
2004-05-17 22:34:19 +02:00
|
|
|
libmudflap-init c++
|
2004-05-13 08:41:07 +02:00
|
|
|
|
|
|
|
dg-init
|
|
|
|
|
|
|
|
global srcdir
|
|
|
|
|
|
|
|
foreach flags [list {} {-static} {-O2} {-O3}] {
|
|
|
|
foreach srcfile [lsort [glob -nocomplain ${srcdir}/libmudflap.c++/*.cxx]] {
|
|
|
|
set bsrc [file tail $srcfile]
|
|
|
|
setenv MUDFLAP_OPTIONS "-no-heur-proc-map -viol-segv"
|
|
|
|
dg-runtest $srcfile $flags "-fmudflap"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dg-finish
|