https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65156
Bug ID: 65156
Summary: [5 regression] FAIL: gnat.dg/timing_events.adb
execution test
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: ada
Assignee: unassigned at gcc dot gnu.org
Reporter: vries at gcc dot gnu.org
Test times out with build from r220886
Target: x86_64-unknown-linux-gnu
Configured with: src/configure --prefix=nobootstrap/install --with-cloog=infra
--with-ppl=infra --with-gmp=infra --with-mpfr=infra --with-mpc=infra
--with-isl=infra --disable-bootstrap --enable-checking=yes,rtl
--enable-languages=c,fortran,ada,java,objc,c++,go,obj-c++
Hangs like this:
...
(gdb) bt
#0 __lll_lock_wait () at
../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
#1 0x00007ffff7bc6657 in _L_lock_909 () from
/lib/x86_64-linux-gnu/libpthread.so.0
#2 0x00007ffff7bc6480 in __GI___pthread_mutex_lock (mutex=0x7fffffffdab0) at
../nptl/pthread_mutex_lock.c:79
#3 0x000000000040a288 in system.task_primitives.operations.write_lock
(l=l@entry=0x7fffffffda78, <lL>=<lL>@entry=0) at s-taprop.adb:365
#4 0x0000000000412016 in
system.tasking.protected_objects.entries.lock_entries_with_status
(object=0x7fffffffda68) at s-tpoben.adb:276
#5 0x0000000000412089 in system.tasking.protected_objects.entries.lock_entries
(object=<optimized out>) at s-tpoben.adb:231
#6 0x00000000004165d3 in <timing_events__po__procP> () at
src/gcc/testsuite/gnat.dg/timing_events.adb:20
#7 0x00000000004164a6 in timing_events.po.test (<O>=(const system__address)
0x7fffffffda60, <P>=(const system__address) 0x0, <E>=1)
at src/gcc/testsuite/gnat.dg/timing_events.adb:17
#8 0x0000000000413455 in
system.tasking.protected_objects.operations.po_do_or_queue
(self_id=self_id@entry=0x636030,
object=object@entry=0x7fffffffda68, entry_call=entry_call@entry=0x6365b8)
at s-tpobop.adb:320
#9 0x000000000041381c in
system.tasking.protected_objects.operations.protected_entry_call
(object=0x7fffffffda68, e=<optimized out>,
uninterpreted_data=(const system__address) 0x0, mode=<optimized out>,
block=...) at s-tpobop.adb:604
#10 0x0000000000415f17 in timing_events () at
src/gcc/testsuite/gnat.dg/timing_events.adb:28
...