diff options
author | Loren J. Rittle <ljrittle@acm.org> | 2003-02-08 01:11:35 +0000 |
---|---|---|
committer | Loren J. Rittle <ljrittle@gcc.gnu.org> | 2003-02-08 01:11:35 +0000 |
commit | 8f37dd984b5783b5566836ccba59f6e71527d564 (patch) | |
tree | 222723c32bf50aed4465b41fe28c55bf4b1417fd /gcc/testsuite/gcc.dg/20021014-1.c | |
parent | 0a6bc314508ce446b06c89a281b62fe372f7b099 (diff) | |
download | gcc-8f37dd984b5783b5566836ccba59f6e71527d564.zip gcc-8f37dd984b5783b5566836ccba59f6e71527d564.tar.gz gcc-8f37dd984b5783b5566836ccba59f6e71527d564.tar.bz2 |
freebsd.h (LINK_SPEC): Weaken error to notice.
* config/alpha/freebsd.h (LINK_SPEC): Weaken error to notice.
* config/ia64/freebsd.h (LINK_SPEC): Likewise.
* config/sparc/freebsd.h (LINK_SPEC): Likewise.
* config/i386/freebsd.h (LINK_SPEC): Add clause to mirror other arches.
* gcc.dg/20021014-1.c: Annotate with expected notice text.
From-SVN: r62567
Diffstat (limited to 'gcc/testsuite/gcc.dg/20021014-1.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/20021014-1.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/20021014-1.c b/gcc/testsuite/gcc.dg/20021014-1.c index 8a3ad1d..cfb90d8 100644 --- a/gcc/testsuite/gcc.dg/20021014-1.c +++ b/gcc/testsuite/gcc.dg/20021014-1.c @@ -1,6 +1,7 @@ /* { dg-do run } */ /* { dg-options "-O2 -p" } */ /* { dg-error "profiler" "No profiler support" { target mmix-*-* } 0 } */ +/* { dg-error "" "consider using `-pg' instead of `-p' with gprof(1)" { target *-*-freebsd* } 0 } */ /* Support for -p on solaris2 relies on mcrt1.o which comes with the vendor compiler. We cannot reiably predict the directory where the vendor compiler (and thus mcrt1.o) is installed so we can't |