public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/50851] New: ICE: verify_ssa failed, definition in block x does not dominate use in block y with -O2
@ 2011-10-24 12:29 cas43 at cs dot stanford.edu
  2011-10-24 13:49 ` [Bug c++/50851] " paolo.carlini at oracle dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: cas43 at cs dot stanford.edu @ 2011-10-24 12:29 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 50851
           Summary: ICE: verify_ssa failed, definition in block x does not
                    dominate use in block y with -O2
    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 25591
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25591
Source file causing ICE

Compilation of the attached file with -O2 causes ICE.

Compiler output:

prog.cpp: In member function ‘void
ANGLE_JOINT<TV>::Constrain_Angles(VECTOR<float>&) const [with TV = int]’:
prog.cpp:7:10: error: definition in block 5 does not dominate use in block 3
for SSA_NAME: .MEM_12 in statement:
.MEM_12 = PHI <.MEM_8(D)(2), .MEM_12(3)>
PHI argument
.MEM_12
for PHI node
.MEM_12 = PHI <.MEM_8(D)(2), .MEM_12(3)>
prog.cpp:7:10: internal compiler error: verify_ssa failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

How to reproduce: /home/cas43/new-gcc/inst/bin/g++ prog.cpp -O2

Compiler version:

/home/cas43/new-gcc/inst/bin/g++ -v
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 20111024 (experimental) (GCC)


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

end of thread, other threads:[~2011-10-27  9:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-24 12:29 [Bug c++/50851] New: ICE: verify_ssa failed, definition in block x does not dominate use in block y with -O2 cas43 at cs dot stanford.edu
2011-10-24 13:49 ` [Bug c++/50851] " paolo.carlini at oracle dot com
2011-10-24 13:53 ` [Bug tree-optimization/50851] [4.7 Regression] " rguenth at gcc dot gnu.org
2011-10-27  7:34 ` vries at gcc dot gnu.org
2011-10-27  9:06 ` vries at gcc dot gnu.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).