This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/14735] New: [3.5 regression] Error recovery problem with undeclared array bounds


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]