This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/20383] New: #line directive breaks try-catch statement
- From: "heinlein at informatik dot uni-ulm dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Mar 2005 15:15:57 -0000
- Subject: [Bug c++/20383] New: #line directive breaks try-catch statement
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The following legal input produces the error message:
"`...' handler must be the last handler for its try block".
int main () {
try {}
#line 1 "xxx"
catch (int) {}
}
--
Summary: #line directive breaks try-catch statement
Product: gcc
Version: 3.3.4
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: heinlein at informatik dot uni-ulm dot de
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20383