Assignee: unassigned at gcc dot gnu.org
Reporter: peter.machon at arcor dot de
Writing from a functions stops execution of programs.
**
Simple code:
program test
write(*,*) f(3e0)
contains
function f(x)
real :: f,x
write(*,*)x
f=2e0*x
end function
end
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60701
--- Comment #5 from Peter Machon ---
Addendum: With version 4.8.2 it works just fine, thanks a lot!
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60701
--- Comment #4 from Peter Machon ---
(In reply to Dominique d'Humieres from comment #3)
> > gcc version 4.5.2 (GCC)
>
> 4.5 and 4.6 are no longer supported. You should upgrade to 4.8.2: pr43896
> has been fixed by r158910, Apr 29 2010 (BTW where
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60701
--- Comment #2 from Peter Machon ---
(In reply to Dominique d'Humieres from comment #1)
> The test succeeds with 4.6 to trunk, but ICE (in gfc_build_null_descriptor)
> with 4.5. Could you post the output of gfortran -v?
Sure:
Using built-in spe
: normal
Priority: P3
Component: libfortran
Assignee: unassigned at gcc dot gnu.org
Reporter: peter.machon at arcor dot de
Created attachment 32478
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32478&action=edit
called by main program just some