[Bug c/35443] New: [4.1/4.2/4.3/4.4 regression] Completely broken diagnostic with bind_expr
reichelt at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Mar 3 21:45:00 GMT 2008
A broken diagnostic is issued for the following invalid code snippet
since GCC 4.1.0:
==================================================
void foo()
{
({ int i; })();
}
==================================================
#'bind_expr' not supported by pp_c_expression#'bug.c: In function 'foo':
bug.c:3: error: called object is not a function
Similar to PR35441.
--
Summary: [4.1/4.2/4.3/4.4 regression] Completely broken
diagnostic with bind_expr
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Keywords: diagnostic, monitored
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: reichelt at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35443
More information about the Gcc-bugs
mailing list