This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [basic-improvements] try/finally support for c/c++ - more tests
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: Aldy Hernandez <aldyh at redhat dot com>
- Cc: Mark Mitchell <mark at codesourcery dot com>, Zack Weinberg <zack at codesourcery dot com>, Richard Henderson <rth at redhat dot com>, Jakub Jelinek <jakub at redhat dot com>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, "jason at redhat dot com" <jason at redhat dot com>
- Date: 07 Nov 2002 10:04:44 +0100
- Subject: Re: [basic-improvements] try/finally support for c/c++ - more tests
- Organization: Integrable Solutions
- References: <20021107015959.GA17046@egil.codesourcery.com> <8450000.1036650874@warlock.codesourcery.com> <m3smydj0l8.fsf@frogsleap.quesejoda.com>
Aldy Hernandez <aldyh@redhat.com> writes:
[...]
| Just think, if any of the nifty features presently available as
| extensions in GCC (inline, nested functions, labels as values, inline
| assembly, etc) were to be brought up now, I'm 99% sure they'd be shot
| down, purely because they were front end extensions. I think we're
| loosing the GNU's Not Unix spirit.
I don't understand how you came to that conclusion.
Anyway, if you were to track, understand and fix the zillions of bugs
caused by extensions that were put there with no in-depth
understanding of its implications and interactions with the language
and explorations of alternatives (and sometimes with conflicting
semantics) I'm sure you would have a different stance. [ I did a tiny
part of bug tracking; that wasn't picnic and I certainly don't like
*some* extensions there in the language. I do find other useful. ]
The issue isn't to shot down every extension. The issue is, given
current experience with extensions (in the broad sense), given current
C++ (resp. C) semantics and facilities, given current front-end
complexities, bugs and plans, given a *clear* statement of
the problem what points of the solutions space should we consider.
The proposed patch is such a dramatic change that I can not imagine
that it would be checked in with no discussion.
-- Gaby