[Bug fortran/56204] New: [4.8 regression] gfortran.dg/quad_[23].f90 FAIL on Solaris 9/x86

ro at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Feb 4 13:32:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56204

             Bug #: 56204
           Summary: [4.8 regression] gfortran.dg/quad_[23].f90 FAIL on
                    Solaris 9/x86
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: ro@gcc.gnu.org
              Host: i386-pc-solaris2.9
            Target: i386-pc-solaris2.9
             Build: i386-pc-solaris2.9


Since about 20121205, the quad_[23].f90 execution tests started to FAIL on
Solaris 9/x86:


FAIL: gfortran.dg/quad_2.f90  -O0  execution test
FAIL: gfortran.dg/quad_2.f90  -O1  execution test
FAIL: gfortran.dg/quad_2.f90  -O2  execution test
FAIL: gfortran.dg/quad_2.f90  -O3 -fomit-frame-pointer  execution test
FAIL: gfortran.dg/quad_2.f90  -O3 -fomit-frame-pointer -funroll-loops 
execution test
FAIL: gfortran.dg/quad_2.f90  -O3 -fomit-frame-pointer -funroll-all-loops
-finline-functions  execution test
FAIL: gfortran.dg/quad_2.f90  -O3 -g  execution test
FAIL: gfortran.dg/quad_2.f90  -Os  execution test
FAIL: gfortran.dg/quad_3.f90  -O0  execution test
FAIL: gfortran.dg/quad_3.f90  -O1  execution test
FAIL: gfortran.dg/quad_3.f90  -O2  execution test
FAIL: gfortran.dg/quad_3.f90  -O3 -fomit-frame-pointer  execution test
FAIL: gfortran.dg/quad_3.f90  -O3 -fomit-frame-pointer -funroll-loops 
execution test
FAIL: gfortran.dg/quad_3.f90  -O3 -fomit-frame-pointer -funroll-all-loops
-finline-functions  execution test
FAIL: gfortran.dg/quad_3.f90  -O3 -g  execution test
FAIL: gfortran.dg/quad_3.f90  -Os  execution test

It aborts here:

Program received signal SIGABRT, Aborted.
0xb5b23b96 in _libc_kill () from /usr/lib/libc.so.1
(gdb) where
#0  0xb5b23b96 in _libc_kill () from /usr/lib/libc.so.1
#1  0xb5ad7dbe in raise () from /usr/lib/libc.so.1
#2  0xb5ac03fe in abort () from /usr/lib/libc.so.1
#3  0xb5c54714 in _gfortrani_sys_abort ()
    at /vol/gcc/src/hg/trunk/local/libgfortran/runtime/error.c:173
#4  0xb5d0f3b8 in _gfortran_abort ()
    at /vol/gcc/src/hg/trunk/local/libgfortran/intrinsics/abort.c:33
#5  0x080511b2 in test_qp ()
    at /vol/gcc/src/hg/trunk/local/gcc/testsuite/gfortran.dg/quad_2.f90:34
#6  0x08051662 in main (argc=1, argv=0x8047a28)
    at /vol/gcc/src/hg/trunk/local/gcc/testsuite/gfortran.dg/quad_2.f90:78
#7  0x08050a1d in _start ()

The test is l.34:

34         if (fp2 /= fp4) call abort()

but unfortunately gdb 7.5 can read neither variable.

(gdb) p fp2
$1 = <error reading variable>
(gdb) p fp4
$2 = <error reading variable>

The quad_2.f90 is a regression from 4.7, the quad_3.f90 test wasn't present
there.

  Rainer



More information about the Gcc-bugs mailing list