This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/35742] New: [4.1/4.2/4.3/4.4 regression] Broken diagnostic: 'goto_expr' not supported by pp_c_expression
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Mar 2008 20:01:42 -0000
- Subject: [Bug c/35742] New: [4.1/4.2/4.3/4.4 regression] Broken diagnostic: 'goto_expr' not supported by pp_c_expression
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
A broken diagnostic is issued for the following invalid code snippet
since GCC 4.1.0:
=========================================
void foo()
{
for (;;)
({break;})();
}
=========================================
#'goto_expr' not supported by pp_c_expression#'bug.c: In function 'foo':
bug.c:4: error: called object is not a function
--
Summary: [4.1/4.2/4.3/4.4 regression] Broken diagnostic:
'goto_expr' not supported by pp_c_expression
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
BugsThisDependsOn: 35441
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35742