Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(6927)

Issue 4341041: [patch] Fix two C++ errors in libstdc++. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 1 month ago by Jeffrey Yasskin
Modified:
13 years, 1 month ago
Reviewers:
Jeffrey Yasskin (google), paolo.carlini, pcarlini, jason
CC:
gcc-patches_gcc.gnu.org
Visibility:
Public.

Description

Remove a redundant default argument from std::__throw_with_nested in nested_exception.h. Forward-declare std::type_info from exception_ptr.h, which is included from <typeinfo> before it defines std::type_info. Tested: `make check` in x86_64-unknown-linux-gnu/libstdc++-v3. The abi_check test fails, but also did before this change. libstdc++-v3/ChangeLog: 2011-03-31 Jeffrey Yasskin <jyasskin@google.com> * libsupc++/exception_ptr.h: Forward-declare std::type_info. * libsupc++/nested_exception.h (__throw_with_nested): Remove a redundant default argument from std::__throw_with_nested.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M libstdc++-v3/libsupc++/exception_ptr.h View 1 chunk +1 line, -1 line 0 comments Download
M libstdc++-v3/libsupc++/nested_exception.h View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 8
Jeffrey Yasskin (google)
I think this is a candidate to backport to libstdc++-4.6.1. exception_ptr.h needs the forward declaration ...
13 years, 1 month ago (2011-03-31 19:00:38 UTC) #1
paolo.carlini_oracle.com
Hi, > I think this is a candidate to backport to libstdc++-4.6.1. > > exception_ptr.h ...
13 years, 1 month ago (2011-03-31 19:41:55 UTC) #2
paolo.carlini_oracle.com
On 03/31/2011 09:41 PM, Paolo Carlini wrote: >> I think this is a candidate to ...
13 years, 1 month ago (2011-03-31 19:49:31 UTC) #3
jason_redhat.com
On 03/31/2011 03:41 PM, Paolo Carlini wrote: > I think we should understand why this ...
13 years, 1 month ago (2011-03-31 21:18:14 UTC) #4
pcarlini_gmail.com
Hi, > > Compiler bug. Agreed. Thus, I'm going to apply the library patch, release ...
13 years, 1 month ago (2011-03-31 21:25:03 UTC) #5
Jeffrey Yasskin (google)
On Thu, Mar 31, 2011 at 12:49 PM, Paolo Carlini <paolo.carlini@oracle.com> wrote: > On 03/31/2011 ...
13 years, 1 month ago (2011-03-31 21:25:32 UTC) #6
jason_redhat.com
On 03/31/2011 05:25 PM, Paolo Carlini wrote: > Jason let me know if you want ...
13 years, 1 month ago (2011-03-31 21:26:28 UTC) #7
pcarlini_gmail.com
13 years, 1 month ago (2011-03-31 21:34:03 UTC) #8
Hi,

> Thanks. Is that an OK that I can commit this to mainline and 4_6-branch?

Sure, if you are ready to commit please go ahead, thanks. Note that the C++
front end issue is also important, the next time you encounter something similar
please point it out explicitly!

Thanks,
Paolo
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b