This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/7373: g++ 3.0 and 3.1 miscompile certain uses of the ternary operator
- From: ruschein at mail-infomine dot ucr dot edu (Johannes Ruscheinski)
- To: nathan at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org,nobody at gcc dot gnu dot org, ruschein at infomine dot ucr dot edu, gcc-gnats at gcc dot gnu dot org
- Date: Mon, 22 Jul 2002 14:34:53 -0700
- Subject: Re: c++/7373: g++ 3.0 and 3.1 miscompile certain uses of the ternary operator
- References: <20020722211246.10754.qmail@sources.redhat.com>
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