[Bug c++/17695] [4.0 regression] ICE in add_abstract_origin_attribute
bangerth at dealii dot org
gcc-bugzilla@gcc.gnu.org
Mon Sep 27 16:50:00 GMT 2004
------- 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
More information about the Gcc-bugs
mailing list