This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/15095] [3.4/4.0 Regression] gcc-3.4.0 fails to compile gmp-4.1.2
- From: "vingocheng at 126 dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Apr 2007 05:16:57 -0000
- Subject: [Bug target/15095] [3.4/4.0 Regression] gcc-3.4.0 fails to compile gmp-4.1.2
- References: <bug-15095-595@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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