This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/42558] [4.5 Regression][graphite] miscompilation related to -floop-block
- From: "dominiq at lps dot ens dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Feb 2010 18:08:40 -0000
- Subject: [Bug tree-optimization/42558] [4.5 Regression][graphite] miscompilation related to -floop-block
- References: <bug-42558-6642@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from dominiq at lps dot ens dot fr 2010-02-06 18:08 -------
> Could somebody more fluent in Fortran rewrite the testcase under the same
> format as the testcase of PR42637 with a condition like this: ...
Is
IMPLICIT NONE
INTEGER, PARAMETER :: dp=KIND(0.0D0)
REAL(KIND=dp) :: res
res=exp_radius_very_extended( 0 , 1 , 0 , 1, &
(/0.0D0,0.0D0,0.0D0/),&
(/1.0D0,0.0D0,0.0D0/),&
(/1.0D0,0.0D0,0.0D0/),&
1.0D0,1.0D0,1.0D0,1.0D0)
if (res.ne.1.0d0) call abort()
CONTAINS
...
what you want?
Note that the test passes at revision 156540 on x86_64-apple-darwin10, so I am
not sure that it is a duplicate of 42637.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42558