[Bug c++/50344] friend declaration confused by const qualifier

2011-09-22 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50344 Paolo Carlini changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug c++/50344] friend declaration confused by const qualifier

2011-09-22 Thread paolo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50344 --- Comment #5 from paolo at gcc dot gnu.org 2011-09-22 14:16:33 UTC --- Author: paolo Date: Thu Sep 22 14:16:27 2011 New Revision: 179088 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=179088 Log: /cp 2011-09-22 Jonathan Wakely

[Bug c++/50344] friend declaration confused by const qualifier

2011-09-21 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50344 Paolo Carlini changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/50344] friend declaration confused by const qualifier

2011-09-15 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50344 --- Comment #4 from Jonathan Wakely 2011-09-15 10:06:31 UTC --- Thanks Paolo - I forgot to add a follow-up comment to say I'd tested it

[Bug c++/50344] friend declaration confused by const qualifier

2011-09-14 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50344 --- Comment #3 from Paolo Carlini 2011-09-14 21:34:35 UTC --- Passes the testsuite.

[Bug c++/50344] friend declaration confused by const qualifier

2011-09-14 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50344 --- Comment #2 from Paolo Carlini 2011-09-14 21:11:02 UTC --- So, I guess we only need confirmation that your analysis is correct. Indeed, I can confirm that the patch, only one line thus not requiring a Copyright assignment, works for the testca

[Bug c++/50344] friend declaration confused by const qualifier

2011-09-09 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50344 --- Comment #1 from Jonathan Wakely 2011-09-09 19:47:42 UTC --- both testcases are fixed simply by adding this to the top of make_friend_class in friend.c friend_type = cv_unqualified (friend_type);