This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/15788] Poor error recovery
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Jun 2004 01:40:29 -0000
- Subject: [Bug c++/15788] Poor error recovery
- References: <20040602215239.15788.igodard@pacbell.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-06-03 01:40 -------
Confirmed, here is a small example:
int f()
{
if (1)
{
return 1;
else
{
}
}
int g()
{
}
It is interesting as 3.3 produces just a sytanx error before else (but I think it stops parsing at this point.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |diagnostic
Last reconfirmed|0000-00-00 00:00:00 |2004-06-03 01:40:28
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15788