From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16825 invoked by alias); 23 Jan 2003 17:13:55 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 16805 invoked by uid 48); 23 Jan 2003 17:13:55 -0000 Date: Thu, 23 Jan 2003 17:13:00 -0000 Message-ID: <20030123171355.16804.qmail@sources.redhat.com> To: gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, jgibbs@bluearc.com, mdorey@bluearc.com, nobody@gcc.gnu.org From: bangerth@dealii.org Reply-To: bangerth@dealii.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, jgibbs@bluearc.com, mdorey@bluearc.com, nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org Subject: Re: c++/9420: [3.2/3.3/3.4 regression] incomplete type incorrectly reported X-SW-Source: 2003-01/txt/msg01383.txt.bz2 List-Id: Old Synopsis: [regression over 2.95] incomplete type incorrectly reported New Synopsis: [3.2/3.3/3.4 regression] incomplete type incorrectly reported State-Changed-From-To: open->analyzed State-Changed-By: bangerth State-Changed-When: Thu Jan 23 17:13:55 2003 State-Changed-Why: True. Very weird problem: -------------------------- enum { E }; template struct A { static const int a = (E < 0); }; template class B { A b; }; struct C { C(B); }; int operator<(C, C); A c; ---------------------------- Changing any bit of the code makes the bug go away (e.g. changing op< to function foo). Used to work with 2.95, but does no longer with 3.2.2 and 3.3 (just accidentially ruined my 3.4 installation, but likely to show same problem). W. http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9420