This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libgomp/60107] New: libgomp.c/pr58392.c etc. FAIL


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60107

            Bug ID: 60107
           Summary: libgomp.c/pr58392.c etc. FAIL
           Product: gcc
           Version: 4.9.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
              Host: i386-pc-solaris2.9
            Target: i386-pc-solaris2.9
             Build: i386-pc-solaris2.9

3 libgomp tests FAIL on Solaris 9/x86 since they were introduced:

FAIL: libgomp.c/pr58392.c execution test
FAIL: libgomp.c/simd-6.c execution test
FAIL: libgomp.c++/simd-8.C execution test

For the first, I find

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 2 (LWP 2)]
0x080509f1 in foo._omp_fn ()
    at /vol/gcc/src/hg/trunk/local/libgomp/testsuite/libgomp.c/pr58392.c:20
20                  c += d[j + l];
(gdb) x/i $pc
=> 0x80509f1 <foo._omp_fn.0+177>:       paddd  0x10(%esp),%xmm0
(gdb) p $esp
$1 = (void *) 0xb5aedf64

truss shows
/2:         Incurred fault #6, FLTBOUNDS  %pc = 0x080509F1
/2:           siginfo: SIGSEGV SEGV_MAPERR addr=0x080509F1
/2:         Received signal #11, SIGSEGV [default]
/2:           siginfo: SIGSEGV SEGV_MAPERR addr=0x080509F1

and <sys/fault.h> has

#define FLTBOUNDS       6       /* Memory bounds (invalid address) */

pmap reveals the following mappings:

08062000      12K rwx--    [ heap ]
B5AED000       4K rwx-R    [ anon ]
B5AF0000     108K rw---    [ anon ]

  Rainer


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]