public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "michael.hope at linaro dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/51068] New: 4.7 Regression] ARM bootstrap failure due to ICE in rtl_verify_flow_info_1 at cfgrtl.c:2001
Date: Wed, 09 Nov 2011 20:23:00 -0000	[thread overview]
Message-ID: <bug-51068-4@http.gcc.gnu.org/bugzilla/> (raw)

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

             Bug #: 51068
           Summary: 4.7 Regression] ARM bootstrap failure due to ICE in
                    rtl_verify_flow_info_1 at cfgrtl.c:2001
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: michael.hope@linaro.org


trunk r181189 fails during stage1-target-libstdc++-v3 with the following error:

libtool: compile: 
"/scratch/cbuild/slave/slaves/tcpanda01/gcc-4.7~svn181189/gcc/default/build/./gcc/xgcc"
-shared-libgcc
"-B/scratch/cbuild/slave/slaves/tcpanda01/gcc-4.7~svn181189/gcc/default/build/./gcc"
-nostdinc++
"-L/scratch/cbuild/slave/slaves/tcpanda01/gcc-4.7~svn181189/gcc/default/build/armv7l-unknown-linux-gnueabi/libstdc++-v3/src"
"-L/scratch/cbuild/slave/slaves/tcpanda01/gcc-4.7~svn181189/gcc/default/build/armv7l-unknown-linux-gnueabi/libstdc++-v3/src/.libs"
"-B/scratch/cbuild/slave/slaves/tcpanda01/gcc-4.7~svn181189/gcc/default/install/armv7l-unknown-linux-gnueabi/bin/"
"-B/scratch/cbuild/slave/slaves/tcpanda01/gcc-4.7~svn181189/gcc/default/install/armv7l-unknown-linux-gnueabi/lib/"
-isystem
"/scratch/cbuild/slave/slaves/tcpanda01/gcc-4.7~svn181189/gcc/default/install/armv7l-unknown-linux-gnueabi/include"
-isystem
"/scratch/cbuild/slave/slaves/tcpanda01/gcc-4.7~svn181189/gcc/default/install/armv7l-unknown-linux-gnueabi/sys-include"
"-I/scratch/cbuild/slave/slaves/tcpanda01/gcc-4.7~svn181189/gcc/gcc-4.7~/libstdc++-v3/../libgcc"
"-I/scratch/cbuild/slave/slaves/tcpanda01/gcc-4.7~svn181189/gcc/default/build/armv7l-unknown-linux-gnueabi/libstdc++-v3/include/armv7l-unknown-linux-gnueabi"
"-I/scratch/cbuild/slave/slaves/tcpanda01/gcc-4.7~svn181189/gcc/default/build/armv7l-unknown-linux-gnueabi/libstdc++-v3/include"
"-I/scratch/cbuild/slave/slaves/tcpanda01/gcc-4.7~svn181189/gcc/gcc-4.7~/libstdc++-v3/libsupc++"
-fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual
-fdiagnostics-show-location=once -ffunction-sections -fdata-sections
-frandom-seed=new_opvnt.lo -g -O2 -D_GNU_SOURCE -c
"../../../../../gcc-4.7~/libstdc++-v3/libsupc++/new_opvnt.cc"  -fPIC -DPIC -o
new_opvnt.o

../../../../../gcc-4.7~/libstdc++-v3/libsupc++/new_opv.cc: In function 'void*
operator new [](std::size_t)':
../../../../../gcc-4.7~/libstdc++-v3/libsupc++/new_opv.cc:34:1: error: missing
REG_EH_REGION note in the end of bb 2
../../../../../gcc-4.7~/libstdc++-v3/libsupc++/new_opv.cc:34:1: error: call
edges for non-call insn in bb 2
../../../../../gcc-4.7~/libstdc++-v3/libsupc++/new_opv.cc:34:1: error: in basic
block 2:
../../../../../gcc-4.7~/libstdc++-v3/libsupc++/new_opv.cc:34:1: error: flow
control insn inside a basic block
(call_insn 7 3 63 2 (parallel [
            (set (reg:SI 0 r0)
                (call (mem:SI (symbol_ref:SI ("_Znwj") [flags 0x41]
<function_decl 0x2ae54280 operator new>) [0 operator new S4 A32])
                    (const_int 0 [0])))
            (use (const_int 0 [0]))
            (clobber (reg:SI 14 lr))
        ]) ../../../../../gcc-4.7~/libstdc++-v3/libsupc++/new_opv.cc:33 248
{*call_value_symbol}
     (expr_list:REG_EH_REGION (const_int 1 [0x1])
        (nil))
    (expr_list:REG_CFA_WINDOW_SAVE (use (reg:SI 0 r0))
        (nil)))
../../../../../gcc-4.7~/libstdc++-v3/libsupc++/new_opv.cc:34:1: internal
compiler error: in rtl_verify_flow_info_1, at cfgrtl.c:2001

This happens on ARM in an ARMv5 configuration and Cortex-A9 configuration.

The full build log is here:

http://builds.linaro.org/toolchain/gcc-4.7~svn181189/logs/armv7l-natty-cbuild205-tcpanda01-cortexa9r1/gcc-build.txt

The Cortex-A9 configure flags are:

--prefix=/scratch/cbuild/slave/slaves/tcpanda04/gcc-4.7~svn180460/gcc/default/install
--enable-languages=c,c++,objc,obj-c++,fortran,lto --with-mode=thumb
--with-arch=armv7-a --with-tune=cortex-a9 --with-float=softfp --with-fpu=neon

More information about the host is here:

http://builds.linaro.org/toolchain/gcc-4.7~svn181189/logs/armv7l-natty-cbuild205-tcpanda01-cortexa9r1/host.txt

r181070 was OK so the problem has occurred since then.


             reply	other threads:[~2011-11-09 20:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-09 20:23 michael.hope at linaro dot org [this message]
2011-11-10 11:15 ` [Bug bootstrap/51068] [4.7 " rguenth at gcc dot gnu.org
2011-11-14 14:51 ` ramana at gcc dot gnu.org
2011-11-14 15:24 ` ramana 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-51068-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).