This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/86103] New: [9.0 Regression] ICE in in get_string_length, at tree-ssa-strlen.c:653


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

            Bug ID: 86103
           Summary: [9.0 Regression] ICE in 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: juergen.reuter at desy dot de
  Target Milestone: ---

Created attachment 44256
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44256&action=edit
Reproducer for the ICE.

I get an ICE in get_string_length, at tree-sea-strlen.c:653. Possibly a
duplicate of PR86089. The code that triggers the error is attached. r260633
still worked, r261388. The problem appears on Darwin17.6.0, High Sierra 10.13.5
with Xcode 9.4. 
The ICE error message is:
$ gcc -DPACKAGE_NAME=\"WHIZARD\" -DPACKAGE_TARNAME=\"whizard\"
-DPACKAGE_VERSION=\"2.6.4\" "-DPACKAGE_STRING=\"WHIZARD 2.6.4\""
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"whizard\"
-DVERSION=\"2.6.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1
-DLT_OBJDIR=\".libs/\" -DHAVE_QUADMATH_H=1 -DHAVE_DLFCN_H=1 -I. -I../../mcfio
-g -O2 -MT mcf_ntuBldDbinc.lo -MD -MP -MF .deps/mcf_ntuBldDbinc.Tpo -c
mcf_ntuBldDbinc.c  -fno-common -DPIC -o .libs/mcf_ntuBldDbinc.o
during GIMPLE pass: strlen
mcf_ntuBldDbinc.c: In function 'mcf_ntubldRead':
mcf_ntuBldDbinc.c:475:6: internal compiler error: in get_string_length, at
tree-ssa-strlen.c:653
 void mcf_ntubldRead(char* fname)
      ^~~~~~~~~~~~~~
libbacktrace could not find executable to open

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]