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

            Bug ID: 86089
           Summary: ICE in get_string_length, at tree-ssa-strlen.c:653
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: mario-baumann at web dot de
  Target Milestone: ---

Created attachment 44251
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44251&action=edit
c-source

Hi, attached code fails with:

> /Gcc/9.0.0/bin/gcc -m64 -O2 -c hoo.c
during GIMPLE pass: strlen
hoo.c: In function 'hoo':
hoo.c:3:6: internal compiler error: in get_string_length, at
tree-ssa-strlen.c:653
 void hoo (char* in)
      ^~~
libbacktrace could not find executable to open

> compilation with -01 works fine

> /Gcc/9.0.0/bin/gcc -v
Using built-in specs.
COLLECT_GCC=/Gcc/9.0.0/bin/gcc
COLLECT_LTO_WRAPPER=/Gcc/9.0.0/libexec/gcc/x86_64-apple-darwin17/9.0.0/lto-wrapper
Target: x86_64-apple-darwin17
Configured with: /Gcc/9.0.0/.src/configure --prefix=/Gcc/9.0.0
--build=x86_64-apple-darwin17 --enable-languages=c,c++,fortran --enable-lto
--enable-stage1-checking --enable-libstdcxx-time --disable-nls
--disable-libquadmath --disable-libquadmath-support --with-ld=/opt/local/bin/ld
--with-ar=/opt/local/bin/ar --with-as=/opt/local/bin/as --with-system-zlib
--with-pkgversion=svn-revision-261305
Thread model: posix
gcc version 9.0.0 20180608 (experimental) (svn-revision-261305)

Reply via email to