From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 96D0B382E819; Tue, 9 Mar 2021 16:29:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 96D0B382E819 From: "raj.khem at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/99489] New: internal compiler error: during GIMPLE pass: strlen in dlt_logstorage_log_file_name() Date: Tue, 09 Mar 2021 16:29:57 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: raj.khem at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: 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 target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Mar 2021 16:29:57 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D99489 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=3D50339&action=3Dedit 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= *, range_query*) ???:0 0xd65005 strlen_dom_walker::before_dom_children(basic_block_def*) ???:0 0x14e02f7 dom_walker::walk(basic_block_def*) ???:0=