This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c++/6226: G++ ICE instead of reporting semantic error
- From: kosower at spht dot saclay dot cea dot fr
- To: gcc-gnats at gcc dot gnu dot org
- Date: 8 Apr 2002 09:12:15 -0000
- Subject: c++/6226: G++ ICE instead of reporting semantic error
- Reply-to: kosower at spht dot saclay dot cea dot fr
>Number: 6226
>Category: c++
>Synopsis: G++ ICE instead of reporting semantic error
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: unassigned
>State: open
>Class: ice-on-illegal-code
>Submitter-Id: net
>Arrival-Date: Mon Apr 08 02:16:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: David A. Kosower
>Release: gcc version 2.95.2 19991024 (release)
>Organization:
>Environment:
Reading specs from /opt/gcc/lib/gcc-lib/sparc-sun-solaris2.6/2.95.2/specs
>Description:
bug01.cc: In method `int X::S(int, int)':
bug01.cc:4: Internal compiler error in `find_function_data', at function.c:542
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/faq.html#bugreport> for instructions.
>How-To-Repeat:
int l = 2;
class X{int s[l][l];
int t(char b){}
public: int S(int i, int j) {return s[i][j];} };
>Fix:
Fix the subscript declaration.
Is this the shortest (in # tokens) bug report in say, 3 years?
>Release-Note:
>Audit-Trail:
>Unformatted: