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
|
|
|
|
|
2005-04-12 20:09:09 +02:00
|
|
|
foreach flags [list {} {-static} {-O} {-O2} {-O3}] {
|
2004-07-09 21:51:51 +02:00
|
|
|
foreach srcfile [lsort [glob -nocomplain ${srcdir}/libmudflap.c++/*frag.cxx]] {
|
2004-05-13 08:41:07 +02:00
|
|
|
set bsrc [file tail $srcfile]
|
2004-07-09 21:51:51 +02:00
|
|
|
setenv MUDFLAP_OPTIONS "-viol-segv"
|
2004-06-04 22:12:01 +02:00
|
|
|
dg-runtest $srcfile $flags "-fmudflap -lmudflap"
|
2004-05-13 08:41:07 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dg-finish
|