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

21 lines
391 B
Plaintext
Raw Normal View History

libmudflap-init c++
if {$cxx == "g++"} then {
unsupported "g++ not found"
return
}
dg-init
global srcdir
foreach flags [list {} {-static} {-O} {-O2} {-O3}] {
foreach srcfile [lsort [glob -nocomplain ${srcdir}/libmudflap.c++/*frag.cxx]] {
set bsrc [file tail $srcfile]
setenv MUDFLAP_OPTIONS "-viol-segv"
dg-runtest $srcfile $flags "-fmudflap -lmudflap"
}
}
dg-finish