Bug 48286 - gfortran.dg/cray_pointers_8.f90 FAILs
Summary: gfortran.dg/cray_pointers_8.f90 FAILs
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: fortran (show other bugs)
Version: 4.7.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords: wrong-code
Depends on:
Blocks:
 
Reported: 2011-03-25 13:58 UTC by Richard Biener
Modified: 2011-04-15 14:08 UTC (History)
1 user (show)

See Also:
Host:
Target: i?86-*-*
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Biener 2011-03-25 13:58:43 UTC
=== gfortran tests ===

Schedule of variations:
    unix/-m32

Running target unix/-m32
Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target.
Using /usr/share/dejagnu/config/unix.exp as generic interface file for target.
Using /space/rguenther/src/svn/trunk/gcc/testsuite/config/default.exp as tool-and-target-specific interface file.
Running /space/rguenther/src/svn/trunk/gcc/testsuite/gfortran.dg/dg.exp ...
FAIL: gfortran.dg/cray_pointers_8.f90  -O2  execution test
FAIL: gfortran.dg/cray_pointers_8.f90  -O3 -fomit-frame-pointer  execution test
FAIL: gfortran.dg/cray_pointers_8.f90  -O3 -fomit-frame-pointer -funroll-loops  execution test
FAIL: gfortran.dg/cray_pointers_8.f90  -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions  execution test
FAIL: gfortran.dg/cray_pointers_8.f90  -O3 -g  execution test
FAIL: gfortran.dg/cray_pointers_8.f90  -Os  execution test


fails with early FRE.  Probably related to PR43331.
Comment 1 Richard Biener 2011-03-25 14:12:06 UTC
Or rather I think this now runs into PR333 and possibly the result check
needs updating (we now inline p1 into main).  Passes with -mfpmath=sse.
There is no way to turn on -fexcess-precision=standard as it is not
implemented for Fortran.
Comment 2 Richard Biener 2011-03-25 14:45:29 UTC
Btw, fndecl issue - if you build at least cray_pointers_8.f90 with -fwhole-program
I get

/tmp/ccBnfOGf.o: In function `main':
cray_pointers_8.f90:(.text.startup+0x76): undefined reference to `euler_'
collect2: ld returned 1 exit status

which means the euler fn has a different decl than the one called from main.
Comment 3 Richard Biener 2011-04-15 14:06:51 UTC
Author: rguenth
Date: Fri Apr 15 14:06:44 2011
New Revision: 172495

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172495
Log:
2011-04-15  Richard Guenther  <rguenther@suse.de>

	PR testsuite/48286
	* gfortran.dg/cray_pointers_8.f90: Use -ffloat-store.

Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gfortran.dg/cray_pointers_8.f90
Comment 4 Richard Biener 2011-04-15 14:08:58 UTC
Fixed.