This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/22604] [4.0/4.1 Regression] "internal compiler error" after invalid covariant return
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Jul 2005 03:53:07 -0000
- Subject: [Bug c++/22604] [4.0/4.1 Regression] "internal compiler error" after invalid covariant return
- References: <20050722033716.22604.flash@pobox.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-22 03:53 -------
Confirmed.
Here is the backtrace:
#0 0x080b94b6 in dfs_modify_vtables (binfo=0xb7d11840, data=0xb7cbe398) at /home/peshtigo/
pinskia/src/gnu/gcc/src/gcc/cp/class.c:2032
#1 0x08122b40 in dfs_walk_all (binfo=0xb7d11840, pre_fn=0x80b8e00 <dfs_modify_vtables>,
post_fn=0, data=0xb7cbe398)
at /home/peshtigo/pinskia/src/gnu/gcc/src/gcc/cp/search.c:1528
#2 0x08123444 in dfs_walk_once (binfo=0xb7d11840, pre_fn=0x80b8e00 <dfs_modify_vtables>,
post_fn=0, data=0xb7cbe398)
at /home/peshtigo/pinskia/src/gnu/gcc/src/gcc/cp/search.c:1651
#3 0x080c8247 in finish_struct_1 (t=0xb7cbe398) at /home/peshtigo/pinskia/src/gnu/gcc/src/gcc/
cp/class.c:2223
#4 0x080ca5e6 in finish_struct (t=0xb7cbe398, attributes=0xb7cbe398) at /home/peshtigo/pinskia/
src/gnu/gcc/src/gcc/cp/class.c:5107
#5 0x080e953a in cp_parser_type_specifier (parser=0xb7cbbe38, flags=Variable "flags" is not
available.
) at /home/peshtigo/pinskia/src/gnu/gcc/src/gcc/cp/parser.c:12642
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |error-recovery, ice-on-
| |invalid-code
Last reconfirmed|0000-00-00 00:00:00 |2005-07-22 03:53:06
date| |
Summary|"internal compiler error: |[4.0/4.1 Regression]
|Segmentation fault" with |"internal compiler error"
|invalid nested classes |after invalid covariant
| |return
Target Milestone|--- |4.0.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22604