public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/16261] New: ICE: output_die, at dwarf2out.c:6628
@ 2004-06-29 11:10 gcc-bugzilla at gcc dot gnu dot org
  2004-06-29 11:17 ` [Bug c++/16261] [3.4 regression] " reichelt at gcc dot gnu dot org
                   ` (17 more replies)
  0 siblings, 18 replies; 19+ messages in thread
From: gcc-bugzilla at gcc dot gnu dot org @ 2004-06-29 11:10 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1778 bytes --]



G++ 3.4 enjoys an ICE when compiling the following code with -g:

namespace temp
{
  template <class Ident_>
  struct Map
  {
  };

  typedef Map <int> TempMap;

}

extern temp::TempMap tempmap;

void
instructions_display (void)
{
  struct NolimipsTempMap
    : public temp::TempMap
  {
    NolimipsTempMap (const temp::TempMap &tm)
      : temp::TempMap (tm)
    {
    }
  };

  NolimipsTempMap tm (tempmap);
}

No other version of GCC I use faces this problem (3.3, or 3.5).

Environment:
System: Linux tchernobyl 2.4.18-bf2.4 #1 Son Apr 14 09:53:28 CEST 2002 i686 GNU/Linux
Architecture: i686

	
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: /home/lrde/stud/burrus_n/work/lrde/ext/gcc/configure --prefix=/home/lrde/lrde/usr/gcc-3.4 --enable-languages=c,c++

How-To-Repeat:
% g++-3.4 -c tasks.cc
% g++-3.4 -c -g tasks.cc
tasks.cc:27: internal compiler error: in output_die, at dwarf2out.c:6628
SVP soumettre un rapport complet d'anomalies,
avec le source pré-traité si cela est approprié.
Consulter <URL:http://gcc.gnu.org/bugs.html> pour les instructions.
------- Additional Comments From akim at lrde dot epita dot fr  2004-06-29 10:51 -------
Fix:
Note that the namespace is needed.

-- 
           Summary: ICE: output_die, at dwarf2out.c:6628
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: akim at lrde dot epita dot fr
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


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

end of thread, other threads:[~2005-01-18 21:41 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-29 11:10 [Bug c++/16261] New: ICE: output_die, at dwarf2out.c:6628 gcc-bugzilla at gcc dot gnu dot org
2004-06-29 11:17 ` [Bug c++/16261] [3.4 regression] " reichelt at gcc dot gnu dot org
2004-06-29 14:19 ` reichelt at gcc dot gnu dot org
2004-06-29 14:27 ` pinskia at gcc dot gnu dot org
2004-06-29 15:48 ` akim at epita dot fr
2004-07-02 23:58 ` reichelt at gcc dot gnu dot org
2004-08-17 23:59 ` mmitchel at gcc dot gnu dot org
2004-08-29 18:11 ` mmitchel at gcc dot gnu dot org
2004-08-29 18:16 ` mmitchel at gcc dot gnu dot org
2004-11-01  0:45 ` mmitchel at gcc dot gnu dot org
2004-11-08 21:48 ` reichelt at gcc dot gnu dot org
2004-11-08 21:49 ` reichelt at gcc dot gnu dot org
2004-12-02 14:31 ` ebotcazou at gcc dot gnu dot org
2004-12-02 14:33 ` [Bug debug/16261] " ebotcazou at gcc dot gnu dot org
2004-12-05 23:07 ` pinskia at gcc dot gnu dot org
2005-01-05 10:02 ` cvs-commit at gcc dot gnu dot org
2005-01-18  8:42 ` ebotcazou at gcc dot gnu dot org
2005-01-18 21:40 ` cvs-commit at gcc dot gnu dot org
2005-01-18 21:41 ` ebotcazou 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).