This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/14735] New: [3.5 regression] Error recovery problem with undeclared array bounds
- 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: 25 Mar 2004 17:26:23 -0000
- Subject: [Bug c/14735] New: [3.5 regression] Error recovery problem with undeclared array bounds
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The code from PR 11944 again fails on mainline. Just compile
=============================
void foo(const int[i]);
=============================
to see
dPR11944.c:1: error: 'i' undeclared here (not in a function)
dPR11944.c:1: internal compiler error: in get_parm_info, at c-decl.c:4812
Please submit a full bug report, [etc.]
The regression appeared on 2004-03-23 or 2004-03-24.
--
Summary: [3.5 regression] Error recovery problem with undeclared
array bounds
Product: gcc
Version: 3.5.0
Status: UNCONFIRMED
Keywords: ice-on-invalid-code, error-recovery
Severity: normal
Priority: P2
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: reichelt at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14735