https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66407
Bug ID: 66407 Summary: libgomp.c/examples-4/e.53.5.c etc. FAIL with PIE Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libgomp Assignee: unassigned at gcc dot gnu.org Reporter: ro at gcc dot gnu.org CC: hjl at gcc dot gnu.org, jakub at gcc dot gnu.org Target Milestone: --- Host: x86_64-unknown-linux-gnu Target: x86_64-unknown-linux-gnu Build: x86_64-unknown-linux-gnu With --enable-default-pie, libgomp.c/examples-4/e.53.5.c and libgomp.fortran/examples-4/e.53.5.f90 FAIL on Linux/x86_64 with -m32: +FAIL: libgomp.c/examples-4/e.53.5.c execution test +FAIL: libgomp.fortran/examples-4/e.53.5.f90 -O0 execution test +FAIL: libgomp.fortran/examples-4/e.53.5.f90 -O1 execution test +FAIL: libgomp.fortran/examples-4/e.53.5.f90 -O2 execution test +FAIL: libgomp.fortran/examples-4/e.53.5.f90 -O3 -fomit-frame-pointer execution test +FAIL: libgomp.fortran/examples-4/e.53.5.f90 -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions execution test +FAIL: libgomp.fortran/examples-4/e.53.5.f90 -O3 -fomit-frame-pointer -funroll-loops execution test +FAIL: libgomp.fortran/examples-4/e.53.5.f90 -O3 -g execution test +FAIL: libgomp.fortran/examples-4/e.53.5.f90 -Os execution test The first test SEGVs on execution, but succeeds when run under gdb. Rainer