This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Improve Solaris mudflap support (PR libmudflap/49550)
- From: Uros Bizjak <ubizjak at gmail dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: Rainer Orth <ro at cebitec dot uni-bielefeld dot de>, "Frank Ch. Eigler" <fche at redhat dot com>
- Date: Thu, 7 Jul 2011 14:34:01 +0200
- Subject: Re: Improve Solaris mudflap support (PR libmudflap/49550)
Hello!
> diff --git a/libmudflap/testsuite/libmudflap.c/pass47-frag.c b/libmudflap/testsuite/libmudflap.c/pass47-frag.c
> --- a/libmudflap/testsuite/libmudflap.c/pass47-frag.c
> +++ b/libmudflap/testsuite/libmudflap.c/pass47-frag.c
> @@ -8,3 +8,5 @@ int main ()
> tolower (buf[4]) == 'o' && tolower ('X') == 'x' &&
> isdigit (buf[3])) == 0 && isalnum ('4'));
> }
> +
> +/* { dg-warning "cannot track unknown size extern .__ctype." "Solaris __ctype declared without size" { target *-*-solaris2.* } 0 } */
This is handled differently throughout the mudflap testsuite:
/* Ignore a warning that is irrelevant to the purpose of this test. */
/* { dg-prune-output ".*mudflap cannot track unknown size extern.*" } */
Uros.