https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64921
Bug ID: 64921 Summary: [5 Regression] FAIL: gfortran.dg/class_allocate_18.f90 with -fPIC Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com On x86-32, r220369 gave FAIL: gfortran.dg/class_allocate_18.f90 -O0 execution test FAIL: gfortran.dg/class_allocate_18.f90 -O1 execution test FAIL: gfortran.dg/class_allocate_18.f90 -O2 execution test FAIL: gfortran.dg/class_allocate_18.f90 -O3 -fomit-frame-pointer execution test FAIL: gfortran.dg/class_allocate_18.f90 -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions execution test FAIL: gfortran.dg/class_allocate_18.f90 -O3 -fomit-frame-pointer -funroll-loops execution test FAIL: gfortran.dg/class_allocate_18.f90 -O3 -g execution test FAIL: gfortran.dg/class_allocate_18.f90 -Os execution test when -fPIC is used. r220364 is OK.