This is the mail archive of the
egcs@egcs.cygnus.com
mailing list for the EGCS project. See the EGCS
home page for more information.
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]
Re: eb77.C
- To: Joern Rennecke <amylaar@cygnus.co.uk>
- Subject: Re: eb77.C
- From: Alexandre Oliva <oliva@dcc.unicamp.br>
- Date: 16 Feb 1999 23:58:18 -0200
- Cc: robertlipe@usa.net (Robert Lipe), egcs@cygnus.com
- Delivered-To: listarch-egcs@egcs.cygnus.com
- Delivered-To: mailing list egcs@egcs.cygnus.com
- In-Reply-To: Joern Rennecke's message of "Mon, 15 Feb 1999 18:36:33 +0000 (GMT)"
- Mailing-List: contact egcs-help@egcs.cygnus.com; run by ezmlm
- References: <199902151836.SAA25952@phal.cygnus.co.uk>
- Sender: owner-egcs@egcs.cygnus.com
- Sender: oliva@araguaia.dcc.unicamp.br
- User-Agent: Gnus/5.070076 (Pterodactyl Gnus v0.76) XEmacs/20.4 (Emerald)
On Feb 15, 1999, Joern Rennecke <amylaar@cygnus.co.uk> wrote:
> gcc/testsuite/g++.old-deja/g++.robertl/eb77.C uses a strstream without
> initializing it.
Huh? Since there's no explicit initialization, it gets default
initialized, i.e., init_dynamic(0,0).
> Since the constructor for strstream is empty, this invokes undefined
> behaviour.
It is not empty, and it seems to me that it should not invoke
undefined behavior.
--
Alexandre Oliva http://www.dcc.unicamp.br/~oliva aoliva@{acm.org}
oliva@{dcc.unicamp.br,gnu.org,egcs.cygnus.com,samba.org}
Universidade Estadual de Campinas, SP, Brasil
- Follow-Ups:
- Re: eb77.C
- From: Joern Rennecke <amylaar@cygnus.co.uk>
- References:
- eb77.C
- From: Joern Rennecke <amylaar@cygnus.co.uk>