https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94388
Bug ID: 94388 Summary: FAIL: gfortran.dg/unlimited_polymorphic_30.f03 execution test Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: danglin at gcc dot gnu.org Target Milestone: --- Host: hppa64-hp-hpux11.11 Target: hppa64-hp-hpux11.11 Build: hppa64-hp-hpux11.11 spawn /test/gnu/gcc/objdir/gcc/testsuite/gfortran/../../gfortran -B/test/gnu/gcc /objdir/gcc/testsuite/gfortran/../../ -B/test/gnu/gcc/objdir/hppa64-hp-hpux11.11 /./libgfortran/ /test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/unlimited_polymorphi c_30.f03 -fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers -fdiagno stics-color=never -fdiagnostics-urls=never -O0 -pedantic-errors -B/test/gnu/gcc/ objdir/hppa64-hp-hpux11.11/./libgfortran/.libs -L/test/gnu/gcc/objdir/hppa64-hp- hpux11.11/./libgfortran/.libs -L/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libgf ortran/.libs -L/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libatomic/.libs -B/tes t/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libquadmath/.libs -L/test/gnu/gcc/objdir/ hppa64-hp-hpux11.11/./libquadmath/.libs -L/test/gnu/gcc/objdir/hppa64-hp-hpux11. 11/./libquadmath/.libs -lm -o ./unlimited_polymorphic_30.exe PASS: gfortran.dg/unlimited_polymorphic_30.f03 -O0 (test for excess errors) Setting LD_LIBRARY_PATH to .:/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libgfort ran/.libs:/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libgfortran/.libs:/test/gnu /gcc/objdir/hppa64-hp-hpux11.11/./libatomic/.libs:/test/gnu/gcc/objdir/hppa64-hp -hpux11.11/./libquadmath/.libs:/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libqua dmath/.libs:/test/gnu/gcc/objdir/gcc/testsuite/gfortran/../..:.:/test/gnu/gcc/ob jdir/hppa64-hp-hpux11.11/./libgfortran/.libs:/test/gnu/gcc/objdir/hppa64-hp-hpux 11.11/./libgfortran/.libs:/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libatomic/. libs:/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libquadmath/.libs:/test/gnu/gcc/ objdir/hppa64-hp-hpux11.11/./libquadmath/.libs:/test/gnu/gcc/objdir/gcc/testsuit e/gfortran/../.. spawn [open ...] Program received signal SIGBUS: Access to an undefined portion of a memory objec t. (gdb) r Starting program: /test/gnu/gcc/objdir/gcc/testsuite/gfortran/unlimited_polymorphic_30.exe Program received signal SIGBUS, Bus error. 0x400000000000330c in MAIN__ () at /test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/unlimited_polymorphic_30.f03:13 13 x%v = ['foo','bar'] (gdb) disass $pc-16,$pc+16 Dump of assembler code from 0x40000000000032fc to 0x400000000000331c: 0x40000000000032fc <MAIN__+1100>: fstd fr22,68(r3) 0x4000000000003300 <MAIN__+1104>: ldd 68(r3),r19 0x4000000000003304 <MAIN__+1108>: add,l ret0,r19,ret0 0x4000000000003308 <MAIN__+1112>: add,l r6,ret0,ret0 => 0x400000000000330c <MAIN__+1116>: ldd 0(ret0),r31 0x4000000000003310 <MAIN__+1120>: ldi 0,ret0 0x4000000000003314 <MAIN__+1124>: cmpb,*<>,n ret0,r31,0x4000000000003578 <MAIN__+1736> 0x4000000000003318 <MAIN__+1128>: addil L%0,dp,r1 End of assembler dump. (gdb) p/x $ret0 $1 = 0x800000010000b80b (gdb) p x%v $2 = ( _data = (0x666f6f010000b820, 0x8000000100000570), _vptr = 0x80000001000001a0 <__vtab_CHARACTER_1_.10>, _len = 3 ) (gdb) p *((char *)0x800000010000b80b) Overflow on numeric constant.