Make check fails with Intel C compiler

Roberto Bagnara bagnara at cs.unipr.it
Sun Dec 25 08:12:33 CET 2005


Golliver, Roger A wrote:
> Can you give me more info on this.
> 32-bit IA-32, 64-bit EM64T or 64-bit Itanium, linux or windows, etc.

Here is the information I have up to now:

Compiler:       icpc (ICC) 9.0 20051201
Architecture:   IA-32
OS:             GNU/Linux, Fedora Core 4
glibc version:  2.3.5-10.3 	
Kernel version:	2.6.14-1.1653_FC4

I have started following the instructions of Torbjorn:
the problem goes away if I use CFLAGS=-O1 and appears
with CFLAGS=-O2.  The problematic file seems to be
tests/mpz/t-mul.c: recompiling it with -O1 (all the
rest being compiled with -O2) the problem goes away.

Notice also that the compilation of tests/mpz/t-mul.c
gives the following warnings:

/usr/local/distrib/gmp-4.1.4/tests/mpz/t-mul.c(251): warning #1314: modifier letter '%' ignored in asm operand
         umul_ppmm (prod_high, prod_low, u_limb, v_limb << GMP_NAIL_BITS);
         ^

/usr/local/distrib/gmp-4.1.4/tests/mpz/t-mul.c(252): warning #1314: modifier letter '%' ignored in asm operand
         add_ssaaaa (cy_dig, w_limb, prod_high, prod_low, 0, cy_dig << GMP_NAIL_BITS);
         ^

/usr/local/distrib/gmp-4.1.4/tests/mpz/t-mul.c(271): warning #1314: modifier letter '%' ignored in asm operand
           umul_ppmm (prod_high, prod_low, u_limb, v_limb << GMP_NAIL_BITS);
           ^

/usr/local/distrib/gmp-4.1.4/tests/mpz/t-mul.c(273): warning #1314: modifier letter '%' ignored in asm operand
           add_ssaaaa (prod_high, prod_low, prod_high, prod_low, 0, w_limb << GMP_NAIL_BITS);
           ^

Best wishes,

     Roberto

-- 
Prof. Roberto Bagnara
Computer Science Group
Department of Mathematics, University of Parma, Italy
http://www.cs.unipr.it/~bagnara/
mailto:bagnara at cs.unipr.it


More information about the gmp-discuss mailing list