https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68842
Andrew Pinski changed:
What|Removed |Added
CC||soko.slav at yandex dot ru
--- Comment #
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68842
--- Comment #3 from Jonathan Wakely ---
--- a/gcc/cp/typeck.c
+++ b/gcc/cp/typeck.c
@@ -4907,8 +4907,13 @@ cp_build_binary_op (location_t location,
if (!result_type)
{
if (complain & tf_error)
- error ("invalid operands of ty
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68842
--- Comment #2 from Jonathan Wakely ---
And interestingly EDG compiles it without error!
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68842
Jonathan Wakely changed:
What|Removed |Added
Keywords||diagnostic
Status|UNCONFIR