[Bug c++/48798] CV-qualified base class erroneously forbidden

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

[Bug c++/48798] CV-qualified base class erroneously forbidden

2011-04-28 Thread paolo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48798 --- Comment #8 from paolo at gcc dot gnu.org 2011-04-28 18:12:32 UTC --- Author: paolo Date: Thu Apr 28 18:12:29 2011 New Revision: 173124 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=173124 Log: /cp 2011-04-28 Paolo Carlini PR

[Bug c++/48798] CV-qualified base class erroneously forbidden

2011-04-28 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48798 Paolo Carlini changed: What|Removed |Added Status|NEW |ASSIGNED CC|paolo.carlini

[Bug c++/48798] CV-qualified base class erroneously forbidden

2011-04-28 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48798 --- Comment #6 from Jason Merrill 2011-04-28 16:14:49 UTC --- I'm fine with just removing it.

[Bug c++/48798] CV-qualified base class erroneously forbidden

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

[Bug c++/48798] CV-qualified base class erroneously forbidden

2011-04-28 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48798 Paolo Carlini changed: What|Removed |Added CC||jason at gcc dot gnu.org,

[Bug c++/48798] CV-qualified base class erroneously forbidden

2011-04-28 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48798 --- Comment #3 from Paolo Carlini 2011-04-28 12:43:04 UTC --- A fix seems *so* easy: just remove the error! if (cp_type_quals (base) != 0) { error ("base class %qT has cv qualifiers", base); base = TYPE_MAIN_VARIANT (base);

[Bug c++/48798] CV-qualified base class erroneously forbidden

2011-04-28 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48798 --- Comment #2 from Jonathan Wakely 2011-04-28 12:10:04 UTC --- The testcase is tiny, might as well be in a comment rather than separate as an attachment: typedef struct A {} const t; struct B : t {};

[Bug c++/48798] CV-qualified base class erroneously forbidden

2011-04-28 Thread potswa at mac dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48798 --- Comment #1 from David Krauss 2011-04-28 07:06:22 UTC --- Created attachment 24121 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24121 minimal testcase