This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c++/658: ICE #123 on misplaced letter.. and some other things
- To: gcc-gnats at gcc dot gnu dot org
- Subject: c++/658: ICE #123 on misplaced letter.. and some other things
- From: erik at mail dot nu
- Date: 18 Oct 2000 22:19:56 -0000
- Reply-To: erik at mail dot nu
- Resent-Cc: gcc-prs at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, jason at gcc dot gnu dot org
- Resent-Reply-To: gcc-gnats@gcc.gnu.org, erik@mail.nu
>Number: 658
>Category: c++
>Synopsis: ICE #123 on misplaced letter.. and some other things
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: unassigned
>State: open
>Class: ice-on-illegal-code
>Submitter-Id: net
>Arrival-Date: Wed Oct 18 15:26:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator: Erik Søe Sørensen
>Release: gcc version 2.96 20000731 (experimental)
>Organization:
>Environment:
>Description:
I get an ICE #123 on the code given.
A letter (or a bit more, like 'a(b)') is put in a wrong place, and then the surroundings have to be right.
>How-To-Repeat:
struct S {
S(undef_type s) {} // 'short' instead of 'undef_type' gives SEGV.
S(int i) a {} // <-- notice the 'a'
};
class C {
void f();
};
void C::f() {}
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: