public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/19508] New: [3.4 regression] dwarf2, ICE on __attribute__(aligned) in class template
@ 2005-01-18 16:44 jan at etpmod dot phys dot tue dot nl
  2005-01-18 17:18 ` [Bug c++/19508] [4.0 " pinskia at gcc dot gnu dot org
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: jan at etpmod dot phys dot tue dot nl @ 2005-01-18 16:44 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2005-02-18 19:14 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-18 16:44 [Bug c++/19508] New: [3.4 regression] dwarf2, ICE on __attribute__(aligned) in class template jan at etpmod dot phys dot tue dot nl
2005-01-18 17:18 ` [Bug c++/19508] [4.0 " pinskia at gcc dot gnu dot org
2005-01-18 17:20 ` pinskia at gcc dot gnu dot org
2005-01-18 17:33 ` pcarlini at suse dot de
2005-01-20  4:25 ` pinskia at gcc dot gnu dot org
2005-01-20  4:36 ` pinskia at gcc dot gnu dot org
2005-01-20 12:10 ` giovannibajo at libero dot it
2005-01-20 12:19 ` giovannibajo at libero dot it
2005-01-20 12:26 ` pcarlini at suse dot de
2005-01-20 12:33 ` pcarlini at suse dot de
2005-01-20 14:05 ` giovannibajo at libero dot it
2005-02-18 23:11 ` pinskia at gcc dot gnu dot org
2005-02-18 23:11 ` cvs-commit at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).