--- Comment #4 from jakub at gcc dot gnu dot org 2010-06-24 11:00 ---
Fixed.
--
jakub at gcc dot gnu dot org changed:
What|Removed |Added
Status|UNCONFIRMED
--- Comment #3 from jakub at gcc dot gnu dot org 2010-06-04 18:46 ---
Subject: Bug 44412
Author: jakub
Date: Fri Jun 4 18:45:07 2010
New Revision: 160290
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=160290
Log:
PR c++/44412
* typeck.c (build_class_member_acces
--- Comment #2 from jakub at gcc dot gnu dot org 2010-06-04 14:12 ---
Created an attachment (id=20838)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20838&action=view)
gcc46-pr44412.patch
Untested patch.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44412
--- Comment #1 from jakub at gcc dot gnu dot org 2010-06-04 12:03 ---
More complete testcase:
// PR c++/44412
// { dg-do compile }
// { dg-options "-Wunused" }
struct S
{
static const int a = 3;
static int b;
int c;
};
const int S::a;
int S::b = 4;
int
f1 ()
{
S s;
return s