http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48798
Paolo Carlini changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|
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
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48798
Paolo Carlini changed:
What|Removed |Added
Status|NEW |ASSIGNED
CC|paolo.carlini
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.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48798
Paolo Carlini changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48798
Paolo Carlini changed:
What|Removed |Added
CC||jason at gcc dot gnu.org,
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);
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 {};
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