------- Comment #12 from pinskia at gcc dot gnu dot org  2006-12-24 05:02 
-------
I am starting to think Solaris's definition of assert is incorrect because you
can actually overload "operator ||" and force evulation of both operands in C++
which is what is happening here.

All other asserts I know of use ?: which cannot be overloaded.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|libstdc++                   |target
 GCC target triplet|                            |sparc-sun-solaris2.9


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30280

Reply via email to