[Bug c/16119] In C language diagnostic messages, %E should but cannot display general expressions
trt at acm dot org
gcc-bugzilla@gcc.gnu.org
Fri Sep 24 17:07:00 GMT 2004
------- Additional Comments From trt at acm dot org 2004-09-24 17:07 -------
Close but not quite right, a bogus ({anonymous}) appears.
In c-objc-common.c the suspect code is:
case 'E':
if (TREE_CODE (t) == IDENTIFIER_NODE)
n = IDENTIFIER_POINTER (t);
else
pp_expression (cpp, t);
break;
I think that should instead be
case 'E':
pp_expression (cpp, t);
return true;
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16119
More information about the Gcc-bugs
mailing list