This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/16119] In C language diagnostic messages, %E should but cannot display general expressions


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]