[Bug libgomp/100352] libgomp.fortran/async_io_1.f90 -O0 execution test

2021-04-30 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100352 Tom de Vries changed: What|Removed |Added CC||burnus at gcc dot gnu.org --- Comment #5

[Bug libgomp/100352] libgomp.fortran/async_io_1.f90 -O0 execution test

2021-04-30 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100352 --- Comment #4 from Tom de Vries --- Going through the lock lifetime using backtraces: ... (gdb) watch ((pthread_mutex_t *) 0x6059d0)->__data.__lock Hardware watchpoint 2: ((pthread_mutex_t *) 0x6059d0)->__data.__lock ... I. Locked from _gfort

[Bug libgomp/100352] libgomp.fortran/async_io_1.f90 -O0 execution test

2021-04-30 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100352 --- Comment #3 from Tom de Vries --- Minimal example: ... program main implicit none open (10, file='a.dat', asynchronous="yes") write (10,*,asynchronous="yes") 4, 3 end program ...

[Bug libgomp/100352] libgomp.fortran/async_io_1.f90 -O0 execution test

2021-04-30 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100352 --- Comment #2 from Tom de Vries --- More complete backtrace using reproduction on command line: ... Thread 1 "async_io_1.exe" received signal SIGSEGV, Segmentation fault. __lll_unlock_elision (lock=0x6069d0, private=0) at ../sysdeps/unix/sy

[Bug libgomp/100352] libgomp.fortran/async_io_1.f90 -O0 execution test

2021-04-30 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100352 --- Comment #1 from Tom de Vries --- Build at commit b9bc4467cc7 "tree-optimization/96513 - add testcase for fixed bug". Gcc configured like this: ... $ ./build/gcc/xgcc -v Using built-in specs. COLLECT_GCC=./build/gcc/xgcc Target: x86_64-pc-li