From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 916 invoked by alias); 17 Apr 2007 05:17:08 -0000 Received: (qmail 878 invoked by uid 48); 17 Apr 2007 05:16:57 -0000 Date: Tue, 17 Apr 2007 05:17:00 -0000 Message-ID: <20070417051657.877.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug target/15095] [3.4/4.0 Regression] gcc-3.4.0 fails to compile gmp-4.1.2 In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "vingocheng at 126 dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-04/txt/msg01183.txt.bz2 ------- 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