This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH v2 11/13] Test case for conversion from __seg_tls:0
- From: Richard Biener <richard dot guenther at gmail dot com>
- To: Richard Henderson <rth at redhat dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 9 Nov 2015 15:46:20 +0100
- Subject: Re: [PATCH v2 11/13] Test case for conversion from __seg_tls:0
- Authentication-results: sourceware.org; auth=none
- References: <1445376433-14658-1-git-send-email-rth at redhat dot com> <1445376433-14658-12-git-send-email-rth at redhat dot com>
On Tue, Oct 20, 2015 at 11:27 PM, Richard Henderson <rth@redhat.com> wrote:
> ---
> gcc/testsuite/gcc.target/i386/addr-space-3.c | 10 ++++++++++
> 1 file changed, 10 insertions(+)
> create mode 100644 gcc/testsuite/gcc.target/i386/addr-space-3.c
>
> diff --git a/gcc/testsuite/gcc.target/i386/addr-space-3.c b/gcc/testsuite/gcc.target/i386/addr-space-3.c
> new file mode 100644
> index 0000000..63f1f03
> --- /dev/null
> +++ b/gcc/testsuite/gcc.target/i386/addr-space-3.c
> @@ -0,0 +1,10 @@
> +/* { dg-do compile } */
> +/* { dg-options "-O" } */
> +/* { dg-final { scan-assembler "[fg]s:0" } } */
Causes
ERROR: (DejaGnu) proc "fg" does not exist.
The error code is NONE
The info on the error is:
close: spawn id exp6 not open
while executing
"close -i exp6"
invoked from within
"catch "close -i $spawn_id""
> +
> +void test(int *y)
> +{
> + int *x = (int __seg_tls *)0;
> + if (x == y)
> + asm("");
> +}
> --
> 2.4.3
>