public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "cas43 at cs dot stanford.edu" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/51154] New: internal compiler error: gimplification failed
Date: Wed, 16 Nov 2011 07:29:00 -0000	[thread overview]
Message-ID: <bug-51154-4@http.gcc.gnu.org/bugzilla/> (raw)

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

             Bug #: 51154
           Summary: internal compiler error: gimplification failed
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: cas43@cs.stanford.edu


Created attachment 25833
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25833
Program that cuases g++ to ICE.

How to reproduce: g++ -c prog.cpp

DIAGNOSTIC:

gimplification failed:
<<< Unknown tree: using_decl >>> <using_decl 0x7f3d605e9f18 counts
    type <record_type 0x7f3d605f0c78 BASE sizes-gimplified used type_5 type_6
DI
        size <integer_cst 0x7f3d60469f40 constant 64>
        unit size <integer_cst 0x7f3d60469f60 constant 8>
        align 32 symtab 0 alias set -1 canonical type 0x7f3d605e7d20
        fields <field_decl 0x7f3d605d3da8 counts type <integer_type
0x7f3d604825e8 int>
            nonlocal decl_3 SI file prog.cpp line 5 col 9
            size <integer_cst 0x7f3d604852c0 constant 32>
            unit size <integer_cst 0x7f3d604852e0 constant 4>
            align 32 offset_align 128
            offset <integer_cst 0x7f3d60469f80 constant 0>
            bit offset <integer_cst 0x7f3d60469fe0 constant 0> context
<record_type 0x7f3d605e7d20 ARRAYS_ND_BASE> chain <field_decl 0x7f3d605d3e40
array>> context <translation_unit_decl 0x7f3d6047f170 D.1>
        full-name "ARRAY<float, VECTOR<int> >::BASE"
        X() X(constX&) this=(X&) n_parents=0 use_template=1 interface-unknown
        pointer_to_this <pointer_type 0x7f3d605f6540> reference_to_this
<reference_type 0x7f3d605f6888> chain <type_decl 0x7f3d605e9450
ARRAYS_ND_BASE>>
    ignored VOID file prog.cpp line 16 col 17
    align 1 context <record_type 0x7f3d605e7bd0 ARRAY> initial <field_decl
0x7f3d605d3da8 counts>
    chain <type_decl 0x7f3d605e9ac8 ARRAY>>
prog.cpp: In member function ‘void ARRAY<T, VECTOR<int> >::Resize() [with T =
float]’:
prog.cpp:17:20: internal compiler error: gimplification failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

COMPILER VERSION:

Using built-in specs.
COLLECT_GCC=/home/cas43/new-gcc/inst/bin/g++
COLLECT_LTO_WRAPPER=/home/cas43/new-gcc/inst/libexec/gcc/x86_64-unknown-linux-gnu/4.7.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../current-gcc/configure --prefix=/home/cas43/new-gcc/inst
Thread model: posix
gcc version 4.7.0 20111116 (experimental) (GCC)


             reply	other threads:[~2011-11-16  7:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-16  7:29 cas43 at cs dot stanford.edu [this message]
2011-11-16  7:44 ` [Bug c++/51154] " cas43 at cs dot stanford.edu
2011-11-16  8:15 ` cas43 at cs dot stanford.edu
2011-11-23  0:23 ` marc.glisse at normalesup dot org
2011-11-23  0:58 ` paolo.carlini at oracle dot com
2011-12-05 13:11 ` rguenth at gcc dot gnu.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-51154-4@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).