http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51875
Bug #: 51875
Summary: FAIL: gfortran.dg/guality/pr41558.f90 -O0 line 7 s
== 'foo'
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: testsuite
AssignedTo: unassig...@gcc.gnu.org
ReportedBy: dang...@gcc.gnu.org
Host: hppa2.0w-hp-hpux11.11
Target: hppa2.0w-hp-hpux11.11
Build: hppa2.0w-hp-hpux11.11
Executing on host: /test/gnu/gcc/objdir/gcc/testsuite/gfortran/../../gfortran
-B
/test/gnu/gcc/objdir/gcc/testsuite/gfortran/../../
-B/test/gnu/gcc/objdir/hppa2.
0w-hp-hpux11.11/./libgfortran/
/test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/guali
ty/pr41558.f90 -O0 -g
-B/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libgfo
rtran/.libs -L/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libgfortran/.libs
-L/
test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libgfortran/.libs
-B/test/gnu/gcc/ob
jdir/hppa2.0w-hp-hpux11.11/./libquadmath/.libs
-L/test/gnu/gcc/objdir/hppa2.0w-h
p-hpux11.11/./libquadmath/.libs
-L/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./l
ibquadmath/.libs -lm -o ./pr41558.exe (timeout = 300)
spawn /test/gnu/gcc/objdir/gcc/testsuite/gfortran/../../gfortran
-B/test/gnu/gcc
/objdir/gcc/testsuite/gfortran/../../
-B/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.
11/./libgfortran/
/test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/guality/pr41558.f9
0 -O0 -g -B/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libgfortran/.libs
-L/tes
t/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libgfortran/.libs
-L/test/gnu/gcc/objdi
r/hppa2.0w-hp-hpux11.11/./libgfortran/.libs
-B/test/gnu/gcc/objdir/hppa2.0w-hp-h
pux11.11/./libquadmath/.libs
-L/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libq
uadmath/.libs -L/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libquadmath/.libs
-
lm -o ./pr41558.exe
PASS: gfortran.dg/guality/pr41558.f90 -O0 (test for excess errors)
Setting LD_LIBRARY_PATH to
.:/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libgfo
rtran/.libs:/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libgfortran/.libs:/test
/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libquadmath/.libs:/test/gnu/gcc/objdir/h
ppa2.0w-hp-hpux11.11/./libquadmath/.libs:/test/gnu/gcc/objdir/gcc:.:/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libgfortran/.libs:/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libgfortran/.libs:/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libquadmath/.libs:/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libquadmath/.libs:/test/gnu/gcc/objdir/gcc
spawn [open ...]
foo
PASS: gfortran.dg/guality/pr41558.f90 -O0 execution test
Spawning: gdb -nx -nw -quiet -x pr41558.gdb ./pr41558.exe
spawn gdb -nx -nw -quiet -x pr41558.gdb ./pr41558.exe
Reading symbols from
/test/gnu/gcc/objdir/gcc/testsuite/gfortran/pr41558.exe...done.
Breakpoint 1 at 0x2db4: file
/test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/guality/pr41558.f90, line 7.
warning: Private mapping of shared library text was not specified
by the executable; setting a breakpoint in a shared library which
is not privately mapped will not work. See the HP-UX 11i v3 chatr
manpage for methods to privately map shared library text.
Breakpoint 1, f_ (s=..., _s=3)
at /test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/guality/pr41558.f90:7
7 write (*,*), s ! { dg-final { gdb-test 7 "s" "'foo'" } }
$1 = (REF TO -> ( character*3 )) @0x3088: 'foo'
$2 = 'foo'
(REF TO -> ( character*3 )) @0x3088: 'foo' != 'foo'
FAIL: gfortran.dg/guality/pr41558.f90 -O0 line 7 s == 'foo'
Looks like a match problem.
This has been around since at least 4.6. Previously, I had blamed
gdb.