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/35441] [4.2/4.3/4.4 regression] Completely broken diagnostics



------- Comment #2 from sabre at nondot dot org  2008-08-14 04:23 -------
FYI, clang produces:

t.c:3:3: error: called object is not a function or function pointer
  (p - q)();
  ^~~~~~~~~
t.c:8:3: error: called object is not a function or function pointer
  (p < q ? p : q)();
  ^~~~~~~~~~~~~~~~~


-- 


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


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