Commit b59506cd by Uros Bizjak

testsuite: Add -fcommon to gcc.target/i386/pr69052.c

This testcase is susceptible to memory location details and start to fail
with default to -fno-common.  Use -fcommon to set expected testing conditions.

	* gcc.target/i386/pr69052.c: Require target ia32.
	(dg-options): Add -fcommon and remove -pie.
parent bf5582c3
...@@ -9,6 +9,11 @@ ...@@ -9,6 +9,11 @@
2020-02-21 Uroš Bizjak <ubizjak@gmail.com> 2020-02-21 Uroš Bizjak <ubizjak@gmail.com>
* gcc.target/i386/pr69052.c: Require target ia32.
(dg-options): Add -fcommon and remove -pie.
2020-02-21 Uroš Bizjak <ubizjak@gmail.com>
* gcc.dg/vect/vect-epilogues.c (scan-tree-dump): Require * gcc.dg/vect/vect-epilogues.c (scan-tree-dump): Require
vect_mutiple_sizes effective target. vect_mutiple_sizes effective target.
......
/* { dg-do compile } */ /* { dg-do compile { target ia32 } } */
/* { dg-require-effective-target pie } */ /* { dg-require-effective-target pie } */
/* { dg-options "-O2 -fPIE -pie" } */ /* { dg-options "-O2 -fPIE -fcommon" } */
int look_nbits[256], loop_sym[256]; int look_nbits[256], loop_sym[256];
const int ind[] = { const int ind[] = {
...@@ -51,4 +51,4 @@ void foo (int *l1, int *l2, int *v, int *v1, int *m1, int i) ...@@ -51,4 +51,4 @@ void foo (int *l1, int *l2, int *v, int *v1, int *m1, int i)
} }
} }
/* { dg-final { scan-assembler-not "leal\[ \t\]ind@GOTOFF\\(%\[^,\]*\\), %" { target ia32 } } } */ /* { dg-final { scan-assembler-not "leal\[ \t\]ind@GOTOFF\\(%\[^,\]*\\), %" } } */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment