public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/63817] New: ICE in verify_gimple_in_cfg tree-cfg.c:5039 (arm)
@ 2014-11-11 15:45 joel at gcc dot gnu.org
  2014-11-11 15:57 ` [Bug tree-optimization/63817] " jiwang at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: joel at gcc dot gnu.org @ 2014-11-11 15:45 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 63817
           Summary: ICE in verify_gimple_in_cfg tree-cfg.c:5039 (arm)
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: joel at gcc dot gnu.org

Created attachment 33934
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33934&action=edit
Preprocessed newlib ecvtbuf.c which produces the ICE

gcc, binutils-gdb, newlib head. gcc git hash
662274eebc1318f5a70fdb362da74f7913fbf1ba

Fails on both arm-eabi and arm-rtems at -O1 and -O2. Compiles at -O0 w/-mthumb
and at -O2 w/o -mthumb

Configure (from top config.log) is based on RTEMS standard build configuration

../gcc/configure --prefix=/users/joel/test-gcc/install-head
--bindir=/users/joel/test-gcc/install-head/bin
--exec_prefix=/users/joel/test-gcc/install-head
--includedir=/users/joel/test-gcc/install-head/include
--libdir=/users/joel/test-gcc/install-head/lib
--libexecdir=/users/joel/test-gcc/install-head/libexec
--mandir=/users/joel/test-gcc/install-head/share/man
--infodir=/users/joel/test-gcc/install-head/share/info
--datadir=/users/joel/test-gcc/install-head/share --target=arm-eabi
--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
--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
--disable-lto --enable-newlib-io-c99-formats --enable-threads --disable-plugin
target_alias=arm-eabi --enable-languages=c,c++ --no-create --no-recursion

Shortened command and failure with attached preprocessed evctbuf.c from newlib:

/users/joel/test-gcc/b-arm-eabi-gcc/./gcc/xgcc
-B/users/joel/test-gcc/b-arm-eabi-gcc/./gcc/ -g -O2  -mthumb -c ecvtbuf.c 
In file included from ../../../../../../gcc/newlib/libc/stdlib/ecvtbuf.c:71:0:
/users/joel/test-gcc/gcc/newlib/libc/include/stdlib.h: In function 'fcvtbuf':
/users/joel/test-gcc/gcc/newlib/libc/include/stdlib.h:175:8: error: non-trivial
conversion at assignment
 char * _EXFUN(fcvtbuf,(double, int, int*, int*, char *));
        ^
sizetype
int
_64 = _37;
/users/joel/test-gcc/gcc/newlib/libc/include/stdlib.h:175:8: internal compiler
error: verify_gimple failed
0x9602d1 verify_gimple_in_cfg(function*, bool)
    ../../gcc/gcc/tree-cfg.c:5039
0x86fd06 execute_function_todo
    ../../gcc/gcc/passes.c:1868
0x870733 execute_todo
    ../../gcc/gcc/passes.c:1925
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.


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

end of thread, other threads:[~2014-11-13 12:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-11 15:45 [Bug tree-optimization/63817] New: ICE in verify_gimple_in_cfg tree-cfg.c:5039 (arm) joel at gcc dot gnu.org
2014-11-11 15:57 ` [Bug tree-optimization/63817] " jiwang at gcc dot gnu.org
2014-11-12  2:57 ` amker at gcc dot gnu.org
2014-11-12  5:09 ` amker at gcc dot gnu.org
2014-11-12 10:30 ` jbglaw@lug-owl.de
2014-11-13 12:53 ` jbglaw@lug-owl.de

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).