[PATCH v2 11/13] Test case for conversion from __seg_tls:0
Richard Biener
richard.guenther@gmail.com
Mon Nov 9 14:46:00 GMT 2015
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
>
More information about the Gcc-patches
mailing list