http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46619
--- Comment #4 from H.J. Lu <hjl.tools at gmail dot com> 2010-11-23 18:06:37 UTC --- (In reply to comment #3) > (In reply to comment #2) > > Do you have a run-time testcase? > > There is a test you can run in v_prime.c , it should fail to set the high bit It won't link: [...@gnu-35 pr46619]$ gcc -O2 v_bignum.c /usr/lib/gcc/x86_64-redhat-linux/4.5.1/../../../../lib64/crt1.o: In function `_start': (.text+0x20): undefined reference to `main' /tmp/ccaJLFo2.o: In function `v_bignum_set_random': v_bignum.c:(.text+0x25c): undefined reference to `v_randgen_new' v_bignum.c:(.text+0x276): undefined reference to `v_randgen_get' v_bignum.c:(.text+0x232): undefined reference to `v_randgen_get' v_bignum.c:(.text+0x290): undefined reference to `v_randgen_destroy' collect2: ld returned 1 exit status