public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: Jeff Sturm <jeff.sturm@appnet.com>
To: bryce@gcc.gnu.org
Cc: gcc-prs@gcc.gnu.org
Subject: Re: java/247
Date: Sun, 01 Apr 2001 00:00:00 -0000	[thread overview]
Message-ID: <20010109214601.8333.qmail@sourceware.cygnus.com> (raw)

The following reply was made to PR java/247; it has been noted by GNATS.

From: Jeff Sturm <jeff.sturm@appnet.com>
To: bryce@gcc.gnu.org, gcc-gnats@gcc.gnu.org, warnes@queenbee.fhcrc.org
Cc:  
Subject: Re: java/247
Date: Tue, 09 Jan 2001 16:48:18 -0500

 FWIW this might be the same ICE I'm seeing.  It only occurs in certain methods
 that handle double values, and only with -O and above on x86, but with the
 current compiler.
 
 Here's a minimal test case:
 
 public class DTest {
     static double strtod(String s) {
         double result = 0;
 
         try {
             result = Double.valueOf(s).doubleValue();
         } catch (NumberFormatException e) {
         }
         if (result == Double.NaN) {
             return 0;
         }
         return result;
     }
 }
 
 
 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=247&database=gcc
 
 --
 Jeff Sturm
 jeff.sturm@commerceone.com
>From harri@trolltech.com Sun Apr 01 00:00:00 2001
From: harri@trolltech.com
To: gcc-gnats@gcc.gnu.org
Subject: other/1697: bootstrapping fails: malformed option `-A system=posix'
Date: Sun, 01 Apr 2001 00:00:00 -0000
Message-id: <20010118171142.14918.qmail@sourceware.cygnus.com>
X-SW-Source: 2001-q1/msg00451.html
Content-length: 2159

>Number:         1697
>Category:       other
>Synopsis:       bootstrapping fails: malformed option `-A system=posix'
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 18 09:16:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     harri@trolltech.com
>Release:        2.97
>Organization:
>Environment:
i386-linux/2.95.2
>Description:
I can't bootstrap the current CVS (20010118) with gcc 2.95.2
and srcdir != objdir.

configure --enable-shared
make bootstrap
....
/usr/local/src/gcc/obj/gcc/xgcc -B/usr/local/src/gcc/obj/gcc/ -B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/ -isystem /usr/local/i686-pc-linux-gnu/include -dumpspecs > tmp-specs
mv tmp-specs specs
echo "int xxy_us_dummy;" >tmp-dum.c
/usr/local/src/gcc/obj/gcc/xgcc -B/usr/local/src/gcc/obj/gcc/ -B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/ -isystem /usr/local/i686-pc-linux-gnu/include -S tmp-dum.c
echo '/*WARNING: This file is automatically generated!*/' >tmp-under.c
if grep _xxy_us_dummy tmp-dum.s > /dev/null ; then \
  echo "int prepends_underscore = 1;" >>tmp-under.c; \
else \
  echo "int prepends_underscore = 0;" >>tmp-under.c; \
fi
/bin/sh /usr/local/src/gcc/gcc/gcc/move-if-change tmp-under.c underscore.c
rm -f tmp-dum.c tmp-dum.s
touch s-under
gcc -c  -DIN_GCC    -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H    -I. -I. -I/usr/local/src/gcc/gcc/gcc -I/usr/local/src/gcc/gcc/gcc/. -I/usr/local/src/gcc/gcc/gcc/config -I/usr/local/src/gcc/gcc/gcc/../include underscore.c -o underscore.o
underscore.c:0: malformed option `-A system=posix'
underscore.c:0: malformed option `-A cpu=i386'
underscore.c:0: malformed option `-A machine=i386'
make[1]: *** [underscore.o] Error 1
make[1]: Leaving directory `/usr/local/src/gcc/obj/gcc'
make: *** [all-gcc] Error 2

The 'spec' file in the gcc dir is picked up by my old 2.95
and not understood.
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
>From rodrigc@mediaone.net Sun Apr 01 00:00:00 2001
From: Craig Rodrigues <rodrigc@mediaone.net>
To: nobody@gcc.gnu.org
Cc: gcc-prs@gcc.gnu.org
Subject: Re: c++/1925
Date: Sun, 01 Apr 2001 00:00:00 -0000
Message-id: <20010210190600.10573.qmail@sourceware.cygnus.com>
X-SW-Source: 2001-q1/msg01116.html
Content-length: 672

The following reply was made to PR c++/1925; it has been noted by GNATS.

From: Craig Rodrigues <rodrigc@mediaone.net>
To: bh@techhouse.org, gcc-gnats@gcc.gnu.org, nobody@gcc.gnu.org,
   rodrigc@mediaone.net
Cc:  
Subject: Re: c++/1925
Date: Fri, 09 Feb 2001 22:39:19 -0500

 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=1925&database=gcc
 
 Sir,
 
 Compiling your testcase with the latest CVS snapshot of gcc yields this
 error message:
 
 a.cpp: In destructor `virtual A::~A()':
 a.cpp:6: abstract virtual `virtual void A::f()' called from destructor
 
 Does this address your issue?
 
 --
 Craig Rodrigues
 http://www.gis.net/~craigr
 rodrigc@mediaone.net
 
 
 


             reply	other threads:[~2001-04-01  0:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-01  0:00 Jeff Sturm [this message]
2001-04-01  0:00 java/247 Bryce McKinlay
2001-06-05 21:44 java/247 apbianco

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010109214601.8333.qmail@sourceware.cygnus.com \
    --to=jeff.sturm@appnet.com \
    --cc=bryce@gcc.gnu.org \
    --cc=gcc-prs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).