mirror of git://gcc.gnu.org/git/gcc.git
re PR fortran/59198 (ICE on cyclically dependent polymorphic types)
2014-03-18 Paul Thomas <pault@gcc.gnu.org> PR fortran/59198 * gfortran.dg/proc_ptr_comp_45.f90 : Make tests fuzzy. From-SVN: r221501
This commit is contained in:
parent
cf3f91ddc8
commit
91e11b2345
|
|
@ -1,3 +1,8 @@
|
||||||
|
2014-03-18 Paul Thomas <pault@gcc.gnu.org>
|
||||||
|
|
||||||
|
PR fortran/59198
|
||||||
|
* gfortran.dg/proc_ptr_comp_45.f90 : Make tests fuzzy.
|
||||||
|
|
||||||
2015-03-18 Martin Liska <mliska@suse.cz>
|
2015-03-18 Martin Liska <mliska@suse.cz>
|
||||||
|
|
||||||
PR ipa/65439
|
PR ipa/65439
|
||||||
|
|
|
||||||
|
|
@ -43,7 +43,7 @@ end
|
||||||
allocate (template)
|
allocate (template)
|
||||||
allocate (template%rng)
|
allocate (template%rng)
|
||||||
template%obs1_int => cos
|
template%obs1_int => cos
|
||||||
if (template%obs1_int (arg) .ne. cos (arg)) call abort
|
if (abs (template%obs1_int (arg) - cos (arg)) .gt. 1e-4) call abort
|
||||||
allocate (object, source = template)
|
allocate (object, source = template)
|
||||||
if (object%obs1_int (arg) .ne. cos (arg)) call abort
|
if (abs (object%obs1_int (arg) - cos (arg)) .gt. 1e-4) call abort
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue