public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/63680] New: ice
@ 2014-10-29 16:57 marco.morandini at polimi dot it
  2014-10-30 10:09 ` [Bug middle-end/63680] ice rguenth at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: marco.morandini at polimi dot it @ 2014-10-29 16:57 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63680

            Bug ID: 63680
           Summary: ice
           Product: gcc
           Version: 4.9.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marco.morandini at polimi dot it

Created attachment 33845
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33845&action=edit
reduced testcase

g++ version:

marco@pao:~/Mbdyn/mbdyn.cvs> g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/home/marco/local/gcc-4.9.1/lib/gcc/x86_64-unknown-linux-gnu/4.9.1/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../configure --prefix=/home/marco/local/gcc-4.9.1
--enable-checking=release --enable-__cxa_atexit
--enable-libstdcxx-allocator=new --enable-linux-futex --enable-lto
--with-arch=native --enable-threads=posix --with-ppl --with-cloog
--enable-languages=c,c++,fortran,lto
Thread model: posix
gcc version 4.9.1 (GCC) 

------------------

ice message:

marco@pao:~/TTT/GccTestcaseReduction> g++ -c RulesDirective.ii
RulesDirective.ii: In function ‘void processLabels()’:
RulesDirective.ii:7:6: internal compiler error: Segmentation fault
 void processLabels() {
      ^
0x9aca5f crash_signal
        ../../gcc/toplev.c:337
0x8583ea get_class_context
        ../../gcc/ipa-devirt.c:997
0x8593fd contains_type_p
        ../../gcc/ipa-devirt.c:1012
0x8593fd get_polymorphic_call_info(tree_node*, tree_node*, tree_node**, long*,
ipa_polymorphic_call_context*)
        ../../gcc/ipa-devirt.c:1227
0x73669f cgraph_create_indirect_edge(cgraph_node*, gimple_statement_base*, int,
long, int)
        ../../gcc/cgraph.c:976
0x737cd3 build_cgraph_edges
        ../../gcc/cgraphbuild.c:343
0x737cd3 execute
        ../../gcc/cgraphbuild.c:409
>From gcc-bugs-return-465231-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 29 16:57:31 2014
Return-Path: <gcc-bugs-return-465231-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 32294 invoked by alias); 29 Oct 2014 16:57:31 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 32252 invoked by uid 48); 29 Oct 2014 16:57:25 -0000
From: "joel at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libgcc/63681] New: bfin-rtems ICE in cfg_layout_initialize, at cfgrtl.c:4233
Date: Wed, 29 Oct 2014 17:13:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libgcc
X-Bugzilla-Version: 4.9.2
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: joel at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter
Message-ID: <bug-63681-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-10/txt/msg02252.txt.bz2
Content-length: 3969

https://gcc.gnu.org/bugzilla/show_bug.cgi?idc681

            Bug ID: 63681
           Summary: bfin-rtems ICE in cfg_layout_initialize, at
                    cfgrtl.c:4233
           Product: gcc
           Version: 4.9.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libgcc
          Assignee: unassigned at gcc dot gnu.org
          Reporter: joel at gcc dot gnu.org

git 4.9 branch with last commit 1d2b7cdfcb9376a6ee98964b11cf73fe14154e13
newlib head

Configure command (lots of newlib options)

 ../${GCC}/configure \
 --prefix=${PREFIX} \
 --bindir=${PREFIX}/bin \
 --exec_prefix=${PREFIX} \
 --includedir=${PREFIX}/include \
 --libdir=${PREFIX}/lib \
 --libexecdir=${PREFIX}/libexec \
 --mandir=${PREFIX}/share/man \
 --infodir=${PREFIX}/share/info \
 --datadir=${PREFIX}/share \
 --target=${TARGET} \
 ${sjlj} \
 --disable-libstdcxx-pch \
 --with-gnu-as --with-gnu-ld --verbose \
 --with-newlib \
 --with-system-zlib \
 --disable-nls --without-included-gettext \
 --disable-win32-registry \
 --enable-version-specific-runtime-libs \
 --disable-lto \
 --enable-newlib-io-c99-formats \
 --enable-newlib-iconv \
 --enable-newlib-iconv-encodings=big5,cp775,cp850,cp852,cp855,\
cp866,euc_jp,euc_kr,euc_tw,iso_8859_1,iso_8859_10,iso_8859_11,\
iso_8859_13,iso_8859_14,iso_8859_15,iso_8859_2,iso_8859_3,\
iso_8859_4,iso_8859_5,iso_8859_6,iso_8859_7,iso_8859_8,iso_8859_9,\
iso_ir_111,koi8_r,koi8_ru,koi8_u,koi8_uni,ucs_2,ucs_2_internal,\
ucs_2be,ucs_2le,ucs_4,ucs_4_internal,ucs_4be,ucs_4le,us_ascii,\
utf_16,utf_16be,utf_16le,utf_8,win_1250,win_1251,win_1252,\
win_1253,win_1254,win_1255,win_1256,win_1257,win_1258 \
 --enable-threads \
 --disable-plugin \
 --enable-languages="c,c++"

The build fails in libgcc with this. Should be easy to reproduce:

/users/joel/test-gcc/b-bfin-rtems4.11-gcc/./gcc/xgcc
-B/users/joel/test-gcc/b-bfin-rtems4.11-gcc/./gcc/ -nostdinc
-B/users/joel/test-gcc/b-bfin-rtems4.11-gcc/bfin-rtems4.11/newlib/ -isystem
/users/joel/test-gcc/b-bfin-rtems4.11-gcc/bfin-rtems4.11/newlib/targ-include
-isystem /users/joel/test-gcc/gcc/newlib/libc/include
-B/users/joel/test-gcc/install-head/bfin-rtems4.11/bin/
-B/users/joel/test-gcc/install-head/bfin-rtems4.11/lib/ -isystem
/users/joel/test-gcc/install-head/bfin-rtems4.11/include -isystem
/users/joel/test-gcc/install-head/bfin-rtems4.11/sys-include    -g -O2 -O2
-I../../../gcc/libgcc/../newlib/libc/sys/rtems/include -g -O2 -DIN_GCC
-DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-isystem ./include   -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector
-Dinhibit_libc  -I. -I. -I../.././gcc -I../../../gcc/libgcc
-I../../../gcc/libgcc/. -I../../../gcc/libgcc/../gcc
-I../../../gcc/libgcc/../include  -DHAVE_CC_TLS -DUSE_EMUTLS -o _div_sf.o -MT
_div_sf.o -MD -MP -MF _div_sf.dep -DFINE_GRAINED_LIBRARIES -DL_div_sf -DFLOAT
-c ../../../gcc/libgcc/fp-bit.c -fvisibility=hidden -DHIDE_EXPORTS
../../../gcc/libgcc/fp-bit.c: In function '__divsf3':
../../../gcc/libgcc/fp-bit.c:1082:1: internal compiler error: in
cfg_layout_initialize, at cfgrtl.c:4233
 }
 ^
0x4f030a cfg_layout_initialize(unsigned int)
    ../../gcc/gcc/cfgrtl.c:4233
0x9b9be1 reorder_loops
    ../../gcc/gcc/hw-doloop.c:500
0x9b9be1 reorg_loops(bool, hw_doloop_hooks*)
    ../../gcc/gcc/hw-doloop.c:641
0x938e85 bfin_reorg_loops
    ../../gcc/gcc/config/bfin/bfin.c:3888
0x938e85 bfin_reorg
    ../../gcc/gcc/config/bfin/bfin.c:4630
0x710bc9 rest_of_handle_machine_reorg
    ../../gcc/gcc/reorg.c:3936
0x710bc9 execute
    ../../gcc/gcc/reorg.c:3966
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[2]: *** [_div_sf.o] Error 1
make[2]: Leaving directory
`/users/joel/test-gcc/b-bfin-rtems4.11-gcc/bfin-rtems4.11/libgcc'
ma


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

* [Bug middle-end/63680] ice
  2014-10-29 16:57 [Bug c++/63680] New: ice marco.morandini at polimi dot it
@ 2014-10-30 10:09 ` rguenth at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-10-30 10:09 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63680

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
If 4.9.2 works then this is fixed.


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

end of thread, other threads:[~2014-10-30 10:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-29 16:57 [Bug c++/63680] New: ice marco.morandini at polimi dot it
2014-10-30 10:09 ` [Bug middle-end/63680] ice rguenth 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).