From 4c3ee1f9188e2cb3f6906b321236433c20b83957 Mon Sep 17 00:00:00 2001 From: Vladimir Makarov Date: Fri, 9 Nov 2012 14:28:40 +0000 Subject: re PR rtl-optimization/55151 (ICE: in assign_by_spills, at lra-assigns.c:1217 with -fPIC) 2012-11-09 Vladimir Makarov PR rtl-optimization/55151 * gcc.dg/pr55151.c: Move ... * gcc.target/i386/pr55151.c: ... here. From-SVN: r193361 --- gcc/testsuite/ChangeLog | 9 +++++++-- gcc/testsuite/gcc.dg/pr55151.c | 13 ------------- gcc/testsuite/gcc.target/i386/pr55151.c | 13 +++++++++++++ 3 files changed, 20 insertions(+), 15 deletions(-) delete mode 100644 gcc/testsuite/gcc.dg/pr55151.c create mode 100644 gcc/testsuite/gcc.target/i386/pr55151.c (limited to 'gcc') diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index cdf47a9..fbc576b 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,8 +1,13 @@ +2012-11-09 Vladimir Makarov + + PR rtl-optimization/55151 + * gcc.dg/pr55151.c: Move ... + * gcc.target/i386/pr55151.c: ... here. + 2012-11-09 Andrey Belevantsev PR rtl-optimization/54472 - - * gcc.dg/pr54472.c: New test. + * gcc.dg/pr54472.c: New test. 2012-11-09 Eric Botcazou diff --git a/gcc/testsuite/gcc.dg/pr55151.c b/gcc/testsuite/gcc.dg/pr55151.c deleted file mode 100644 index 2bf68df..0000000 --- a/gcc/testsuite/gcc.dg/pr55151.c +++ /dev/null @@ -1,13 +0,0 @@ -/* PR rtl-optimization/55151 */ -/* { dg-do compile { target { ! { ia32 } } } } */ -/* { dg-options "-fPIC" } */ - -int a, b, c, d, e, f, g, h, i, j, k, l; -void f4 (void) -{ - __asm__ volatile ("":[a] "=r,m" (a),[b] "=r,m" (b),[c] "=r,m" (c), - [d] "=r,m" (d),[e] "=r,m" (e),[f] "=r,m" (f), - [g] "=r,m" (g),[h] "=r,m" (h),[i] "=r,m" (i), - [j] "=r,m" (j),[k] "=r,m" (k),[l] "=r,m" (l):"[a],m" (a), - "[j],m" (j), "[k],m" (k), "[l],m" (l)); -} diff --git a/gcc/testsuite/gcc.target/i386/pr55151.c b/gcc/testsuite/gcc.target/i386/pr55151.c new file mode 100644 index 0000000..2bf68df --- /dev/null +++ b/gcc/testsuite/gcc.target/i386/pr55151.c @@ -0,0 +1,13 @@ +/* PR rtl-optimization/55151 */ +/* { dg-do compile { target { ! { ia32 } } } } */ +/* { dg-options "-fPIC" } */ + +int a, b, c, d, e, f, g, h, i, j, k, l; +void f4 (void) +{ + __asm__ volatile ("":[a] "=r,m" (a),[b] "=r,m" (b),[c] "=r,m" (c), + [d] "=r,m" (d),[e] "=r,m" (e),[f] "=r,m" (f), + [g] "=r,m" (g),[h] "=r,m" (h),[i] "=r,m" (i), + [j] "=r,m" (j),[k] "=r,m" (k),[l] "=r,m" (l):"[a],m" (a), + "[j],m" (j), "[k],m" (k), "[l],m" (l)); +} -- cgit v1.1