From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31422 invoked by alias); 22 Jul 2002 21:36:01 -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 31408 invoked by uid 71); 22 Jul 2002 21:36:00 -0000 Date: Mon, 22 Jul 2002 14:36:00 -0000 Message-ID: <20020722213600.31407.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: ruschein@mail-infomine.ucr.edu (Johannes Ruscheinski) Subject: Re: c++/7373: g++ 3.0 and 3.1 miscompile certain uses of the ternary operator Reply-To: ruschein@mail-infomine.ucr.edu (Johannes Ruscheinski) X-SW-Source: 2002-07/txt/msg00623.txt.bz2 List-Id: The following reply was made to PR c++/7373; it has been noted by GNATS. From: ruschein@mail-infomine.ucr.edu (Johannes Ruscheinski) To: nathan@gcc.gnu.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, ruschein@infomine.ucr.edu, gcc-gnats@gcc.gnu.org Cc: Subject: Re: c++/7373: g++ 3.0 and 3.1 miscompile certain uses of the ternary operator Date: Mon, 22 Jul 2002 14:34:53 -0700 Also sprach nathan@gcc.gnu.org: > Synopsis: g++ 3.0 and 3.1 miscompile certain uses of the ternary operator > > State-Changed-From-To: open->closed > State-Changed-By: nathan > State-Changed-When: Mon Jul 22 14:12:46 2002 > State-Changed-Why: > not a bug. You need an out of class definition of those > static members. (It is an opportunity for optimization, > though) > > http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7373 Thanks for your prompt reply. The reason that I believed it to be a bug is that if you subtly change the code the linker error disappears. Sorry to have wasted your time! -- Johannes -- Dr. Johannes Ruscheinski EMail: ruschein_AT_infomine.ucr.edu *** Linux *** Location: science library, room G40 *** The Choice Of A GNU Generation! *** Phone: (909) 787-2279 "To understand recursion, one must first understand recursion." -- Unknown