gcc/libmudflap/testsuite/libmudflap.c++/c++frags.exp

17 lines
329 B
Plaintext
Raw Normal View History

libmudflap-init c++
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 -lmudflap"
}
}
dg-finish