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

Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic

--- Comment #3 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2013-04-16 
15:33:16 UTC ---
void baz (B *x)
{
  int y = x >> x;
}

/home/manuel/pr56980.c:11:13: error: invalid operands to binary >> (have
‘struct B *’ and ‘struct B *’)
   int y = x >> x;
             ^

The C pretty-printer cannot deal correctly with pointers to typedefs of
structs.

Reply via email to