[Bug libgomp/90641] New: libgomp.c-c++-common/lastprivate-conditional-1.c etc FAIL

ro at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon May 27 08:04:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90641

            Bug ID: 90641
           Summary: libgomp.c-c++-common/lastprivate-conditional-1.c etc
                    FAIL
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libgomp
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ro at gcc dot gnu.org
                CC: jakub at gcc dot gnu.org
  Target Milestone: ---
            Target: sparc*-*-solaris2.11

The new libgomp.c-c++-common/lastprivate-conditional-[12].c tests FAIL on
32-bit
SPARC:

+FAIL: libgomp.c/../libgomp.c-c++-common/lastprivate-conditional-1.c execution
test
+FAIL: libgomp.c/../libgomp.c-c++-common/lastprivate-conditional-2.c execution
test
+FAIL: libgomp.c++/../libgomp.c-c++-common/lastprivate-conditional-1.c
execution test
+FAIL: libgomp.c++/../libgomp.c-c++-common/lastprivate-conditional-2.c
execution test

Thread 98 received signal SIGSEGV, Segmentation fault.
[Switching to Thread 11 (LWP 11)]
0x000132b0 in foo ()
(gdb) where
#0  0x000132b0 in foo ()
#1  0xff04f22c in gomp_thread_start (xdata=0xffbfcd34)
    at /vol/gcc/src/hg/trunk/local/libgomp/team.c:123
#2  0xfec54828 in _lwp_start () from /lib/libc.so.1
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

SIGSEGV above is due a gdb bug, this is really SIGBUS according to truss

0x000132b0 in foo ()
1: x/i $pc
=> 0x132b0 <foo+7408>:  sttw  %o0, [ %l0 ]
(gdb) p/x $o0
$1 = 0x0
(gdb) p/x $l0
$2 = 0x2515c

sttw requires 8-byte alignment, so this might be an issue on other
strict-alignment
targets, too.


More information about the Gcc-bugs mailing list