This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/15095] [3.4/4.0 Regression] gcc-3.4.0 fails to compile gmp-4.1.2



------- Comment #8 from vingocheng at 126 dot com  2007-04-17 06:16 -------
The problem still exist. My working environment is :
GCC : gcc (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
GMP : the latest release version (gmp4.1)

During compiling, the error will occur.
But I fount if I remove the code "static void __gmpz_aorsmul _PROTO
((REGPARM_3_1 (mpz_ptr w, mpz_srcptr x, mpz_srcptr y, mp_size_t sub)))
REGPARM_ATTR (1);" , it can be passed.
So to solve the problem, you can remove the static declaration for the
functions that have conflicting type. But I am not sure whether is correct or
not. It only make the process of compiling passed.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15095


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]