This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/35441] [4.2/4.3/4.4 regression] Completely broken diagnostics
- From: "sabre at nondot dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Aug 2008 04:23:40 -0000
- Subject: [Bug c/35441] [4.2/4.3/4.4 regression] Completely broken diagnostics
- References: <bug-35441-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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