This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/17695] [4.0 regression] ICE in add_abstract_origin_attribute
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Sep 2004 16:50:24 -0000
- Subject: [Bug c++/17695] [4.0 regression] ICE in add_abstract_origin_attribute
- References: <20040927162823.17695.fsm@robots.ox.ac.uk>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bangerth at dealii dot org 2004-09-27 16:50 -------
Confirmed, a marginally shorter version is this:
----------------------
template <typename T> struct A {
T *p;
};
template <typename T> struct B : A<T> {
B();
};
struct C {
C() {
typedef double D;
B<D> foo;
}
} c;
----------------------------
g/x> /home/bangerth/bin/gcc-4.0-pre/bin/c++ -g -c x.cc
x.cc: In constructor `C::C()':
x.cc:13: internal compiler error: in add_abstract_origin_attribute, at
dwarf2out.c:10411
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
This is a regression over all previous versions.
W.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Known to fail| |4.0.0
Known to work| |3.2.3 3.4.0 3.3.4
Last reconfirmed|0000-00-00 00:00:00 |2004-09-27 16:50:23
date| |
Summary|ICE when compiling with -g |[4.0 regression] ICE in
| |add_abstract_origin_attribut
| |e
Target Milestone|--- |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17695