]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR target/60704 (ICE: in extract_constrain_insn_cached, at recog.c:2156 with ...
authorRichard Henderson <rth@redhat.com>
Tue, 1 Apr 2014 16:39:18 +0000 (09:39 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Tue, 1 Apr 2014 16:39:18 +0000 (09:39 -0700)
PR target/60704

        * gcc.dg/pr60704.c: New file.

From-SVN: r208990

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr60704.c [new file with mode: 0644]

index 49bc03667b2c947c1186cc7a89db646a4f9ada15..c802f14e6ed5942b8d0291a1daf79e6747660ef8 100644 (file)
@@ -1,3 +1,8 @@
+2014-04-01  Richard Henderson  <rth@redhat.com>
+
+       PR target/60704
+       * gcc.dg/pr60704.c: New file.
+
 2014-04-01  Bin Cheng  <bin.cheng@arm.com>
 
        PR target/60363
diff --git a/gcc/testsuite/gcc.dg/pr60704.c b/gcc/testsuite/gcc.dg/pr60704.c
new file mode 100644 (file)
index 0000000..8a9af39
--- /dev/null
@@ -0,0 +1,14 @@
+/* { dg-do compile } */
+/* { dg-options "-flive-range-shrinkage" } */
+/* { dg-additional-options "-march=amdfam10" { target { i?86-*-* x86_64-*-* } } } */
+
+struct S
+{
+  int n;
+};
+
+int
+foo (struct S s, double a)
+{
+  return s.n * a;
+}