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; [EMAIL PROTECTED] g++ -c luinvert.ii [EMAIL PROTECTED] 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