2018-12-06 Richard Biener <rguenther@suse.de>
PR middle-end/63184
* c-c++-common/pr19807-2.c: Try link only on x86, add xfailed
optimized dump scanning.
* c-c++-common/pr19807-3.c: Likewise.
From-SVN: r266846
+2018-12-06 Richard Biener <rguenther@suse.de>
+
+ PR middle-end/63184
+ * c-c++-common/pr19807-2.c: Try link only on x86, add xfailed
+ optimized dump scanning.
+ * c-c++-common/pr19807-3.c: Likewise.
+
2018-12-06 Paolo Carlini <paolo.carlini@oracle.com>
* g++.dg/parse/bitfield6b.C: New.
-/* { dg-do link } */
-/* { dg-options "-O" } */
+/* Some targets can optimize this on RTL. */
+/* { dg-do link { target { x86_64-*-* i?86-*-* } } } */
+/* { dg-options "-O -fdump-tree-optimized" } */
extern void link_error(void);
int i;
link_error();
return 0;
}
+
+/* { dg-final { scan-tree-dump-not "link_error" "optimized" { xfail *-*-* } } } */
-/* { dg-do link } */
-/* { dg-options "-O" } */
+/* Some targets can optimize this on RTL. */
+/* { dg-do link { target { x86_64-*-* i?86-*-* } } } */
+/* { dg-options "-O -fdump-tree-optimized" } */
extern void link_error(void);
int i;
link_error();
return 0;
}
+
+/* { dg-final { scan-tree-dump-not "link_error" "optimized" { xfail *-*-* } } } */