------- Comment #3 from kargl at gcc dot gnu dot org 2008-10-31 03:39 ------- (In reply to comment #2) > (In reply to comment #1) > > call seg_sub(ip, sig, 1) > > > > Is that last argument a literal constant, name 'one'? > > Or is it the letter 'ell'? > > > It is a literal constant 'one'. What really bugs me is why does it segfault at > all. > Thanks.
It segfaults because the constant 1 is in read-only memory. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37974