public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "timj at gtk dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/30894]  New: ICE in splice_child_die, at dwarf2out.c:5503
Date: Tue, 20 Feb 2007 20:28:00 -0000	[thread overview]
Message-ID: <bug-30894-12577@http.gcc.gnu.org/bugzilla/> (raw)

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

some C++ code in a project of mine triggers an ICE in various g++ versions:

$ g++-4.1 -g -Wall -Wdeprecated -Wno-cast-qual -pipe -O2 -ftracer
finline-functions -fno-keep-static-consts   -fPIC -DPIC  -c xice-uma.cc 
xice-uma.cc:71: internal compiler error: in splice_child_die, at
dwarf2out.c:5503
Please submit a full bug report,...

$ g++-4.1 --version
g++-4.1 (GCC) 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)
$ uname -a
Linux cruncher 2.6.17-10-generic #2 SMP Tue Dec 5 22:28:26 UTC 2006 i686
GNU/Linux

$ g++-4.0 xice-uma.cc 
xice-uma.cc: In member function ‘const AutoLocker::Locker* AutoLocker::locker()
const’:
xice-uma.cc:97: internal compiler error: Segmentation fault
$ g++-3.4 xice-uma.cc 
xice-uma.cc: In member function `const AutoLocker::Locker* AutoLocker::locker()
const':
xice-uma.cc:97: internal compiler error: Segmentation fault
$ g++-3.3 xice-uma.cc 
xice-uma.cc: In member function `const AutoLocker::Locker* AutoLocker::locker() 
   const':
xice-uma.cc:97: internal compiler error: Segmentation fault

i managed to shrink this down to a may_alias attribute on a union, source code
follows as xice-uma.cc.


-- 
           Summary: ICE in splice_child_die, at dwarf2out.c:5503
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: timj at gtk dot org


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


             reply	other threads:[~2007-02-20 20:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-20 20:28 timj at gtk dot org [this message]
2007-02-20 20:33 ` [Bug c++/30894] " timj at gtk dot org
2007-02-20 21:50 ` rguenth at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-30894-12577@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).