c++/7373: g++ 3.0 and 3.1 miscompile certain uses of the ternary operator
Johannes Ruscheinski
ruschein@mail-infomine.ucr.edu
Mon Jul 22 14:36:00 GMT 2002
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
More information about the Gcc-prs
mailing list