From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11428 invoked by alias); 9 Sep 2002 17:56:02 -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 11393 invoked by uid 71); 9 Sep 2002 17:56:01 -0000 Resent-Date: 9 Sep 2002 17:56:01 -0000 Resent-Message-ID: <20020909175601.11390.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, algrant@myrealbox.com Received: (qmail 10525 invoked by uid 61); 9 Sep 2002 17:54:31 -0000 Message-Id: <20020909175431.10524.qmail@sources.redhat.com> Date: Mon, 09 Sep 2002 10:56:00 -0000 From: algrant@myrealbox.com Reply-To: algrant@myrealbox.com To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: c++/7869: faults typedef redefinition in struct X-SW-Source: 2002-09/txt/msg00142.txt.bz2 List-Id: >Number: 7869 >Category: c++ >Synopsis: faults typedef redefinition in struct >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Mon Sep 09 10:56:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Al Grant >Release: 3.1 >Organization: >Environment: SunOS bsun22 5.5.1 Generic_103640-31 sun4u sparc SUNW,Ultra-5_10 >Description: typedef int T; struct S { typedef T T; }; faulted with declaration of `typedef int S::T' changes meaning of `T' from `typedef int T' but should be legal by 7.1.3. Also faulted: typedef int T; struct S { typedef T Unused; typedef int T; }; not faulted if the typedef of Unused is removed. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: