------- Comment #5 from howarth at nitro dot med dot uc dot edu  2006-09-30 
22:50 -------
Jerry,
     I've run this with guardmalloc...

http://developer.apple.com/documentation/Darwin/Reference/ManPages/man3/libgmalloc.3.html

using all the permutations and nothing gets triggered.
               Jack
ps It seems the crashes are specific to those lines that have...

       write(l,fmt=fmt)pos_inf

or

       write(l,fmt=fmt)neg_inf

The lines with...

       write(l,fmt=fmt)nan

never cause a segfault so a minimal failing testcase is...

       implicit none
       character*40 l
       character*12 fmt
       real zero, pos_inf
       zero = 0.0

       pos_inf =  1.0/zero
       fmt = '(F0.0)'
       write(l,fmt=fmt)pos_inf
       end


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29302

Reply via email to