This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/19508] New: [3.4 regression] dwarf2, ICE on __attribute__(aligned) in class template
- From: "jan at etpmod dot phys dot tue dot nl" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Jan 2005 16:44:29 -0000
- Subject: [Bug c++/19508] New: [3.4 regression] dwarf2, ICE on __attribute__(aligned) in class template
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
When compiled with -g the following reduced testcase causes an ICE (see output
below), without -g everything is fine. I noticed report PR19163 which exposes
other (unrelated?) __attribute__(aligned) problems. This is a 3.4 regression.
This is with today's trunk, configured without options (except --prefix).
template <typename T>
struct BVector
{
typedef T value_type __attribute__ ((aligned(8)));
};
BVector<int> m;
jan@nbelvis$ g++ -c luinvert.ii
jan@nbelvis$ g++ -g -c luinvert.ii
luinvert.ii: In instantiation of ?BVector<int>?:
luinvert.ii:6: instantiated from here
luinvert.ii:3: internal compiler error: in is_base_type, at dwarf2out.c:8058
...
--
Summary: [3.4 regression] dwarf2, ICE on __attribute__(aligned)
in class template
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jan at etpmod dot phys dot tue dot nl
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-suse-linux
GCC host triplet: i686-suse-linux
GCC target triplet: i686-suse-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19508
- Follow-Ups:
- [Bug c++/19508] [4.0 regression] dwarf2, ICE on __attribute__(aligned) in class template
- From: pinskia at gcc dot gnu dot org
- [Bug c++/19508] [4.0 regression] dwarf2, ICE on __attribute__(aligned) in class template
- From: pinskia at gcc dot gnu dot org
- [Bug c++/19508] [4.0 regression] dwarf2, ICE on __attribute__(aligned) in class template
- From: pcarlini at suse dot de
- [Bug c++/19508] [4.0 regression] dwarf2, ICE on __attribute__(aligned) in class template
- From: pinskia at gcc dot gnu dot org
- [Bug c++/19508] [4.0 regression] dwarf2, ICE on __attribute__(aligned) in class template
- From: pinskia at gcc dot gnu dot org
- [Bug c++/19508] [4.0 regression] dwarf2, ICE on __attribute__(aligned) in class template
- From: giovannibajo at libero dot it
- [Bug c++/19508] [4.0 regression] dwarf2, ICE on __attribute__(aligned) in class template
- From: giovannibajo at libero dot it
- [Bug c++/19508] [4.0 regression] dwarf2, ICE on __attribute__(aligned) in class template
- From: pcarlini at suse dot de
- [Bug c++/19508] [4.0 regression] dwarf2, ICE on __attribute__(aligned) in class template
- From: pcarlini at suse dot de
- [Bug c++/19508] [4.0 regression] dwarf2, ICE on __attribute__(aligned) in class template
- From: giovannibajo at libero dot it