------- Comment #8 from bstarynk at gcc dot gnu dot org 2009-11-04 18:45 ------- (In reply to comment #7) > With gcc trunk rev 153897 Simon Baldwin's demo.c file > typedef long intnat; > typedef intnat value; > void caml_darken (value v, value *p) { } > is passing ok. >
No I was wrong. It crashes also. It is important to run gcc-trunk -flto -O2 -c -O -fPIC PR41932-demo.c and then gcc-trunk -flto -O2 -shared -o /dev/null PR41932-demo.o -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41932