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 16:56:00 GMT 2002


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-bugs mailing list