This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [PATCH] Fix libstdc++/6811
- From: Gabriel Dos Reis <gdr at codesourcery dot com>
- To: Paolo Carlini <pcarlini at unitus dot it>
- Cc: libstdc++ at gcc dot gnu dot org, carlo at alinoe dot com, bkoz at redhat dot com
- Date: 26 May 2002 16:28:06 +0200
- Subject: Re: [PATCH] Fix libstdc++/6811
- Organization: CodeSourcery, LLC
- References: <3CF0EDA5.3060804@unitus.it>
Paolo Carlini <pcarlini@unitus.it> writes:
| Hi,
|
| the following one-liner fixes the PR. I wanted to cook up a testcase but
| Gaby pointed out that it is not very easy to find a portable one and
| perhaps we can simply fix the problem, for the time being.
I gave it more thought: maybe one could try instantiating it and
pass a flag to GCC to warn about missing return statement. I don't
know how far we can get with that.
|
| Ok for both? (tested x86-linux, as usual)
Yes.
-- Gaby