Adjust scan string for PIE
The order of address in the first operand is different due to different output orders of PLUS between output_addr_const and output_pic_addr_const. This patch adjusts scan string for PIE in gcc.target/i386/pr54445-2.c. * gcc.target/i386/pr54445-2.c: Adjust scan string for PIE. From-SVN: r219654
This commit is contained in:
parent
c61fcfa602
commit
645c25f642
@ -1,3 +1,7 @@
|
||||
2015-01-15 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* gcc.target/i386/pr54445-2.c: Adjust scan string for PIE.
|
||||
|
||||
2015-01-15 Richard Biener <rguenther@suse.de>
|
||||
|
||||
PR lto/64415
|
||||
|
@ -8,4 +8,4 @@ tls_array_lookup_with_negative_constant(long long int position) {
|
||||
return tls_array[position - 1];
|
||||
}
|
||||
|
||||
/* { dg-final { scan-assembler "mov(b|zbl)\[ \t\](%fs:)?tls_array@tpoff-1\\(%" } } */
|
||||
/* { dg-final { scan-assembler "mov(b|zbl)\[ \t\](%fs:)?(-1\\+)?tls_array@tpoff(-1)?\\(%" } } */
|
||||
|
Loading…
Reference in New Issue
Block a user