The following code segfaults immediately.
If you uncomment the second line (print "")
it works. 
However, if you then uncomment the #non_prototyped
keyword in _depth1, it segfaults immediately again.

When I say it segfaults immediately, I mean that
the initial 0 is not printed.

(Should I be reporting these somewhere else?)

Sincerely,
 
Michal J Wallace
Sabren Enterprises, Inc.
-------------------------------------
contact: [EMAIL PROTECTED]
hosting: http://www.cornerhost.com/
my site: http://www.withoutane.com/
--------------------------------------

.sub __main__
  #print ""
  new_pad 0
  print 0
  newsub $P0, .Sub, _depth1
  newsub $P1, .Continuation, ret0
  .pcc_begin non_prototyped
  .pcc_call $P0, $P1
ret0:
  .pcc_end
  print "\n"
  end
.end


.pcc_sub _depth1 #non_prototyped
  new_pad 1
  print 1

  newsub $P2, .Sub, _depth2
  newsub $P3, .Continuation, ret1
  .pcc_begin non_prototyped
  .pcc_call $P2, $P3
ret1:
  .pcc_end

  pop_pad
  .pcc_begin_return
  .pcc_end_return
.end


.pcc_sub _depth2 non_prototyped
  new_pad 2
  print 2
  pop_pad
  .pcc_begin_return
  .pcc_end_return
.end



Reply via email to