This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/15736] New: internal compiler error: in force_decl_die, at dwarf2out.c:12441


This bug, or rather a very similar one was fixed not long ago.
But it appears still to exist in todays compiler :/

To reproduce compile this:

class sbll_node_ct;

class sbll_base_ct {
protected:
  sbll_base_ct(void) { }
  ~sbll_base_ct(void) { }
  class sbll_node_ct* next;
};

class sbll_list_ct: private sbll_base_ct {
protected:
  using sbll_base_ct::next;
};


by doing:

>g++-cvs-3.5 -c -g test.cc
test.cc:12: internal compiler error: in force_decl_die, at dwarf2out.c:12441
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

This is with

>g++-cvs-3.5 -v
Reading specs from /usr/src/GNU/install/bin/../lib/gcc/i686-redhat-linux/3.5.0/specs
Configured with: /usr/src/gcc/gcc-cvs-3.5/configure
--prefix=/usr/local/gcc-cvs-3.5 --enable-shared --with-gnu-as --with-gnu-ld
--enable-languages=c++ --enable-debug --enable-threads=posix --disable-checking
--with-system-zlib --enable-__cxa_atexit --host=i686-redhat-linux
Thread model: posix
gcc version 3.5.0 20040530 (experimental)

-- 
           Summary: internal compiler error: in force_decl_die, at
                    dwarf2out.c:12441
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: carlo at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15736


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]