This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/69917] New: gcc.target/i386/chkp-hidden-def.c FAILs
- From: "ro at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 23 Feb 2016 13:59:28 +0000
- Subject: [Bug target/69917] New: gcc.target/i386/chkp-hidden-def.c FAILs
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69917
Bug ID: 69917
Summary: gcc.target/i386/chkp-hidden-def.c FAILs
Product: gcc
Version: 6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: ro at gcc dot gnu.org
Target Milestone: ---
Host: i386-pc-solaris2.*
Target: i386-pc-solaris2.*
Build: i386-pc-solaris2.*
Since about 20160122 the gcc.target/i386/chkp-hidden-def.c test FAILs on
Solaris/x86:
FAIL: gcc.target/i386/chkp-hidden-def.c scan-assembler-not test.chkp
both for 32 and 64-bit, irrespective of assembler used. This was probably
triggered by
2016-01-20 H.J. Lu <hongjiu.lu@intel.com>
PR testsuite/69366
* g++.dg/pr63995-1.C: Require non-x32 target, instead of,
the MPX run-time library, for compile-time MPX test.
[...]
* gcc.target/i386/chkp-hidden-def.c: Likewise.
The same failure is present on the gcc-5 branch.
Comparing the assembler output between Linux and Solaris, I find
--- chkp-hidden-def.s.linux 2016-02-21 23:30:38.738580000 +0100
+++ chkp-hidden-def.s 2016-02-21 23:33:54.305250251 +0100
@@ -5,19 +5,15 @@
.hidden __test
.type __test, @function
__test:
-.LFB1:
- .cfi_startproc
movl 4(%esp), %eax
bndldx 4(%esp,%eax), %bnd0
bndcl (%eax), %bnd0
bndcu 3(%eax), %bnd0
movl (%eax), %eax
bnd ret
- .cfi_endproc
-.LFE1:
.size __test, .-__test
.globl test
- .set test,__test
+ .set test.chkp,__test
.weak __chkp_none_bounds
.section
.rodata.__chkp_none_bounds,"aG",@progbits,__chkp_none_bounds,comdat
.align 8
@@ -34,4 +30,3 @@
__chkp_zero_bounds:
.zero 8
.ident "GCC: (GNU) 6.0.0 20160219 (experimental) [trunk revision
233556]"
- .section .note.GNU-stack,"",@progbits
No idea yet why Linux would behave differently here. All other mpx compile
tests
pass on Solaris just as well.
Rainer