mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-12-27 04:55:01 +08:00
0ea49890a8
2005-06-14 Frank Ch. Eigler <fche@redhat.com> PR mudflap/21023 * tree-mudflap.c (mudflap_finish_file): Exclude non-public rather than static objects (!) from libmudflap registration. * testsuite/libmudflap.c/externs.exp, externs-{1,2}.c: New test files. * testsuite/libmudflap.c/cfrags.exp: Bypass new sources. From-SVN: r100950
20 lines
521 B
Plaintext
20 lines
521 B
Plaintext
|
|
libmudflap-init c
|
|
|
|
dg-init
|
|
|
|
global srcdir
|
|
foreach flags [list {} {-static} {-O2} {-O3}] {
|
|
foreach srcfile [lsort [glob -nocomplain \
|
|
${srcdir}/libmudflap.c/*frag.c \
|
|
${srcdir}/libmudflap.c/heap*.c \
|
|
${srcdir}/libmudflap.c/hook*.c \
|
|
${srcdir}/libmudflap.c/pass*.c]] {
|
|
set bsrc [file tail $srcfile]
|
|
setenv MUDFLAP_OPTIONS "-viol-segv"
|
|
dg-runtest $srcfile $flags "-fmudflap -lmudflap"
|
|
}
|
|
}
|
|
|
|
dg-finish
|