Bug 84473 - FAIL: libgomp.c++/member-5.C execution test
Summary: FAIL: libgomp.c++/member-5.C execution test
Status: UNCONFIRMED
Alias: None
Product: gcc
Classification: Unclassified
Component: libgomp (show other bugs)
Version: 8.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords: openmp, testsuite-fail
Depends on:
Blocks:
 
Reported: 2018-02-19 21:20 UTC by John David Anglin
Modified: 2021-12-19 01:08 UTC (History)
1 user (show)

See Also:
Host: hppa-unknown-linux-gnu
Target: hppa-unknown-linux-gnu
Build: hppa-unknown-linux-gnu
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John David Anglin 2018-02-19 21:20:20 UTC
spawn -ignore SIGHUP /home/dave/gnu/gcc/objdir/gcc/xgcc -B/home/dave/gnu/gcc/obj
dir/gcc/ -x c++ ../../../../gcc/libgomp/testsuite/libgomp.c++/member-5.C -B/home
/dave/gnu/gcc/objdir/hppa-linux-gnu/./libgomp/ -B/home/dave/gnu/gcc/objdir/hppa-
linux-gnu/./libgomp/.libs -I/home/dave/gnu/gcc/objdir/hppa-linux-gnu/./libgomp -
I../../../../gcc/libgomp/testsuite/../../include -I../../../../gcc/libgomp/tests
uite/.. -fmessage-length=0 -fno-diagnostics-show-caret -Wno-hsa -fdiagnostics-co
lor=never -fopenmp -nostdinc++ -I/home/dave/gnu/gcc/objdir/hppa-linux-gnu/libstd
c++-v3/include/hppa-linux-gnu -I/home/dave/gnu/gcc/objdir/hppa-linux-gnu/libstdc++-v3/include -I/home/dave/gnu/gcc/gcc/libstdc++-v3/libsupc++ -I/home/dave/gnu/gcc/gcc/libstdc++-v3/include/backward -I/home/dave/gnu/gcc/gcc/libstdc++-v3/testsuite/util -O2 -B/home/dave/gnu/gcc/objdir/hppa-linux-gnu/./libgomp/../libstdc++-v3/src/.libs -L/home/dave/gnu/gcc/objdir/hppa-linux-gnu/./libgomp/.libs -L/home/dave/gnu/gcc/objdir/hppa-linux-gnu/./libgomp/../libstdc++-v3/src/.libs -lstdc++ -lm -o ./member-5.exe
PASS: libgomp.c++/member-5.C (test for excess errors)
Setting LD_LIBRARY_PATH to .:/home/dave/gnu/gcc/objdir/hppa-linux-gnu/./libgomp/.libs:/home/dave/gnu/gcc/objdir/gcc:/home/dave/gnu/gcc/objdir/hppa-linux-gnu/./libgomp/../libstdc++-v3/src/.libs:.:/home/dave/gnu/gcc/objdir/hppa-linux-gnu/./libgomp/.libs:/home/dave/gnu/gcc/objdir/gcc:/home/dave/gnu/gcc/objdir/hppa-linux-gnu/./libgomp/../libstdc++-v3/src/.libs:/home/dave/gnu/gcc/objdir/hppa-linux-gnu/libstdc++-v3/src/.libs:/home/dave/gnu/gcc/objdir/hppa-linux-gnu/libssp/.libs:/home/dave/gnu/gcc/objdir/hppa-linux-gnu/libgomp/.libs:/home/dave/gnu/gcc/objdir/hppa-linux-gnu/libatomic/.libs:/home/dave/gnu/gcc/objdir/./gcc:/home/dave/gnu/gcc/objdir/./prev-gcc
Execution timeout is: 300
spawn [open ...]
FAIL: libgomp.c++/member-5.C execution test

dave@atlas:~/gnu/gcc/objdir/hppa-linux-gnu/libgomp/testsuite$ gdb member-5.exe
GNU gdb (Debian 7.12-6+b1) 7.12.0.20161007-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "hppa-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from member-5.exe...done.
(gdb) r
Starting program: /home/dave/gnu/gcc/objdir/hppa-linux-gnu/libgomp/testsuite/member-5.exe
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/hppa-linux-gnu/libthread_db.so.1".
[New Thread 0xf77b8440 (LWP 17682)]
[New Thread 0xf6fb7440 (LWP 17683)]
[New Thread 0xf67b6440 (LWP 17684)]

Thread 1 "member-5.exe" received signal SIGFPE, Arithmetic exception.
$$remoI () at ../../../gcc/libgcc/config/pa/milli64.S:785
785             addit,=         0,arg1,0                /*  trap if div by zero */
(gdb) bt
#0  $$remoI () at ../../../gcc/libgcc/config/pa/milli64.S:785
#1  0x00010b2c in A::m1 ()
    at ../../../../gcc/libgomp/testsuite/libgomp.c++/member-5.C:45
#2  0xf81fb560 in GOMP_taskloop (
    fn=@0x182a2: 0x10b00 <_ZN1A2m1ERK1IIiES3_._omp_fn.5(void)>,
    data=<optimized out>, cpyfn=<optimized out>, arg_size=<optimized out>,
    arg_align=<optimized out>, flags=<optimized out>, num_tasks=1,
    priority=<optimized out>, start=32, end=<optimized out>,
    step=<optimized out>) at ../../../gcc/libgomp/taskloop.c:200
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb) p/x $r25
$1 = 0x0
(gdb) frame 1
#1  0x00010b2c in A::m1 ()
    at ../../../../gcc/libgomp/testsuite/libgomp.c++/member-5.C:45
45      template <typename T> I<T>::I (const I &x) : p (x.p) {}
(gdb) disass $pc-32,$pc+16
Dump of assembler code from 0x10b0c to 0x10b3c:
   0x00010b0c <_ZN1A2m1ERK1IIiES3_._omp_fn.5(void)+12>: stw,ma r4,40(sp)
   0x00010b10 <_ZN1A2m1ERK1IIiES3_._omp_fn.5(void)+16>: stw r3,-3c(sp)
   0x00010b14 <_ZN1A2m1ERK1IIiES3_._omp_fn.5(void)+20>: ldw 20(r26),r24
   0x00010b18 <_ZN1A2m1ERK1IIiES3_._omp_fn.5(void)+24>: copy r24,r25
   0x00010b1c <_ZN1A2m1ERK1IIiES3_._omp_fn.5(void)+28>: ldw 0(r26),r21
   0x00010b20 <_ZN1A2m1ERK1IIiES3_._omp_fn.5(void)+32>: copy r21,r26
   0x00010b24 <_ZN1A2m1ERK1IIiES3_._omp_fn.5(void)+36>: b,l 0x12ab0 <$$remoI>,r31
   0x00010b28 <_ZN1A2m1ERK1IIiES3_._omp_fn.5(void)+40>: ldw -c(ret0),rp
=> 0x00010b2c <_ZN1A2m1ERK1IIiES3_._omp_fn.5(void)+44>: ldw -4(ret0),r23
   0x00010b30 <_ZN1A2m1ERK1IIiES3_._omp_fn.5(void)+48>: ldw -8(ret0),r22
   0x00010b34 <_ZN1A2m1ERK1IIiES3_._omp_fn.5(void)+52>: addil L%0,dp,r1
   0x00010b38 <_ZN1A2m1ERK1IIiES3_._omp_fn.5(void)+56>: ldw c(ret0),r3
End of assembler dump.