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

            Bug ID: 99489
           Summary: internal compiler error: during GIMPLE pass: strlen in
                    dlt_logstorage_log_file_name()
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: raj.khem at gmail dot com
  Target Milestone: ---

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

Attached test is causing ICE on aarch64 targets


aarch64-yoe-linux-musl-gcc -O2 -c dlt_offline_logstorage_behavior.i
during GIMPLE pass: strlen
/mnt/b/yoe/master/build/tmp/work/cortexa72-yoe-linux-musl/dlt-daemon/2.18.6-r0/git/src/offlinelogstorage/dlt_offline_logstorage_behavior.c:
In function 'dlt_logstorage_log_file_name.part.0':
/mnt/b/yoe/master/build/tmp/work/cortexa72-yoe-linux-musl/dlt-daemon/2.18.6-r0/git/src/offlinelogstorage/dlt_offline_logstorage_behavior.c:54:6:
internal compiler error: Segmentation fault
   54 | void dlt_logstorage_log_file_name(char *log_file_name,
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
0x1669eb8 internal_error(char const*, ...)
        ???:0
0x679c22 private_lookup_attribute(char const*, unsigned long, tree_node*)
        ???:0
0x77a73f gimple_call_alloc_size(gimple*, generic_wide_int<wide_int_storage>*,
range_query*)
        ???:0
0xd65005 strlen_dom_walker::before_dom_children(basic_block_def*)
        ???:0
0x14e02f7 dom_walker::walk(basic_block_def*)
        ???:0

Reply via email to