This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Check -shared is available for pr87906's tesstcase


This patch is deprecated, newer one is here:
https://gcc.gnu.org/ml/gcc-patches/2019-08/msg00026.html
and it include fix for another testcase.

On Wed, Jul 31, 2019 at 5:22 PM Kito Cheng <kito.cheng@sifive.com> wrote:
>
> gcc/testsuite/ChangeLog:
>
>         * g++.dg/lto/pr87906_0.C: Add dg-require-effective-target shared check.
> ---
>  gcc/testsuite/g++.dg/lto/pr87906_0.C | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/gcc/testsuite/g++.dg/lto/pr87906_0.C b/gcc/testsuite/g++.dg/lto/pr87906_0.C
> index 434d9fbe142..6a04cd5c6f0 100644
> --- a/gcc/testsuite/g++.dg/lto/pr87906_0.C
> +++ b/gcc/testsuite/g++.dg/lto/pr87906_0.C
> @@ -1,5 +1,6 @@
>  // { dg-lto-do link }
>  // { dg-require-effective-target fpic }
> +// { dg-require-effective-target shared }
>  // { dg-lto-options { { -O -fPIC -flto } } }
>  // { dg-extra-ld-options "-shared -nostdlib" }
>
> --
> 2.17.1
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]