public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jeffrey A Law <law@cygnus.com>
To: Joe Buck <jbuck@synopsys.com>
Cc: pfeifer@dbai.tuwien.ac.at, freebsd-stable@freebsd.org,
	obrien@NUXI.com, egcs@cygnus.com
Subject: Re: GCC
Date: Mon, 04 May 1998 18:07:00 -0000	[thread overview]
Message-ID: <6664.894313440@hurl.cygnus.com> (raw)
In-Reply-To: <199805041610.JAA18839@atrus.synopsys.com>

  In message < 199805041610.JAA18839@atrus.synopsys.com >you write:
  > 
  > > > In production shops, I've seen a lot more places go to gcc 2.8.1
  > > > than EGCS, so I feel gcc/g++ is better tested and stable. 
  > > 
  > > Guys like Joe Buck <jbuck@synopsys.com>, author of the "FAQ for g++
  > > and libg++", happen to disagree: 
  > > 
  > >    [EGCS 1.0.x] is considerably more stable than 2.8.1 and vastly
  > >    more stable than the gcc2 snapshots [...]
  > 
  > My statement above applies to C++.  For C, I'd say gcc 2.8.1 seems fine.
I suspect egcs-1.0.x to be more stable than 2.8.1 for C code too, but
the cases where one would notice are more obscure.

For example we've fixed quite a few bugs exposed by glibc.  Most of
the bugs are probably in gcc-2.8.1.  The symptoms of those bugs are
such that folks are less likely to notice them.

An interesting exercise would be to run the testsuite from the
development tree against gcc-2.8.1 and the upcoming egcs-1.0.3
release :-)  I'd bet egcs performs better than gcc-2.7 and gcc-2.8
on most if not all significant targets.

  >  I would be very cautious
  > about shipping any C++ code that uses exceptions with 2.8.1.  Those
  > false warnings you get with -O and -Wall are due to gcc 2.8.1's faulty
  > control flow analysis, and that faulty analysis is used as the basis
  > of optimization.
Yup.  And the person in charge of gcc2 has rejected our suggestions
for fixing the inaccuracies in the cfg.

gcc2 relies on some rather fragile code to avoid incorrect code
with optimization and EH.  I'm not convinced that code will work
right with the existing gcc2 optimizations.  I know it will not
work with the additional optimizations already in egcs.

Our scheme of computing an accurate cfg works and will continue to
work as egcs continues to implement more aggressive optimizers.


  > Those of us on both lists who see the reports know that the egcs testing
  > has been more thorough that the gcc 2.8.x testing.
Absolutely.  egcs-1.0.x went through much more rigorous testing than
gcc-2.8.x.  But since the gcc2 lists are not public most folks are
not aware of how little testing went into gcc-2.8.

  > gcc -fno-exceptions for gcc 2.8.1 is probably fine.  The scandal is that
  > the story FSF has put out as to why gcc 2.8.x took so long had to do with
  > exceptions -- and they *still* haven't gotten it right.
Yup.  Sad really.


jeff

  reply	other threads:[~1998-05-04 18:07 UTC|newest]

Thread overview: 140+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <19980430041417.42994@nuxi.com>
1998-05-03  9:27 ` GCC Gerald Pfeifer
1998-05-04  9:11   ` GCC Joe Buck
1998-05-04 18:07     ` Jeffrey A Law [this message]
1998-05-12 15:25       ` GCC Mikael Karpberg
1998-05-14 15:38         ` GCC Martin von Loewis
1998-05-15  1:48         ` GCC Jim Wilson
     [not found]         ` <199805150243.TAA10200.cygnus.egcs@rtl.cygnus.com>
1998-05-15 15:17           ` GCC Nathan Myers
1998-05-18 18:06             ` GCC Jim Wilson
1998-05-06  9:19 GCC P. van Leeuwen
1998-05-06  1:02 ` GCC David O'Brien
1998-05-06 11:36   ` GCC Gerald Pfeifer
1998-05-06  9:19     ` GCC Wes Peters
1998-05-06 14:01       ` GCC Joel Sherrill
1998-05-06 18:07   ` GCC Jim Wilson
1999-09-15 13:34 GCC dmitry milman cis stnt
1999-09-15 13:38 ` GCC Brian Ford
1999-09-30 18:02   ` GCC Brian Ford
1999-09-30 18:02 ` GCC dmitry milman cis stnt
1999-11-06 10:17 GCC salmena
1999-11-06 14:26 ` GCC Martin v. Loewis
1999-11-30 23:37   ` GCC Martin v. Loewis
1999-11-30 23:37 ` GCC salmena
1999-12-15  8:09 GCC anwar.sayid
1999-12-15  8:28 ` GCC Gerald Pfeifer
1999-12-31 23:54   ` GCC Gerald Pfeifer
1999-12-31 23:54 ` GCC anwar.sayid
2000-01-21  4:41 gcc Xroxcat
2000-01-21  4:47 ` gcc Christian Jönsson FOA 72
2000-03-27 11:53 GCC Gibson, Terry
2000-03-27 12:59 ` GCC Martin v. Loewis
2000-03-28  0:29   ` GCC Erik Mouw
2000-05-28  0:04 gcc Hendrix
2000-05-28  8:07 ` gcc Martin v. Loewis
2000-09-13  7:31 GCC Ansie de Hoop
2000-09-13  7:43 ` GCC Erik Mouw
2000-09-13  8:20 ` GCC Benedetto Proietti
2000-12-07 11:09 GCC c958179
2000-12-07 11:53 ` GCC Eric Christopher
2000-12-07 12:07 ` GCC Aldy Hernandez
2001-02-01  1:14 gcc Aimin Pan
2001-02-01 12:50 ` gcc Alexandre Oliva
2001-02-01 18:33   ` gcc Aimin Pan
2001-02-01 18:53     ` gcc Alexandre Oliva
2001-02-01 21:56       ` gcc Aimin Pan
2001-02-01 22:11         ` gcc Alexandre Oliva
2001-03-14 15:21 GCC Brad Roberts
2001-03-14 15:37 GCC Brad Roberts
2001-03-16  7:40 gcc Jumblat, Ghassan
2001-03-16  8:42 ` gcc Craig Rodrigues
2001-03-16  9:15 ` gcc Gerald Pfeifer
2001-05-03  7:20 GCC BABICA, Rasto
2001-05-03  7:31 ` GCC Alexandre Oliva
2001-05-03 10:44 GCC Christopher Fournier
2001-05-18  8:55 GCC H. Rane
2001-05-18 11:06 ` GCC Erik Mouw
2001-05-18 11:20   ` GCC Diego Novillo
2001-05-18 14:31 GCC mike stump
2001-07-14  1:51 gcc Umesh V Bywar
2001-07-20 21:52 ` gcc Alexandre Oliva
2001-07-31  6:07 GCC Kutzler, Paul
2001-07-31  6:47 ` GCC Alexandre Oliva
2001-08-10 14:03 GCC Alex Avner
2001-08-11 11:23 ` GCC Alexandre Oliva
2001-09-04 16:02 gcc Brian Dilley
2001-09-19  5:37 GCC thomas joseph
2001-09-19  7:05 ` GCC Joern Rennecke
2001-09-19  9:56   ` GCC Frank Klemm
2001-09-19 16:45     ` GCC Joern Rennecke
2001-09-19 10:50 GCC mike stump
2001-09-19 16:31 ` GCC Joern Rennecke
2001-09-19 17:15 GCC Jimmy X. Jia
2001-09-20 10:43 GCC mike stump
2001-10-16  3:52 gcc Narendra Singh
2001-10-16  4:05 ` gcc Gerald Pfeifer
2002-03-06 13:19 gcc Stéphane THOMAS
2002-03-06 14:36 ` gcc Janis Johnson
2002-04-02 10:34 Gcc Every, Vanessa
2002-04-02 10:50 ` Gcc Joe Buck
2002-07-19  7:52 GCC stephen miller
2002-07-19  8:24 ` GCC Maggie
2002-07-21 17:16 gcc Huidong Yu
2002-08-16  3:42 GCC Tres Melton
2002-11-13  2:25 gcc reza afshar
     [not found] <616BE6A276E3714788D2AC35C40CD18D8EA584@whale.softwire.co.uk>
2002-11-13  4:16 ` gcc Rupert Wood
2002-12-18 21:47 GCC Daniel Madri
2002-12-18 21:54 ` GCC Andrew Pinski
2002-12-18 21:51 GCC Daniel Madri
2002-12-19  7:54 GCC Robert Dewar
2003-04-14 15:39 gcc Leonardo B. Cuquejo
2003-07-31  9:25 GCC Steven Bosscher
2003-07-31  9:30 ` GCC Aaron Lehmann
2003-07-31  9:47   ` GCC Randy.Dunlap
2003-07-31 14:07   ` GCC Gerald Pfeifer
2003-07-31 18:15     ` GCC Steven Bosscher
2003-08-04  5:46   ` GCC David O'Brien
2003-08-04  7:42     ` GCC Zack Weinberg
2003-08-08 19:05     ` GCC Bernardo Innocenti
2003-07-31 10:49 ` GCC Lars Segerlund
     [not found] ` <mailpost.1059633748.1819@news-sj1-1>
2003-07-31 19:38   ` GCC cgd
2003-07-31 19:45     ` GCC cgd
2003-07-31 10:57 GCC Robert Dewar
2003-08-04 17:19 ` GCC Joe Buck
     [not found] <Pine.LNX.4.21.0307311224210.23423-100000@mail.kloo.net>
2003-08-01  9:56 ` GCC Martin
2003-08-01 13:55   ` GCC Dave Hudson
2003-08-01 14:07     ` GCC Martin
     [not found]       ` <mailpost.1059737856.958@news-sj1-1>
2003-08-01 15:39         ` GCC cgd
2003-08-01 11:13 GCC Robert Dewar
2003-10-09  7:44 GCC SRUTHY C.N.
2003-10-09  7:53 ` GCC SRUTHY C.N.
2003-10-13  9:41 gcc SRUTHY C.N.
2003-10-13 12:19 ` gcc SRUTHY C.N.
2004-01-20  3:23 gcc Bill Cunningham
2004-01-21  0:09 ` gcc Alexandre Oliva
2004-01-21  0:32 ` gcc Jim Wilson
2005-10-02 13:00 gcc Bill Cunningham
2005-10-02 15:55 ` gcc Joe Buck
2006-02-10 13:22 gcc Sapojnikova T.F.
2006-02-10 20:10 ` gcc Mike Stump
2006-02-10 13:22 gcc Sapojnikova T.F.
2010-09-06 14:13 gcc xie pan
2010-09-09  2:26 ` gcc Tom Browder
2011-03-28  7:26 gcc vleihulu
2011-04-07 16:05 gcc ymousnw2
2011-06-19 10:19 gcc chandanchaudhary26
2011-06-30 20:21 gcc chandanchaudhary26
2012-09-24 10:54 GCC Jerome Huck
2012-09-24 12:33 ` GCC Robert Dewar
2019-12-16  8:48 Gcc Isabella Kathryn
2020-09-11 14:25 Gcc Helen Ames
2020-09-16  6:15 Gcc Sarah Cokins
2021-01-11  2:22 gcc Peter Liu
2021-06-21  9:47 Gcc Doris Amor
2021-12-18  8:09 Gcc Navidullah Mehrtash
2021-12-18 12:59 ` Gcc Jonathan Wakely
2021-12-21 20:13   ` Gcc Navidullah Mehrtash
2022-05-23 11:28 gcc Sarah Burgener
2022-11-11 12:36 gcc Michael Davide
2023-10-20  7:09 Gcc Suma Luther
2023-11-22 12:02 Gcc Suma Luther
2024-05-02 21:15 Gcc Sophia Taylor

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=6664.894313440@hurl.cygnus.com \
    --to=law@cygnus.com \
    --cc=egcs@cygnus.com \
    --cc=freebsd-stable@freebsd.org \
    --cc=jbuck@synopsys.com \
    --cc=obrien@NUXI.com \
    --cc=pfeifer@dbai.tuwien.ac.at \
    /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).