This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix libstdc++/6811


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]