From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29973 invoked by alias); 3 Mar 2002 02:46:05 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 29913 invoked by uid 71); 3 Mar 2002 02:46:01 -0000 Date: Sat, 02 Mar 2002 18:46:00 -0000 Message-ID: <20020303024601.29904.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Craig Rodrigues Subject: Re: other/3051: Internal compiler error compiling Asmutils Reply-To: Craig Rodrigues X-SW-Source: 2002-03/txt/msg00042.txt.bz2 List-Id: The following reply was made to PR other/3051; it has been noted by GNATS. From: Craig Rodrigues To: dl@gazeta.ru, c.williams@swflug.org, gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org, nobody@gcc.gnu.org Cc: Subject: Re: other/3051: Internal compiler error compiling Asmutils Date: Sat, 02 Mar 2002 21:43:27 -0500 This is a multi-part message in MIME format. --------------D9FB5DA03BF1EF0BE65D5412 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=3051 I have submitted this patch to the asmutils maintainer which allows asmutils to compile under gcc 3.0.4 and gcc 3.1 (prerelease) -- Craig Rodrigues http://www.gis.net/~craigr rodrigc@attbi.com --------------D9FB5DA03BF1EF0BE65D5412 Content-Type: text/plain; charset=us-ascii; name="1.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="1.txt" Index: libm.c =================================================================== RCS file: /cvsroot/asm/asmutils/lib/libm.c,v retrieving revision 1.5 diff -u -r1.5 libm.c --- libm.c 2 Mar 2002 20:23:14 -0000 1.5 +++ libm.c 3 Mar 2002 02:36:31 -0000 @@ -719,7 +719,7 @@ "=t"(ret):\ "u"(y),\ "0"(x):\ - "eax","st") + "eax","st(1)") float (fmodf)(float x,float y) { @@ -1642,7 +1642,7 @@ "=t"(ret) :\ "0"(x),\ "u"(n):\ - "st") + "st(1)") float (scalbnf)(float x,int n) { @@ -1716,7 +1716,7 @@ #define __SINCOS(x,cosptr,sinptr)\ {\ register long double sv,cv;\ - asm("fsincos":"=t"(cv),"=u"(sv):"0"(x):"st","st(1)");\ + asm("fsincos":"=t"(cv),"=u"(sv):"0"(x):"st(2)","st(3)");\ *cosptr = cv;\ *sinptr = sv;\ } --------------D9FB5DA03BF1EF0BE65D5412--